Example #1
0
 def __init__(self):
     Spell.__init__(self)
     self.name = u"%s +%s%%" % (constants.stats[self.stat], int(self.q * 100))
Example #2
0
 def __init__(self):
     Spell.__init__(self)
     self.name = u"%s %s%s" % (constants.stats[self.stat], ("+" if self.q > 0 else ""), self.q)
Example #3
0
 def cast_message(self):
     Spell.cast_message(self)
     self.msg(u"{spell:s} понижает {some:} {dest:f} на %s!" % self.q, {"some": u"<b>{}</b>".format(constants.stats[self.max_stat])})