Modifié par M. Rieder, 07 novembre 2011 - 02:25 .
How do I get the level of a spell being cast in a spellhook script?(Resolved)
Débuté par
M. Rieder
, nov. 07 2011 02:18
#1
Posté 07 novembre 2011 - 02:18
I know that you use GetSpellLevel(GetLastSpell()); if you are writing an OnSpellCastAt event script. But in the spellhook script, GetLastSpell always returns -1 and appears useless. Do I have to use another function or... god forbid... do massive if statements with all the integers for each of the spells by level.... which incidentally have nothing to do with the level they are.
#2
Posté 07 novembre 2011 - 02:26
GetSpellLevel(GetSpellID());





Retour en haut






