Returns whether one unit can attack another
See also Unit functions.
Signature:
canAttack
=
UnitCanAttack("unit",
"unit")
Arguments:
Returns:
canAttack
- 1 if the first unit can attack the second unit; otherwise nil (1nil
)
Returns whether one unit can attack another
Signature:
canAttack
=
UnitCanAttack("unit",
"unit")
Arguments:
Returns:
canAttack
- 1 if the first unit can attack the second unit; otherwise nil (1nil
)