generated from nhcarrigan/template
feat: v1 prototype — core game systems #30
@@ -463,6 +463,12 @@ export const GameProvider = ({ children }: { children: React.ReactNode }): React
|
|||||||
crystals: prev.resources.crystals + result.rewards.crystals,
|
crystals: prev.resources.crystals + result.rewards.crystals,
|
||||||
}
|
}
|
||||||
: prev.resources,
|
: prev.resources,
|
||||||
|
prestige: result.rewards?.bountyRunestones
|
||||||
|
? {
|
||||||
|
...prev.prestige,
|
||||||
|
runestones: prev.prestige.runestones + result.rewards.bountyRunestones,
|
||||||
|
}
|
||||||
|
: prev.prestige,
|
||||||
player: result.rewards
|
player: result.rewards
|
||||||
? {
|
? {
|
||||||
...prev.player,
|
...prev.player,
|
||||||
|
|||||||
Reference in New Issue
Block a user