1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

eww floats

This commit is contained in:
Steffo 2019-02-19 00:30:57 +01:00
parent 8fba61b5b6
commit 68d167208d

View file

@ -66,7 +66,7 @@ class DamageComponent:
words={"number": str(self.dice_number),
"type": str(self.dice_type),
"constant": constant,
"avg": str(self.avg)})
"avg": str(int(self.avg))})
for dmg_type in self.damage_types:
string += s(strings.SPELL.TYPE, words={"type": dmg_type})
string += s(strings.SPELL.ACCURACY, words={"accuracy": str(self.miss_chance)})
@ -106,7 +106,7 @@ class HealingComponent:
words={"number": str(self.dice_number),
"type": str(self.dice_type),
"constant": constant,
"avg": str(self.avg)})
"avg": str(int(self.avg))})
return string