small update
boss prototype, auto planter, visual reworks, bug fixes
This commit is contained in:
@@ -103,7 +103,8 @@ class RelicApplyTest(unittest.TestCase):
|
||||
def test_shield_relic(self):
|
||||
b = _battle("iron_bark")
|
||||
for u in b.players:
|
||||
self.assertGreaterEqual(u.status.get(S_SHIELD, 0), int(u.max_hp * 0.09))
|
||||
total = sum(amount for amount, _ in u.status.get(S_SHIELD, []))
|
||||
self.assertGreaterEqual(total, int(u.max_hp * 0.09))
|
||||
|
||||
def test_pct_hp_relic(self):
|
||||
base = make_leveled("Zinnia", TEAM_PLAYER, 1, 1)
|
||||
@@ -156,7 +157,8 @@ class RelicApplyTest(unittest.TestCase):
|
||||
def test_multiple_relics_stack(self):
|
||||
b = _battle("iron_bark", "morning_dew", "chilling_gust")
|
||||
for u in b.players:
|
||||
self.assertGreaterEqual(u.status.get(S_SHIELD, 0), 1)
|
||||
total = sum(amount for amount, _ in u.status.get(S_SHIELD, []))
|
||||
self.assertGreaterEqual(total, 1)
|
||||
self.assertEqual(u.status[S_ATTACK_UP], (10, 1))
|
||||
for u in b.enemies:
|
||||
self.assertEqual(u.status["speed_down"], (8, 1))
|
||||
|
||||
Reference in New Issue
Block a user