Beispiel #1
0
 def test_flame_apply(self):
     self.enemy.pvp.set_energy_speed(100)
     ability = Flame(hero=self.hero, enemy=self.enemy)
     ability.apply()
     self.assertTrue(self.enemy.pvp.energy_speed < 100)
Beispiel #2
0
 def test_flame_apply(self):
     self.meta_action_battle.hero_2_pvp.set_energy_speed(100)
     ability = Flame(hero=self.hero, enemy=self.enemy)
     ability.apply()
     self.assertTrue(self.meta_action_battle.hero_2_pvp.energy_speed < 100)
Beispiel #3
0
 def test_flame_apply_minimum(self):
     self.assertEqual(self.enemy.pvp.energy_speed, 1)
     ability = Flame(hero=self.hero, enemy=self.enemy)
     ability.apply()
     self.assertEqual(self.enemy.pvp.energy_speed, 1)
Beispiel #4
0
 def test_flame_apply_minimum(self):
     self.assertEqual(self.meta_action_battle.hero_2_pvp.energy_speed, 1)
     ability = Flame(hero=self.hero, enemy=self.enemy)
     ability.apply()
     self.assertEqual(self.meta_action_battle.hero_2_pvp.energy_speed, 1)