Moderator: MacroQuest Developers
Code: Select all
/call ClearReturnValue
Code: Select all
#event SpellLanded "Your Sharp Claw Ahlspiess flickers with a pale light."
#event SpellLanded "Your Rosrak's Boots of the Primal flickers with a pale light."
Code: Select all
/if "$return"=="FD_FAILED" /return "$return"
/doevents SpellLanded
/if "$return"=="NULL" /goto :StartCast
/return CAST_SUCCESS
Code: Select all
Sub Event_SpellLanded
|Basically lets you know for sure your spell hit the mob, no LoS without msg or too
|far out to get msg it hit. Called before after check so should mean success.
/return CAST_SUCCESS
Code: Select all
#Event CastResist "Your target resisted "Code: Select all
Your Sharp Claw Ahlspiess flickers with a pale light.Code: Select all
#event SpellLanded "flickers with a pale light."http://macroquest2.com/phpBB2/viewtopic.php?t=5373recker wrote:landing spells for sure is awsome, but could someone post some more code and explain a lil more im still lost on how that works even with all that. would love the help thanks
Actually his first issue (z-axis problems producing instantly ended casts) is really an issue with using focus effect messages to determine successful castdrax wrote:why do you have to add a line for each preservation item you have?
dont they all follow the same format?
and if so, you just need 1 event to catch them all.Code: Select all
Your Sharp Claw Ahlspiess flickers with a pale light.
Code: Select all
#event SpellLanded "flickers with a pale light."
Ah, not really.Gumby wrote:Actually his first issue (z-axis problems producing instantly ended casts) is really an issue with using focus effect messages to determine successful castdrax wrote:Code: Select all
#event SpellLanded "flickers with a pale light."
They trigger under those circumstances.