Lua LocalPlayer CanAttackTarget

Parameters

 * (unit)


 * unit
 * A LuaUnit to check to see if the player can attack.

Details

 * type
 * boolean


 * state
 * True if the player can attack the provided unit.