Moderator: MacroQuest Developers

Code: Select all
#Event MobGated "gates."
Code: Select all
Sub Event_MobGated
/declare mobhpcur local
/varset mobhpcur $target(hp,cur)
/keypress forward | stop moving forward
/attack off
/target $char(name,clean)
/call SneakHide | free evade, and I won't catch agro if I get popped on
:gatedoutofrange
/if (n $target(distance)>$calc($target(maxrange)*3) || $target==NULL) {
/delay 4 | wait some time interval
/if n @mobhpcur>$target(hp,cur) /return
/goto :gatedoutofrange
}
/return
Code: Select all
/face fast
Code: Select all
/face nolook fast
would lag have anything do with it?Cunning wrote:
As far as the enrage problem, I can't reproduce it. I tested it tonight and my attack went off fine. It's possible that I missed it in some loop. I'd need to see a copy of your custom.inc as well as a description of your character's behavior when the enraged event should have fired.
The zone event endmacro is a puzzle. I'm working on it and will try to get working in the next version.
Thanks for your input.
Code: Select all
Removed for Clarity sake