added primary ability and new AC and speed calculations

This commit is contained in:
Ben Cook
2018-12-23 01:45:04 -05:00
parent 66880cd6bf
commit 6c4589d03f
28 changed files with 366 additions and 197 deletions
-9
View File
@@ -40,15 +40,6 @@ class Defense(Feature):
name = "Fighting Style (Defense)"
source = "Ranger"
def AC_func(self, char, **kwargs):
"""
Apply a +1 bonus if wearing armor
"""
if (char.armor is None) or (isinstance(char.armor, armor.NoArmor)):
return char.default_AC
else:
return char.default_AC + 1
class Dueling(Feature):
"""When you are wielding a melee weapon in one hand and no other weapons, you