a LogicDoSpellCommand names a deck slot, so the card comes from the deck we sent for that player, and the owner comes from matching the command's executor account against the two the battle carries. the spell row's SummonCharacter and SummonNumber say what and how many to place, at the position the command carries. the object factory behind the towers is now shared: hitpoints and the combat/hitpoint/buff components are built the same way for a summoned character as for a tower. these objects are not encodable yet. a character with Speed gets a LogicMovementComponent on the client, and we have no encoder for that component, so the server copy must not be turned back into a snapshot until it exists. nothing re-encodes it today - it feeds the clock, the crowns and the end condition only. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||