gerardiablo
Member
- Joined
- Apr 20, 2014
- Messages
- 30
- Reaction score
- 0
what do i need to do so that my monk spams the mantra i have on the hotbar?
up
wantto ask the same thing
need a spam for mantra of healing![]()
Documents\DemonBuddy\Plugins\Trinity\Combat\Abilities\Monk.cs with notepad
!GetHasBuff(SNOPower.X1_Monk_MantraOfHealing_v2)
//Use Mantra of Healing active if health is low for shield.
/*if (CombatBase.CanCast(SNOPower.X1_Monk_MantraOfHealing_v2) && Player.CurrentHealthPct <= V.F("Monk.MantraOfHealing.UseHealthPct") &&
!Player.IsIncapacitated && !GetHasBuff(SNOPower.X1_Monk_MantraOfHealing_v2))*/
if (CombatBase.CanCast(SNOPower.X1_Monk_MantraOfHealing_v2) &&
(Player.PrimaryResource >= 50) && CurrentTarget != null)
{
return new TrinityPower(SNOPower.X1_Monk_MantraOfHealing_v2);
}
MonkCombat.cs
Mantra of Healing active if health
//Use Mantra of Healing active if health is low for shield.
if (CombatBase.CanCast(SNOPower.X1_Monk_MantraOfHealing_v2) &&
!Player.IsIncapacitated && CurrentTarget != null)
{
return new TrinityPower(SNOPower.X1_Monk_MantraOfHealing_v2);
}
Documents\Plugins\Trinity\Configuration\TVars.cs
SpellDelay.X1_Monk_MantraOfHealing_v2
if (CombatBase.CanCast(SNOPower.X1_Monk_MantraOfEvasion_v2, CombatBase.CanCastFlags.NoTimer) &&
(Player.PrimaryResource >= 50) && CurrentTarget != null)
{
return new TrinityPower(SNOPower.X1_Monk_MantraOfEvasion_v2);
}
use this. this will not wait for the 4 seconds active buff. it will repeatedly spam the mantra.
Code:if (CombatBase.CanCast(SNOPower.X1_Monk_MantraOfEvasion_v2, CombatBase.CanCastFlags.NoTimer) && (Player.PrimaryResource >= 50) && CurrentTarget != null) { return new TrinityPower(SNOPower.X1_Monk_MantraOfEvasion_v2); }
based on your delay set on TVars.cs you should be able to spam with this code. i set the delay 200ms