Completed all features for Barbarians

This commit is contained in:
Ben Cook
2018-12-27 12:18:09 -05:00
parent 8ef3026abb
commit ce080b9224
5 changed files with 894 additions and 32 deletions
+5 -1
View File
@@ -3,7 +3,8 @@ from collections import namedtuple
from .armor import NoArmor, NoShield, HeavyArmor
from .features import (UnarmoredDefenseMonk, UnarmoredDefenseBarbarian,
DraconicResilience, Defense, FastMovement,
UnarmoredMovement, GiftOfTheDepths, RemarkableAthelete)
UnarmoredMovement, GiftOfTheDepths, RemarkableAthelete,
SeaSoul)
from math import ceil
@@ -162,4 +163,7 @@ class Speed():
if any([isinstance(f, GiftOfTheDepths) for f in char.features]):
if 'swim' not in other_speed:
other_speed += ' ({:d} swim)'.format(speed)
if any([isinstance(f, SeaSoul) for f in char.features]):
if 'swim' not in other_speed:
other_speed += ' (30 swim)'
return '{:d}{:s}'.format(speed, other_speed)