Release beta 1.1.1 stacked scan boosts
This commit is contained in:
@@ -116,7 +116,7 @@ class Release105PrimogemTests(unittest.TestCase):
|
||||
def test_scan_boost_and_taffy_say_spend_primogem_resources(self):
|
||||
self.command("/原石")
|
||||
account = self.state()
|
||||
account["primogems"] = 2
|
||||
account["primogems"] = 3
|
||||
self.engine.ledger._save_player_account(
|
||||
"group-a",
|
||||
self.engine.ledger.resolve_person("group-a", "Alice")["person_key"],
|
||||
@@ -132,7 +132,12 @@ class Release105PrimogemTests(unittest.TestCase):
|
||||
self.assertIn(bob_key, boost_targets)
|
||||
ranking = self.command("/扫码榜", event_id="scan-ranking-after-boost")
|
||||
self.assertIn("下一小时扫码权重:", ranking)
|
||||
self.assertIn("bob 5", ranking)
|
||||
self.assertIn("bob 6", ranking)
|
||||
|
||||
second_boost = self.command("/扫码加权 Bob", event_id="scan-boost-second")
|
||||
self.assertIn("已给 bob 增加整点扫码权重", second_boost)
|
||||
stacked = self.command("/扫码榜", event_id="scan-ranking-stacked")
|
||||
self.assertIn("bob 11", stacked)
|
||||
|
||||
speech = self.command("/Taffy发话 今天也要加班吗")
|
||||
self.assertEqual(speech, "Taffy:今天也要加班吗喵")
|
||||
|
||||
Reference in New Issue
Block a user