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

missing return (linter wtf)

This commit is contained in:
Steffo 2019-02-18 00:04:27 +01:00
parent 988bf0b63c
commit 0990e60e63

View file

@ -66,6 +66,7 @@ class DamageComponent:
string += s(strings.SPELL.ACCURACY, words={"accuracy": str(self.miss_chance)}) string += s(strings.SPELL.ACCURACY, words={"accuracy": str(self.miss_chance)})
if self.repeat > 1: if self.repeat > 1:
string += s(strings.SPELL.REPEAT, words={"repeat": str(self.repeat)}) string += s(strings.SPELL.REPEAT, words={"repeat": str(self.repeat)})
return string
class HealingComponent: class HealingComponent: