ShouldAttackKill
Revision as of 22:28, 15 November 2013 by imported>Mojo
Checks to see if the incoming attack will kill the target.
Parameters
- Target: The target of the attack.
Return Value
Returns 1 if the attack will kill the target.
Example
ShouldAttackKill used as a condition function in a perk to make all potentially lethal attacks on the Player deal no damage.
Notes
- Only works on physical attacks
- Initial testing has shown that this function only works when run on the Player