[DiscordArchive] Is the BoxCoded functionality in Gossip_Menu_Option implemented/supported in Smart scripts (yet)? Ca
[DiscordArchive] Is the BoxCoded functionality in Gossip_Menu_Option implemented/supported in Smart scripts (yet)? Ca
Archived author: Goatrek • Posted: 2024-11-26T13:52:17.894000+00:00
Original source
Is the BoxCoded functionality in Gossip_Menu_Option implemented/supported in Smart scripts (yet)? Cant find anything referring to it. Such a cool feature so its a damn shame if it isnt.
If not, anyone happen to have a script that implements this function they'd be willing to share?
Archived author: Jerry • Posted: 2024-11-26T13:55:02.557000+00:00
Original source
you could make a list with Trinity::AnyUnfriendlyUnitInObjectRangeCheck then loop over that list to check if they're casting, get the current spell with GetCurrentSpell(), check if the target is the Vanish caster and use Unit::InterruptSpell
Archived author: Piggymorph • Posted: 2024-11-26T13:57:12.841000+00:00
Original source
I am already doing that, that will however interrupt spells that are currently being cast.
What I'm trying to fix is evading a frostbolt that has already been cast and in mid-air flying towards you.
Archived author: Jerry • Posted: 2024-11-26T14:00:01.005000+00:00
Original source
ah I misread
reprocessSpellHit and check if the target is still visible and has the vanish aura
Archived author: Jerry • Posted: 2024-11-26T14:02:41.628000+00:00
Original source
you could do that in Spell:
reprocessSpellHit and check if the target is still visible and has the vanish aura
Archived author: Piggymorph • Posted: 2024-11-26T14:03:03.434000+00:00
Original source
I'll give it a look, ty for the input!
Archived author: Tea • Posted: 2024-11-26T14:05:39.180000+00:00
Original source
im not sure this is correct at all
word:770403424965492738>
Archived author: Npc • Posted: 2024-11-26T14:06:05.311000+00:00
Original source
Is it legal to steal from others?<
word:770403424965492738>
Archived author: Piggymorph • Posted: 2024-11-26T14:06:50.015000+00:00
Original source
you mean the vmangos approach is not correct? applied to TC
Archived author: Tea • Posted: 2024-11-26T14:07:12.888000+00:00
Original source
at least on retail vanish does not prevent already-in-flight spells from hitting you