Method Creature:GetAttackDistance [-] [+]

Returns the effective aggro range of the Creature for target.

If this is smaller than the minimum aggro range set in the config file, that is used as the aggro range instead.

Synopsis

attackDistance = Creature:GetAttackDistance( target )

Arguments

Unit target
See method description.

Returns

number attackDistance

Valid numbers: all decimal numbers.

Generated on
© 2010 - 2024 Eluna Lua Engine