prosolis
48e5000745
Coop: lock combat actions for the full duration of an active run
...
Players in a co-op were getting their combat action back every midnight
reset and offered the dungeon option in the morning DM. Per spec they
should be "off in the Co-op" and unable to also solo-grind dungeons.
Fix at the DB layer (so all CanDoCombat() paths agree):
- New helper lockCoopCombatActions() sets combat_actions_used=99 for any
user in an active coop run. Called immediately after every
resetAllAdvDailyActions() — at startup and at midnight.
- Render layer: morning DM now shows "combat locked (in Co-op #N, day
X/Y)" and replaces the dungeon section with an explanatory line
pointing them at !coop status.
Combat returns to normal automatically once the run completes/wipes —
the next midnight reset finds status != 'active' and skips the lock.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-28 20:38:00 -07:00
..
2026-04-18 01:06:50 -07:00
2026-04-26 07:57:31 -07:00
2026-04-18 01:05:22 -07:00
2026-04-18 01:05:22 -07:00
2026-04-18 01:05:22 -07:00
2026-04-18 01:05:22 -07:00
2026-04-08 17:04:40 -07:00
2026-04-24 22:23:58 -07:00
2026-04-26 07:57:31 -07:00
2026-04-26 07:57:31 -07:00
2026-04-18 01:07:25 -07:00
2026-04-08 15:50:28 -07:00
2026-04-18 01:05:22 -07:00
2026-04-18 01:05:22 -07:00
2026-04-18 01:07:25 -07:00
2026-04-03 20:11:51 -07:00
2026-04-05 17:04:03 -07:00
2026-04-05 17:04:03 -07:00
2026-03-27 21:26:19 -07:00
2026-03-26 09:22:02 -07:00
2026-04-10 16:50:49 -07:00
2026-04-08 00:24:51 -07:00
2026-04-24 22:23:58 -07:00
2026-04-08 23:01:39 -07:00
2026-04-10 16:50:49 -07:00
2026-04-05 17:04:03 -07:00
2026-04-05 17:04:03 -07:00
2026-04-05 17:04:03 -07:00
2026-03-26 09:22:02 -07:00
2026-03-26 09:22:02 -07:00
2026-04-08 15:31:25 -07:00
2026-03-27 21:26:19 -07:00
2026-04-18 01:07:25 -07:00
2026-04-10 16:50:49 -07:00
2026-04-24 22:23:58 -07:00
2026-04-24 22:23:58 -07:00
2026-04-10 16:50:49 -07:00
2026-04-24 22:23:58 -07:00
2026-04-10 16:50:49 -07:00
2026-04-10 16:50:49 -07:00
2026-04-28 20:38:00 -07:00
2026-04-18 01:07:25 -07:00
2026-04-10 16:50:49 -07:00
2026-04-28 20:38:00 -07:00
2026-04-08 15:50:28 -07:00
2026-04-24 22:23:58 -07:00
2026-04-08 22:41:21 -07:00
2026-04-08 15:50:28 -07:00
2026-04-18 01:07:25 -07:00
2026-04-28 20:38:00 -07:00
2026-04-08 17:04:40 -07:00
2026-03-31 18:47:49 -07:00
2026-04-08 17:04:40 -07:00
2026-03-27 21:26:19 -07:00
2026-03-26 09:22:02 -07:00
2026-04-18 01:07:25 -07:00
2026-04-18 01:07:25 -07:00
2026-04-18 01:05:22 -07:00
2026-04-18 01:05:22 -07:00
2026-04-18 01:05:22 -07:00
2026-04-18 01:05:22 -07:00
2026-04-18 01:05:22 -07:00
2026-04-18 01:05:22 -07:00
2026-04-18 01:05:22 -07:00
2026-04-18 01:05:22 -07:00
2026-04-08 17:04:40 -07:00
2026-04-26 07:58:13 -07:00
2026-04-26 09:01:29 -07:00
2026-04-28 20:38:00 -07:00
2026-04-28 18:14:49 -07:00
2026-04-28 20:20:00 -07:00
2026-04-28 17:55:14 -07:00
2026-04-26 09:14:45 -07:00
2026-04-26 19:12:22 -07:00
2026-04-28 18:14:49 -07:00
2026-04-26 07:58:13 -07:00
2026-04-26 07:58:13 -07:00
2026-03-26 09:22:02 -07:00
2026-04-08 17:04:40 -07:00
2026-04-08 17:04:40 -07:00
2026-04-18 16:06:28 -07:00
2026-03-26 09:22:02 -07:00
2026-03-26 23:38:06 -07:00
2026-03-26 23:38:06 -07:00
2026-03-26 23:38:06 -07:00
2026-03-26 09:22:02 -07:00
2026-04-08 17:04:40 -07:00
2026-03-26 09:22:02 -07:00
2026-04-08 17:04:40 -07:00
2026-04-18 01:07:25 -07:00
2026-04-08 17:04:40 -07:00
2026-03-26 09:22:02 -07:00
2026-03-22 10:09:57 -07:00
2026-04-18 01:06:50 -07:00
2026-03-26 09:22:02 -07:00
2026-03-26 09:22:02 -07:00
2026-03-26 09:22:02 -07:00
2026-03-26 09:22:02 -07:00
2026-03-26 09:22:02 -07:00
2026-04-18 14:11:59 -07:00
2026-04-18 01:06:50 -07:00
2026-04-18 14:11:59 -07:00
2026-04-18 14:11:59 -07:00
2026-04-18 14:11:59 -07:00
2026-04-26 20:38:16 -07:00
2026-03-09 00:09:11 -07:00
2026-03-10 16:58:15 -07:00
2026-04-26 10:09:32 -07:00
2026-04-08 17:04:40 -07:00
2026-04-08 17:04:40 -07:00
2026-04-08 17:04:40 -07:00
2026-04-18 01:07:25 -07:00
2026-04-18 01:07:25 -07:00
2026-03-27 21:26:19 -07:00
2026-03-27 11:55:47 -07:00
2026-03-30 17:11:45 -07:00
2026-04-08 17:04:40 -07:00
2026-03-26 09:22:02 -07:00
2026-04-08 17:04:40 -07:00
2026-04-26 10:24:21 -07:00
2026-03-30 17:11:45 -07:00
2026-03-11 00:45:25 -07:00
2026-03-08 18:25:18 -07:00
2026-03-27 11:55:47 -07:00
2026-03-26 09:22:02 -07:00
2026-03-10 18:08:05 -07:00
2026-04-08 17:04:40 -07:00
2026-03-08 18:25:18 -07:00
2026-04-18 01:07:25 -07:00
2026-04-08 17:04:40 -07:00
2026-03-26 09:22:02 -07:00
2026-03-11 00:45:25 -07:00
2026-04-10 16:50:49 -07:00
2026-03-08 18:25:18 -07:00
2026-04-08 17:04:40 -07:00
2026-04-18 01:07:25 -07:00
2026-03-29 20:51:28 -07:00
2026-03-29 09:27:00 -07:00
2026-04-18 01:07:25 -07:00
2026-04-08 17:04:40 -07:00
2026-04-08 17:04:40 -07:00
2026-04-26 10:09:32 -07:00
2026-03-11 00:45:25 -07:00
2026-03-29 16:24:59 -07:00
2026-03-26 09:22:02 -07:00
2026-04-01 18:58:33 -07:00
2026-04-10 16:50:49 -07:00
2026-03-29 16:24:59 -07:00
2026-04-18 01:07:25 -07:00
2026-04-08 17:04:40 -07:00
2026-04-08 15:24:49 -07:00