Code: Select all
#Event maloresist "#*#Your target resisted the Malosinia spell.#*#"
Code: Select all
Sub Event_maloresist
/varset MaloCast 0
/call cast "Malosinia"
/echo Malosinia resisted, trying again
/return
Where do I flaw?
Moderator: MacroQuest Developers

Code: Select all
#Event maloresist "#*#Your target resisted the Malosinia spell.#*#"
Code: Select all
Sub Event_maloresist
/varset MaloCast 0
/call cast "Malosinia"
/echo Malosinia resisted, trying again
/return
Code: Select all
Sub Malo
/call cast "Malosinia"
/if (${Macro.Return.Equal["CAST_SUCCESS"]}) {
/echo ${Target.Name} maloed.
/return MALOED
} else /if (${Macro.Return.Equal["CAST_RESISTED"]}) {
/delay 2s
/call Malo
} else
/echo check malo logic
}
/return MALOED