- Joined
- Jul 12, 2006
- Messages
- 8,528
- Reaction score
- 11
- Points
- 38
If people post asking for this and don't use the fucking search function from now on I hope they get a big black size 20 cock up the bung .
Pretty sure those are the easy terms to use to fiind what you want.
Make sure you have someone targeted. This might mess up if other buffs wear off besides HoT I am not sure not tested it. If it errors out please post the error line so I can get it fixed. This was a quick modification from another macro I wrote for someone else to be more general.
Pretty sure those are the easy terms to use to fiind what you want.
Make sure you have someone targeted. This might mess up if other buffs wear off besides HoT I am not sure not tested it. If it errors out please post the error line so I can get it fixed. This was a quick modification from another macro I wrote for someone else to be more general.
Code:
#turbo
#include Spell_routines.inc
#Event SpellWornOff "Your #1# spell has worn off of #2#."
Sub Main
/echo JimJohnson for President!
|PUT YOUR HEAL SPELL HERE!
/declare healSpell string outer YOURDIRECTHEALSPELLHERE
/declare healPCT int outer 30
|PUT YOUR HEAL OVER TIME SPELL HERE!
/declare hotSpell string outer YOURHEALOVERTIMESPELLHERE
/declare hotPCT int outer 80
/declare HoT bool outer FALSE
:loop
/if (${Target.PctHPs}<${healPCT} && ${Target.ID} && ${Me.SpellReady[${healSpell}]}) /call cast "${healSpell}" gem1 10s
/if (!${Me.Casting.ID} && ${Me.SpellReady[${hotSpell}]} && ${Target.ID} && ${Target.PctHPs}<${healPCT} && ${Target.PctHPs}>${hotPCT} && !${HoT}) {
/call cast "${hotSpell}" gem4 10s
/varset HoT TRUE
}
/doevents
/goto :loop
/return
Sub Event_SpellWornOff(string Line, string SpellName, string OnWho)
/varset HoT FALSE
/return