Method Spell:CalculateDamage [-] [+]

Calculates the damage for the given effect index of the Spell.

Synopsis

damage = Spell:CalculateDamage( effIndex )

Arguments

number effIndex

The effect index to calculate damage for.

Valid numbers: integers from 0 to 255.

Returns

number damage

Valid numbers: integers from -2,147,483,647 to 2,147,483,647.

Generated on
© 2010 - 2024 Eluna Lua Engine