def turn(self,battle, player): if Mob.turn(self, battle, player): if battle.range > 2: battle.range-=10 else: if self.hp < self.maxhp*0.3: if self.buffer: effects.Heal(3, self, 10) self.buffer = False if self.hp < self.maxhp*0.5: if self.buffer1: effects.Fire(2, player, 20) self.buffer1 = False
def use(self, battle, player, mob): if Skill.use(self,battle, player, mob): effects.Heal(3,player, 10)