mirror of
https://github.com/motajs/template.git
synced 2026-09-27 21:50:19 +08:00
- HeroAttribute.loadState replaces its private base object; the HeroAttribute wrapper identity is preserved so equipment/combat references stay valid across load (#06-17-1/#06-17-2). - Clone the incoming base attribute in the constructor so the shared HERO_DEFAULT_ATTRIBUTE is no longer mutated across CoreState instances. - Use any for the hero position in combat handler/aura/enemy-view generics to clear the 45 new type errors introduced by HeroAttribute implementing ISaveableContent. |
||
|---|---|---|
| .. | ||
| enemy | ||
| flag | ||
| hero | ||
| load | ||
| map | ||
| game.ts | ||
| index.ts | ||
| shared.ts | ||
| types.ts | ||