$client->InterruptSpell($spell_id) not stopping spells?
Hello All,
I've run into an issue where $client->InterruptSpell($spell_id) inside of EVENT_CAST or EVENT_CAST_BEGIN does nothing when the spell is cast from an item or from spellbar. The spell is non-instant, cast time of 3 seconds (through item) or spellbar, but it does not stop. I get the interrupted message, but the casting continues until completion. Any ideas? -Hate EDIT: Examples Code:
sub EVENT_CAST_BEGIN |
Update: $client->Duck() is a ghetto workaround.
-Hate |
Just add a blocked_spells entry for all these spells or something.
|
Quote:
Even so, does anyone else have experience with it work/not-working? :-) -Hate |
As another option, you could just have a blank spell that triggers a quest script. Then you can check for the zone or whatever you want before even allowing the spell to trigger.
|
$client->Stun(1)
|
Quote:
-Hate |
Code:
sub EVENT_CAST_BEGIN { |
All times are GMT -4. The time now is 01:46 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.