scroll.server/crates/logic/src
WiseDev dbbd162bed regenerate mana on the server
at type 0 the client stopped working the elixir bar out for itself and
started reading it from the summoner in our snapshot - which never
moved, so the bar sat where the opening state left it and no card could
be afforded.

the rule from LogicSummoner::tick: an accumulator gains five thousand a
tick and one mana is granted for every MANA_REGEN_MS * 100 / MAX_MANA it
holds, the remainder carried rather than dropped. that works out at
2.8 seconds a mana with the shipped globals, and halves in the last
sixty seconds through MANA_REGEN_MS_END, which is the speed-up the game
has always had.
2026-08-23 13:53:41 +03:00
..
battle regenerate mana on the server 2026-08-23 13:53:41 +03:00
commands decode the two battle commands 2026-08-23 11:51:17 +03:00
data match against a bot player instead of an npc 2026-08-23 11:28:17 +03:00
home battle model: LogicBattle, the object manager and BattleResultMessage 2026-08-23 10:00:16 +03:00
messages switch the battle to type 0 and drive it from the server 2026-08-23 13:51:01 +03:00
model deck swapping and achievement claims 2026-08-23 09:24:30 +03:00
factory.rs move all crates into crates/, glob members 2026-08-23 08:15:45 +03:00
lib.rs spawn the played card on the server 2026-08-23 12:09:30 +03:00
logic_random.rs battle model: LogicBattle, the object manager and BattleResultMessage 2026-08-23 10:00:16 +03:00