What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Monk- Sweeping wind spam/Breath of Heaven Spam Need help

ZinisterZ

Member
Joined
Jul 17, 2012
Messages
50
Reaction score
0
Hello DB hope the 2.1 has been kind to you so far :)


Anyway im looking for help to get my monk to spam sweeping wind when 2-3 monsters are within range (range around 10-15 Yards )

Also i need help so that my monk uses breath of heaven with 2-3 monsters within range and its off CD

Ive been searching for plugins that could change the current Monk Trinity settings or Code :)


I hope someone here can help me out :)


/Regards Zin
 
Not yet it seems , im currently using wave of light instead and conviction mantra is works fine , but rly want this to work :)
 
Changed the Monkcombat.cs under plugins> trinity > combat > abilities

Code:
if ((Player.PrimaryResource >= 75 || (Settings.Combat.Monk.HasInnaSet && Player.PrimaryResource >= 5)) &&
                CombatBase.CanCast(SNOPower.Monk_SweepingWind, CombatBase.CanCastFlags.NoTimer) && GetHasBuff(SNOPower.Monk_SweepingWind) &&
                DateTime.UtcNow.Subtract(Trinity.SweepWindSpam).TotalMilliseconds >= 4000 && DateTime.UtcNow.Subtract(Trinity.SweepWindSpam).TotalMilliseconds <= 5400)

Changed it to:
Code:
            if ((Player.PrimaryResource >= 75 || (Settings.Combat.Monk.HasInnaSet && Player.PrimaryResource >= 5)) &&
                CombatBase.CanCast(SNOPower.Monk_SweepingWind, CombatBase.CanCastFlags.NoTimer) && GetHasBuff(SNOPower.Monk_SweepingWind) )

Now spams, SW when >75 spirit to destroy mobs with my sunwoko set boonus.
Hope this helps you also.

Just be mindful, the bot will spam it when running and no mobs around etc and your spirit is over 75 - i dont care/bothered by it as it keeps the buff up either way;
Its not perfect, but its working for me so i dont care :)
 
This logic would probably be best for SWK set if anybody could write it.

If in combat
{
If SW is not up, use it.
If SW is up & Spirit => 50, use Mantra. Mantra has added benefits of Mantra activation over SW spam.
If SW is up & Spirit => 175, use SW. Uses SW to expend excess spirit that Mantra spam can't dump since it is limited by .5 gcd.
}
 
Last edited:
Changed the Monkcombat.cs under plugins> trinity > combat > abilities

Code:
if ((Player.PrimaryResource >= 75 || (Settings.Combat.Monk.HasInnaSet && Player.PrimaryResource >= 5)) &&
                CombatBase.CanCast(SNOPower.Monk_SweepingWind, CombatBase.CanCastFlags.NoTimer) && GetHasBuff(SNOPower.Monk_SweepingWind) &&
                DateTime.UtcNow.Subtract(Trinity.SweepWindSpam).TotalMilliseconds >= 4000 && DateTime.UtcNow.Subtract(Trinity.SweepWindSpam).TotalMilliseconds <= 5400)

Changed it to:
Code:
            if ((Player.PrimaryResource >= 75 || (Settings.Combat.Monk.HasInnaSet && Player.PrimaryResource >= 5)) &&
                CombatBase.CanCast(SNOPower.Monk_SweepingWind, CombatBase.CanCastFlags.NoTimer) && GetHasBuff(SNOPower.Monk_SweepingWind) )

Now spams, SW when >75 spirit to destroy mobs with my sunwoko set boonus.
Hope this helps you also.

Just be mindful, the bot will spam it when running and no mobs around etc and your spirit is over 75 - i dont care/bothered by it as it keeps the buff up either way;
Its not perfect, but its working for me so i dont care :)

Not working for me, if someone has a solution it will be nice =)
 
Here is my MonkCombat changed to spam , waits for buff expire if below 95% otherwise spams . Only added the healing and the dps aura.

Full MonkCombat.cs
Code:
http://pastebin.com/Tq3gJ38u


Or the following changes:

Begin of the file:
Code:
        private static int Sunwuko_SpiritSpam = 100;
        private static bool Sunwuko_Set = true;

and this after mantra healing logic
Code:
       // Use Mantra spam if have Sunwuko set
            if (Sunwuko_Set && CombatBase.CanCast(SNOPower.X1_Monk_MantraOfHealing_v2, CanCastFlags.NoTimer) && (Player.PrimaryResource > 130) &&  
               Player.CurrentHealthPct >= 0.95 && CurrentTarget != null )
            {
                 return new TrinityPower(SNOPower.X1_Monk_MantraOfHealing_v2);
            } else{
                if (Sunwuko_Set && CombatBase.CanCast(SNOPower.X1_Monk_MantraOfHealing_v2, CanCastFlags.NoTimer) && (Player.PrimaryResource > Sunwuko_SpiritSpam) &&  
                !GetHasBuff(SNOPower.X1_Monk_MantraOfHealing_v2) && CurrentTarget != null )
                {
                 return new TrinityPower(SNOPower.X1_Monk_MantraOfHealing_v2);
                }
            }
            
            if (Sunwuko_Set && CombatBase.CanCast(SNOPower.X1_Monk_MantraOfConviction_v2) && (Player.PrimaryResource > Sunwuko_SpiritSpam ) &&  
                !GetHasBuff(SNOPower.X1_Monk_MantraOfConviction_v2)  && CurrentTarget != null )
            {
                 return new TrinityPower(SNOPower.X1_Monk_MantraOfConviction_v2);
            }


// Edit: added pastebin for 2.1.3 trinity file edited
 
Last edited:
Well, i dunno now when i'm changing your codes DB won't show trinity in the menu.
 
// Edited previous post, the version i posted was for 2.0 trinity.
Now posted the 2.1.3 file edited should work with 2.1.4
 
Last edited:
It's working now, thx dude !
Edit: Do you know why it's not working with mantra of salvation?
 
Last edited:
Here is my MonkCombat changed to spam , waits for buff expire if below 95% otherwise spams . Only added the healing and the dps aura.

Full MonkCombat.cs
Code:
http://pastebin.com/Tq3gJ38u


Or the following changes:

Begin of the file:
Code:
        private static int Sunwuko_SpiritSpam = 100;
        private static bool Sunwuko_Set = true;

and this after mantra healing logic
Code:
       // Use Mantra spam if have Sunwuko set
            if (Sunwuko_Set && CombatBase.CanCast(SNOPower.X1_Monk_MantraOfHealing_v2, CanCastFlags.NoTimer) && (Player.PrimaryResource > 130) &&  
               Player.CurrentHealthPct >= 0.95 && CurrentTarget != null )
            {
                 return new TrinityPower(SNOPower.X1_Monk_MantraOfHealing_v2);
            } else{
                if (Sunwuko_Set && CombatBase.CanCast(SNOPower.X1_Monk_MantraOfHealing_v2, CanCastFlags.NoTimer) && (Player.PrimaryResource > Sunwuko_SpiritSpam) &&  
                !GetHasBuff(SNOPower.X1_Monk_MantraOfHealing_v2) && CurrentTarget != null )
                {
                 return new TrinityPower(SNOPower.X1_Monk_MantraOfHealing_v2);
                }
            }
            
            if (Sunwuko_Set && CombatBase.CanCast(SNOPower.X1_Monk_MantraOfConviction_v2) && (Player.PrimaryResource > Sunwuko_SpiritSpam ) &&  
                !GetHasBuff(SNOPower.X1_Monk_MantraOfConviction_v2)  && CurrentTarget != null )
            {
                 return new TrinityPower(SNOPower.X1_Monk_MantraOfConviction_v2);
            }


// Edit: added pastebin for 2.1.3 trinity file edited

Hey! Tried this today, seem to work somewhat decent. But it appears it does not spam breath of heaven as soon as it is of cooldown, nor does it spam Epiphany of cooldown. Reduces your spirit regen quite heavily :(
 
Those things are easy to add the problem is i'm not sure what is the 100% right gameplay way.

I can make checks in the file to do those things, but some persons will prefer to use those spells when low HP instead.

About mantra of salvation, i only added X1_Monk_MantraOfConviction_v2 and X1_Monk_MantraOfHealing_v2 just dump the skill name and add it like that function.

Will do some changes later.

Cheers.
 
Those things are easy to add the problem is i'm not sure what is the 100% right gameplay way.

I can make checks in the file to do those things, but some persons will prefer to use those spells when low HP instead.

About mantra of salvation, i only added X1_Monk_MantraOfConviction_v2 and X1_Monk_MantraOfHealing_v2 just dump the skill name and add it like that function.

Will do some changes later.

Cheers.

G37+ The Strongest 2.1 Monk Build (Quin69) - Monk - Diablo III Builds - Diablo Fans

You run a Eye of Peshkov and that allows you to have a 100% uptime of Breath of Heaven (Infusion of Light), thus it should be spammed whenever it is of cooldown. I tried modifying a few values I thought seemed to allow it to spam constantly. Such as "if (!UseOOCBuff && (Player.CurrentHealthPct <= 0.6" to 1 instead of 0.6. I'm no programmer, far from it. I don't understand it at all. To say the least it did not work :P
 
Lazy here, just swapped epiphany with wave of light. Since I'm using peshkov and holy light, always full on resource and need a dump thats also an aoe utilized correctly by DB. In higher rifts, this works better than sw/mantra spam because you're getting bonus damage and not just refreshing skills.
 
Eye of Peshkov CD for breath of heaven.
Code:
            // Breath of Heaven when needing healing or the buff
            if (!UseOOCBuff && (Player.CurrentHealthPct <= 0.99 || !GetHasBuff(SNOPower.Monk_BreathOfHeaven)) && CombatBase.CanCast(SNOPower.Monk_BreathOfHeaven) &&
                (Player.PrimaryResource <= 35 || (!CombatBase.CanCast(SNOPower.Monk_Serenity) && Player.PrimaryResource <= 25)))
            {
                return new TrinityPower(SNOPower.Monk_BreathOfHeaven, 0f, Vector3.Zero, Trinity.CurrentWorldDynamicId, -1, 1, 1);
            }

            // Breath of Heaven for spirit - Infused with Light
            if (!UseOOCBuff && !Player.IsIncapacitated && CombatBase.CanCast(SNOPower.Monk_BreathOfHeaven) && !GetHasBuff(SNOPower.Monk_BreathOfHeaven) && Runes.Monk.InfusedWithLight.IsActive && Player.PrimaryResourcePct < 0.90)
            {
                return new TrinityPower(SNOPower.Monk_BreathOfHeaven, 0f, Vector3.Zero, Trinity.CurrentWorldDynamicId, -1, 1, 1);
            }

it will cast based on your total CD including helm change it onto tvars.cs file or open trinity > advance and set it there. mines is at 3.3 CD and it spams it regardless of trash/elite/boss
 
Eye of Peshkov CD for breath of heaven.
Code:
            // Breath of Heaven when needing healing or the buff
            if (!UseOOCBuff && (Player.CurrentHealthPct <= 0.99 || !GetHasBuff(SNOPower.Monk_BreathOfHeaven)) && CombatBase.CanCast(SNOPower.Monk_BreathOfHeaven) &&
                (Player.PrimaryResource <= 35 || (!CombatBase.CanCast(SNOPower.Monk_Serenity) && Player.PrimaryResource <= 25)))
            {
                return new TrinityPower(SNOPower.Monk_BreathOfHeaven, 0f, Vector3.Zero, Trinity.CurrentWorldDynamicId, -1, 1, 1);
            }

            // Breath of Heaven for spirit - Infused with Light
            if (!UseOOCBuff && !Player.IsIncapacitated && CombatBase.CanCast(SNOPower.Monk_BreathOfHeaven) && !GetHasBuff(SNOPower.Monk_BreathOfHeaven) && Runes.Monk.InfusedWithLight.IsActive && Player.PrimaryResourcePct < 0.90)
            {
                return new TrinityPower(SNOPower.Monk_BreathOfHeaven, 0f, Vector3.Zero, Trinity.CurrentWorldDynamicId, -1, 1, 1);
            }

it will cast based on your total CD including helm change it onto tvars.cs file or open trinity > advance and set it there. mines is at 3.3 CD and it spams it regardless of trash/elite/boss

Thanks. Also found the advanced variable thing (I'm new to DB). So I've got it sorted. But I'll implement this code and try it out too.
 
Back
Top