Task: GolemancyTab text fixes — expand abbreviations and show special properties #154
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
The GolemancyTab displays abbreviated stat names and doesn't list special golem properties.
Issues
Abbreviations to Expand
In
src/components/game/tabs/GolemancyTab.tsx:DMG:→Damage:SPD:→Attack Speed:AP:→Armor Pierce:Missing Special Properties
The
GolemDeftype insrc/lib/game/data/golems/types.tshas no field for special abilities. The following golems have implied special properties that should be tracked and displayed:hybrid-golems.ts:18hybrid-golems.ts:34hybrid-golems.ts:84hybrid-golems.ts:100hybrid-golems.ts:118hybrid-golems.ts:68isAoeelemental-golems.ts:55Fix Required
specialAbilitiesfield (array of{ name: string, description: string }) toGolemDeftype intypes.tsGolemCardinGolemancyTab.tsxto render the special abilities sectionAffected Files
src/lib/game/data/golems/types.ts— add field to interfacesrc/lib/game/data/golems/hybrid-golems.ts— add special abilities datasrc/lib/game/data/golems/elemental-golems.ts— add special abilities datasrc/components/game/tabs/GolemancyTab.tsx— fix abbreviations + render special abilitiesStarting work on #154 — GolemancyTab text fixes. Will: 1) Add specialAbilities field to GolemDef type, 2) Populate special abilities in golem data files, 3) Update GolemancyTab to render them, 4) Fix abbreviations.
Fixed #154 — GolemancyTab text fixes complete.
Changes:
types.ts: AddedspecialAbilities?: { name: string; description: string }[]toGolemDefhybrid-golems.ts: Added special abilities to all 6 hybrid golems (Lava: Burn, Galvanic: Lightning Speed, Obsidian: Devastating Strike, Prism: Piercing Beams, Quicksilver: Flow, Voidstone: Void Infusion)elemental-golems.ts: Added special ability to Sand Golem (Sandstorm AoE)GolemancyTab.tsx: Fixed DMG→Damage, SPD→Attack Speed, AP→Armor Pierce; added special abilities rendering sectionAll 902 tests pass. Committed and pushed as
badd233.