[Low] [Bug] [Pacts] Procedural guardian names on floors 250+ are excessively long #368
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?
Severity: Low
Type: Bug / UX
Store:
usePrestigeStore/guardian-utils.tsSteps to reproduce:
Expected:
Actual:
Notes:
Starting investigation of excessively long procedural guardian names on floors 250+. Reading guardian naming code.
Fix applied. The
generateGuardianNamefunction was receiving the full element chain fromresolveMultiUnlockChain()(e.g.['fire', 'earth', 'water', 'metal', 'sand']for a Metal+Sand guardian), producing unreadable names like "Ignis-Petra-Marina-Steel-Sah the Archon".Root cause:
getProceduralGuardianpassedg.element(the full expanded chain) directly togenerateGuardianName.Fix: Modified
getProceduralGuardianto extract only the key elements per tier before name generation:Names are now concise (e.g. "Ferr-Arena the Warden" instead of "Ignis-Petra-Marina-Steel-Sah the Archon").
All 1158 tests pass.