kronic
a74b761363
Dev tool: switch player class (Warrior/Ranger) at runtime for testing
...
Editor-only class swap via the existing scalar dev-RPC family (new DebugOp.SetClass): F1/F2 keybind (ClassSwitchHotkeySystem), DebugOverlay '- Class -' buttons, and DebugCommandSendSystem.SetWarrior/SetRanger/SetClass statics. Server (DebugCommandReceiveSystem) swaps class in place on the spawned player: strips+re-seeds the ClassTraits StatModifier seeds, swaps the AbilityRef Fire slot, resets the ability cooldown, and heals a LIVING player to the new max (dead players skip the heal so respawn isn't raced). Server-authoritative + prediction-correct (same buffer-mutation path as GrantUpgrade); wire type unchanged so the RpcCollection hash is unaffected.
ClassTraits gains a shared Seeds core (spawn + swap can't drift), ClassSeedCount, IsClassSeed, a DynamicBuffer AppendSeeds overload, and Reapply. +3 EditMode tests (exact-count round-trip, value-equality fold, boundary/foreign-mod preservation); 351/351 green; Warrior<->Ranger round-trip Play-validated (server+client agree).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-18 21:23:33 -07:00
..
2026-05-31 21:35:12 -07:00
2026-05-31 21:35:12 -07:00
2026-06-03 13:46:13 -07:00
2026-06-03 13:46:13 -07:00
2026-06-06 23:30:18 -07:00
2026-06-06 18:18:11 -07:00
2026-06-06 15:05:15 -07:00
2026-06-06 15:05:15 -07:00
2026-05-31 21:35:12 -07:00
2026-05-31 21:35:12 -07:00
2026-06-11 15:00:03 -07:00
2026-06-11 15:00:03 -07:00
2026-06-02 18:28:23 -07:00
2026-06-02 18:28:23 -07:00
2026-06-04 11:35:57 -07:00
2026-06-04 11:35:57 -07:00
2026-06-06 15:05:49 -07:00
2026-06-06 15:05:49 -07:00
2026-06-02 08:56:26 -07:00
2026-06-02 08:56:26 -07:00
2026-06-17 12:48:08 -07:00
2026-06-09 23:26:20 -07:00
2026-06-18 21:23:33 -07:00
2026-06-18 00:36:21 -07:00
2026-06-06 15:05:15 -07:00
2026-06-06 15:05:15 -07:00
2026-06-06 15:05:15 -07:00
2026-06-06 15:05:15 -07:00
2026-06-12 21:51:52 -07:00
2026-06-12 21:51:52 -07:00
2026-06-12 21:51:52 -07:00
2026-06-04 11:35:57 -07:00
2026-06-09 23:26:20 -07:00
2026-06-09 23:26:20 -07:00
2026-06-09 23:26:20 -07:00
2026-06-09 23:26:20 -07:00
2026-06-04 13:45:46 -07:00
2026-06-04 13:45:46 -07:00
2026-06-15 12:38:36 -07:00
2026-06-15 12:38:36 -07:00
2026-06-11 23:53:50 -07:00
2026-06-02 22:50:43 -07:00
2026-06-08 11:09:39 -07:00
2026-06-08 11:09:39 -07:00
2026-06-11 15:00:03 -07:00
2026-06-11 15:00:03 -07:00
2026-06-04 13:45:46 -07:00
2026-06-04 11:35:57 -07:00
2026-06-12 19:14:58 -07:00
2026-06-06 15:05:15 -07:00
2026-06-06 15:05:36 -07:00
2026-06-06 15:05:36 -07:00
2026-06-06 15:05:15 -07:00
2026-06-06 15:05:15 -07:00
2026-06-11 23:53:50 -07:00
2026-05-31 21:35:12 -07:00
2026-05-29 22:06:44 -07:00
2026-05-29 22:06:44 -07:00
2026-06-07 13:28:25 -07:00
2026-06-07 13:28:25 -07:00
2026-06-08 09:43:47 -07:00
2026-06-08 09:43:47 -07:00
2026-06-08 09:43:47 -07:00
2026-06-08 09:43:47 -07:00
2026-06-08 09:43:47 -07:00
2026-06-08 09:43:47 -07:00
2026-06-08 11:09:39 -07:00
2026-06-08 11:09:39 -07:00
2026-06-04 11:35:57 -07:00
2026-06-04 11:35:57 -07:00
2026-06-11 15:00:03 -07:00
2026-06-10 17:23:10 -07:00
2026-06-10 17:23:10 -07:00
2026-06-10 17:23:10 -07:00
2026-06-04 11:35:57 -07:00
2026-06-04 11:35:57 -07:00
2026-06-01 10:48:18 -07:00
2026-06-01 10:48:18 -07:00
2026-06-06 15:05:15 -07:00
2026-06-06 15:05:15 -07:00
2026-05-31 21:35:12 -07:00
2026-05-31 21:35:12 -07:00
2026-05-31 21:35:12 -07:00
2026-05-31 21:35:12 -07:00
2026-06-09 23:26:20 -07:00
2026-05-29 22:06:44 -07:00
2026-06-04 11:35:57 -07:00
2026-06-04 11:35:57 -07:00
2026-06-04 21:49:03 -07:00
2026-06-04 11:35:57 -07:00
2026-06-02 22:50:43 -07:00
2026-06-02 22:50:43 -07:00
2026-06-15 12:38:36 -07:00
2026-06-06 15:05:36 -07:00
2026-05-31 21:35:12 -07:00
2026-05-31 21:35:12 -07:00
2026-05-31 21:35:12 -07:00
2026-05-31 21:35:12 -07:00
2026-06-12 21:51:52 -07:00
2026-06-02 18:28:23 -07:00
2026-06-04 11:35:57 -07:00
2026-06-04 11:35:57 -07:00
2026-06-04 11:35:57 -07:00
2026-06-04 11:35:57 -07:00
2026-06-09 23:26:20 -07:00
2026-06-09 23:26:20 -07:00
2026-06-11 15:00:03 -07:00
2026-06-04 13:45:46 -07:00
2026-06-04 11:35:57 -07:00
2026-06-04 11:35:57 -07:00
2026-06-15 12:38:36 -07:00
2026-06-10 15:22:30 -07:00
2026-06-12 19:14:58 -07:00
2026-06-04 11:35:57 -07:00
2026-05-31 21:35:12 -07:00
2026-05-31 21:35:12 -07:00
2026-06-04 11:35:57 -07:00
2026-06-04 11:35:57 -07:00