Returns the % value of spell resistance depending on resistance value and player level
See also Stat information functions.
Signature:
resistancePercent
=
ResistancePercent(ResistanceValue,
CasterLevel)
Arguments:
ResistanceValue
- The resistance value you want to convert (number
)CasterLevel
- Level of the player (number
)
Returns:
resistancePercent
- The % based resistance value (number
)
Examples:
ResistancePercent(300,85) -- This will return ~33,8% which is the % based resistance of a level 85 player with 300 resistance.