feat: replace game schedules with logical ticks

This commit is contained in:
Hide_D authored and Hide_D committed 2026-08-04 20:37:56 +09:00
1 parent 136acadd04
commit 5d9512ced7
69 files changed
+1616 -519

No files matched your search

+2 -1
View File
@@ -77,7 +77,8 @@ $month = $query['month'];
$repeatCnt = $query['repeatCnt'];
$rawAttacker = $query['attackerGeneral'];
$rawAttacker['turntime'] = TimeUtil::now();
$battleClock = GameClock::fromStorage(KVStorage::getStorage(DB::db(), 'game_env'));
$rawAttacker['turntime'] = $battleClock->formatTick($battleClock->nowTick());
$rawAttackerCity = $query['attackerCity'];
$rawAttackerNation = $query['attackerNation'];