Exemplo n.º 1
0
 def receive_damage(self, damage: Damage):
     value = damage.value
     if self.魅惑成功:
         damage.value = damage.value.add_percent(-60)
     Character.receive_damage(self, damage)
Exemplo n.º 2
0
 def cause_damage(self, damage: Damage):
     if self.针对你:
         damage.value = damage.value.add_percent(25)
     Character.cause_damage(self, damage)