[DiscordArchive] I'm trying to change execute to cause a weapon damage pct effect instead of flat damage. How should
[DiscordArchive] I'm trying to change execute to cause a weapon damage pct effect instead of flat damage. How should
Archived author: Kek • Posted: 2022-08-07T21:43:11.872000+00:00
Original source
I'm trying to change execute to cause a weapon damage pct effect instead of flat damage. How should I change the `CastCustomSpell` to do a `SPELL_EFFECT_WEAPON_PERCENT_DAMAGE` instead?
Archived author: Bench • Posted: 2022-08-07T21:49:00.030000+00:00
Original source
You can probably add an entry for it in the spell_dbc table and just set it there
Archived author: Kek • Posted: 2022-08-07T21:50:34.717000+00:00
Original source
Oh, so inside the spell_warr_execute script, I'd just make a new spell with the effects I want, and then trigger it?
Archived author: Kek • Posted: 2022-08-07T21:51:20.462000+00:00
Original source
Ah, that's what they did. Just caused a new spellid to trigger instead of the execute one.