I am currently using the return values
- number BuffEffectType effectType,
- number AbilityType abilityType,
- number StatusEffectType statusEffectType
of GetUnitBuffInfo() or EVENT_EFFECT_CHANGED. But as of now I do not know any way of getting the required info by just providing a spellId or spellName.