This shaman mac was exactly what I needed for boxing my group, but the other day, it just stopped working! It hangs up at the begining of the slowloop2, it will cast malo and assist properly, but after the malo spell, it will echo attempting to slow, but then just target the MA and do nothing? I've been racking my brain, and am ready to solve the problem with a bullet to my head - unless someone can make me feel dumb and help me out.
PHP:
#include spell_routines.inc
#event exp "#*#experience#*#"
#event champ "#*#Champion spell has worn off of#*#"
#event haste "#*#Celerity spell has worn off of#*#"
Sub Main
/declare M_Assist string outer ${Target.CleanName}
/declare SlowSpell string outer "Turgur's Insects"
/declare Slowed int outer 0
/declare M_Assist_ID int outer ${Target.ID}
/declare Malos int outer 0
/declare MaloSpell string outer "Malos"
:Start
/doevents
/target ${M_Assist}
/if (!${Target.ID}) /goto :Start
/call Malo_Loop
/call Slow_Loop
/goto :Start
/return
Sub Malo_Loop
/if (!${Target.ID}) /return
/if (${Malos} == 1) /return
/assist ${M_Assist}
/delay 5
/if (${Target.Type.Equal[PC]}) /return
/if (${Target.Type.Equal[Corpse]}) {
/squelch /target clear
/return
}
/if (!${Target.LineOfSight} || ${Target.Type.Equal[PC]}) /return
/if (${Target.Distance}>=200) /return
/pet attack
:MaloLoop2
/if (${Malos}==0) /call cast ${MaloSpell}
/if (${Malos}==0) /if (${Macro.Return.Equal["CAST_INTERRUPTED"]}) {
/delay 8s
/goto :MaloLoop2
}
/if (${Malos}==0) /if (${Macro.Return.Equal["CAST_RESISTED"]}) {
/g ***${Target.CleanName} RESISTED ${MaloSpell}! Trying again ASAP
/delay 8s
/return
}
/if (${Malos}==0) /if (${Macro.Return.Equal["CAST_SUCCESS"]}) {
/varset Malos 1
/return
}
/return
Sub Slow_Loop
/if (!${Target.ID}) /return
/if (${Slowed} == 1) /return
/if (${Malos} == 0) /return
/if (${Target.Type.Equal[Corpse]}) {
/squelch /target clear
/return
}
/if (!${Target.LineOfSight} || ${Target.Type.Equal[PC]}) /return
/g ***Slowing ${Target.CleanName}***
:SlowLoop2
/call cast "Turgur's Insects"
/if (${Macro.Return.Equal["CAST_INTERRUPTED"]}) {
/delay 3s
/goto :SlowLoop2
}
/if (${Macro.Return.Equal["CAST_RESISTED"]}) {
/g ***${Target.CleanName} RESISTED Slow! Trying again ASAP
/delay 8s
/return
}
/if (${Macro.Return.Equal["CAST_IMMUNE"]}) {
/g ***${Target.CleanName} Is IMMUNE To Slow!***
/varset Slowed 1
/return
}
/if (${Macro.Return.Equal["CAST_SUCCESS"]}) {
/varset Slowed 1
/call cast "Cripple"
/call cast "Blood of Yoppa"
/call cast "Ancienct: Ancestral Calling"
/target ${Me}
/return
}
/return
sub event_exp
/varset Slowed 0
/varset Malos 0
/varset Crippled 0
/aa act Cannibalization
/return
/if (!${Target.ID}) /goto :Start
sub event_champ
/target ${M_Assist}
/call cast "Champion"
/return
}
sub event_haste
/target ${M_Assist}
/call cast "Talisman of Celerity"
/return
}