GetEffectSpellId

// Get the spell (SPELL_*) that applied eSpellEffect. // * Returns -1 if eSpellEffect was applied outside a spell script. int GetEffectSpellId(effect eSpellEffect);