mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
eww floats
This commit is contained in:
parent
8fba61b5b6
commit
68d167208d
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue