Player class
Part of D20
Summary
Methods
get_armor_class()shared
Returns the armor class of the player, which an attack roll against them has to reach to hit: 10, plus the modifier of their reflexes when the Stats plugin is loaded, plus 2 while they have any armor, after the AdjustArmorClass hook.
Methods
Returns the armor class of the player, which an attack roll against them has to reach to hit: 10, plus the modifier of their reflexes when the Stats plugin is loaded, plus 2 while they have any armor, after the AdjustArmorClass hook.
target:get_armor_class() -- 10 + 2 reflexes + 2 armor = 14
Returns
- Number armor class