コード例 #1
0
 def turn(self):
     Prototype.turn(self)
     if self.parent.player.mana['life'] >= 2:
         self.parent.player.mana['life'] -= 2
     else:
         self.parent.player.mana['life'] = 0
     self.parent.player.mana['death'] += 1
コード例 #2
0
 def turn(self):
     self.default_power = 3 + self.killed
     Prototype.turn(self)
コード例 #3
0
 def turn(self):
     Prototype.turn(self)
     if self.parent.player.mana['death']:
         self.parent.player.mana['death'] -= 1
         self.parent.player.mana['life'] += 1
コード例 #4
0
 def turn(self):
     Prototype.turn(self)
     self.parent.player.mana['water'] += 2
コード例 #5
0
 def turn(self):
     Prototype.turn(self)
     self.parent.player.mana['earth'] += 1
コード例 #6
0
 def turn(self):
     Prototype.turn(self)
     self.set_power(self.parent.player.mana['fire'] + 3)
コード例 #7
0
 def turn(self):
     Prototype.turn(self)
     if self.parent.player.mana['earth'] < 3:
         self.damage(3, self)
     else:
         self.heal(3, self.max_health)
コード例 #8
0
 def turn(self):
     Prototype.turn(self)
     self.power = self.parent.player.mana["water"]
     if not self.power:
         self.power = 1
コード例 #9
0
 def turn(self):
     self.default_power = 3 + self.killed
     Prototype.turn(self)
コード例 #10
0
 def turn(self):
     Prototype.turn(self)
     self.parent.player.mana["water"] -= 2
     if self.parent.player.mana["water"] < 0:
         self.parent.player.mana["water"] = 0
コード例 #11
0
 def turn(self):
     Prototype.turn(self)
     self.parent.player.mana["water"] += 2
コード例 #12
0
 def turn(self):
     Prototype.turn(self)
     self.set_power(self.parent.player.mana["fire"] + 3)
コード例 #13
0
 def turn(self):
     Prototype.turn(self)
     self.parent.player.mana["fire"] += 1
     self.parent.player.enemy.mana["fire"] += 1
コード例 #14
0
 def turn(self):
     Prototype.turn(self)
     self.power = self.parent.player.mana['water']
     if not self.power:
         self.power = 1
コード例 #15
0
 def turn(self):
     Prototype.turn(self)
     self.stone = False
コード例 #16
0
 def turn(self):
     Prototype.turn(self)
     self.stone = False
コード例 #17
0
 def turn(self):
     Prototype.turn(self)
     self.parent.player.mana['fire'] += 1
     self.parent.player.enemy.mana['fire'] += 1
コード例 #18
0
 def turn(self):
     Prototype.turn(self)
     self.parent.player.mana['earth'] += 2
     self.set_power(self.parent.player.mana[self.element])
コード例 #19
0
 def turn(self):
     Prototype.turn(self)
     self.parent.player.mana['earth'] += 2
     self.set_power(self.parent.player.mana[self.element])
コード例 #20
0
 def turn(self):
     Prototype.turn(self)
     if self.parent.player.mana['earth'] < 3:
         self.damage(3, self)
     else:
         self.heal(3, self.max_health)
コード例 #21
0
 def turn(self):
     Prototype.turn(self)
     self.parent.player.mana['earth'] += 1
コード例 #22
0
 def turn(self):
     Prototype.turn(self)
     self.parent.player.mana['water'] -= 2
     if self.parent.player.mana['water'] < 0:
         self.parent.player.mana['water'] = 0