lambdaclass / afk_gacha_game

AFK Gacha Game is an autobattler by LambdaClass
Apache License 2.0
3 stars 0 forks source link

Display afk rewards dynamically #460

Closed tkz00 closed 3 months ago

tkz00 commented 4 months ago

Closes #362

Motivation

When claiming afk rewards the currencies available are variable, some currencies will have 0 generation rate and we were showing them in the popup, this shouldn't happen.

Summary of changes

Created an afk reward detail prefab and instantiated it in the popup to show which currencies are up for claim.

How has this been tested?

Change which currencies your user idly generates, either via normal or artificial means, such as modifying the database or the backend directly, check the claim afk rewards claim popup in the Kaline tree reflects this by showing those currencies.