[DiscordArchive] which action do you use?
[DiscordArchive] which action do you use?
Archived author: Kitzunu • Posted: 2022-05-12T14:25:50.301000+00:00
Original source
which action do you use?
Archived author: Nyeriah • Posted: 2022-05-12T14:27:12.117000+00:00
Original source
I had issues with that before because the creatures die before the spell is cast, and dead creatures can't cast spells. Not sure if it's the same problem you're encountering
Archived author: Avarishd • Posted: 2022-05-12T14:47:07.400000+00:00
Original source
Try adding Cast Flag 2
<https://www.azerothcore.org/wiki/smart_scripts#cast-flags>
Archived author: Devon • Posted: 2022-05-12T14:52:52.171000+00:00
Original source
I wondered if it was because the death was registering before the spellcast like you say Nyeriah.
<@224931509046345729> action = 11 Cast , with spell Id in action Param
Archived author: Devon • Posted: 2022-05-12T14:53:43.446000+00:00
Original source
Ill try that Avarishd, though I find it odd that it would be required for On Death and not for On Aggro
Archived author: Avarishd • Posted: 2022-05-12T14:54:09.808000+00:00
Original source
worth the shot ¯\_(ツ)_/¯
Archived author: Devon • Posted: 2022-05-12T14:55:28.916000+00:00
Original source
Absolutely, I'm looking at Crystal Fang in LBRS, which should work almost identically to Mother Smolderweb, when they die they cast a spell to summon spiderlings.
Mother works properly, with the same entry for crystal fang it's just not having it :/
Archived author: Foe • Posted: 2022-05-12T14:56:10.733000+00:00
Original source
This is an issue in general with these things; when do you register the event? Pre or post? Ideally you'd have an event for both
Archived author: Foe • Posted: 2022-05-12T14:56:25.174000+00:00
Original source
That way you could choose whether the event should happen before or after death
Archived author: Devon • Posted: 2022-05-12T14:58:03.753000+00:00
Original source
I'm not aware of a way to register an event like that in SAI