generated from nhcarrigan/template
feat: document upgrade stacking behaviour as multiplicative (#75)
## Summary - Adds a `💡` stacking note directly in the upgrade panel below the progress counter so players see it without visiting the About page - Updates the About panel's Upgrades how-to-play entry to replace the vague "compound with each other" with explicit multiplicative stacking language, including an example (two ×2 upgrades = ×4) and a note that global upgrades multiply on top of adventurer-specific ones ## Test plan - [ ] Verify the stacking note appears in the upgrade panel below the progress counter - [ ] Verify the About panel Upgrades entry reflects the updated wording - [ ] Confirm lint, build, and tests all pass Closes #60 Reviewed-on: #75 Co-authored-by: Hikari <hikari@nhcarrigan.com> Co-committed-by: Hikari <hikari@nhcarrigan.com>
This commit was merged in pull request #75.
This commit is contained in:
@@ -31,7 +31,10 @@ const howToPlay = [
|
|||||||
body:
|
body:
|
||||||
"Purchase upgrades to multiply the gold and essence output of specific"
|
"Purchase upgrades to multiply the gold and essence output of specific"
|
||||||
+ " adventurer tiers, or boost your whole guild. Upgrades are permanent"
|
+ " adventurer tiers, or boost your whole guild. Upgrades are permanent"
|
||||||
+ " for the current run and compound with each other.",
|
+ " for the current run and stack multiplicatively — two ×2 upgrades"
|
||||||
|
+ " targeting the same adventurer combine to give ×4, not ×3. Global"
|
||||||
|
+ " upgrades multiply on top of adventurer-specific ones, so stacking"
|
||||||
|
+ " both types compounds the effect significantly.",
|
||||||
title: "🔧 Upgrades",
|
title: "🔧 Upgrades",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -261,6 +261,10 @@ const UpgradePanel = (): JSX.Element => {
|
|||||||
{upgrades.length}
|
{upgrades.length}
|
||||||
{" purchased"}
|
{" purchased"}
|
||||||
</p>
|
</p>
|
||||||
|
<p className="upgrade-stacking-note">
|
||||||
|
{"💡 Upgrade multipliers stack multiplicatively — two ×2 upgrades"
|
||||||
|
+ " combine to give ×4, not ×3."}
|
||||||
|
</p>
|
||||||
{upgrades.length === 0
|
{upgrades.length === 0
|
||||||
? <p className="empty-state">
|
? <p className="empty-state">
|
||||||
{"No upgrades available yet — keep adventuring!"}
|
{"No upgrades available yet — keep adventuring!"}
|
||||||
|
|||||||
Reference in New Issue
Block a user