I’m currently working on improving Gluth’s script in the 3.3.5 branch (this is one of the bugged aspect of the encounter I’m trying to fix: https://github.com/TrinityCore/TrinityCore/issues/14806).
Anyway, I need your help for the spell 28374: Decimate.
This spell should have 3 aspects:
put everyone (except Gluth. meaning players & zombies are affected) to 5% of their HPs.
stun Gluth for a second
Makes the zombie loose any reaction toward players and make them run toward gluth
Aspect 3 isnt implemented yet. Aspect 1 is there but bugged (it also affect Gluth). Aspect 2 is working as intended.
According to the dbc, the spell has 3 effects: one SPELL_EFFECT_APPLY_AURA (the stun, good), one SPELL_EFFECT_SCRIPT_EFFECT and then one SPELL_EFFECT_SEND_EVENT (with EffectMiscValueA = 10495).
My question is: where can i find the current behavior of the spell? where can i find the info related to SPELL_EFFECT_SCRIPT_EFFECT and SPELL_EFFECT_SEND_EVENT ?? I looked in the spell_scripts and event_scripts tables but coudnt find anything.