lambdaclass / afk_gacha_game

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

Add rewards to "level beaten" response #191

Open lotuuu opened 8 months ago

lotuuu commented 8 months ago

Should have gone in https://github.com/lambdaclass/mirra_backend/pull/264/ but the PR is getting ready-ed early so that it doesn't grow.

Modify the BattleResult protobuf message (and backend return) to send the rewards obtained in battle win. Check: Champions.Battle.fight_level.

lotuuu commented 6 months ago

Blocked by our pending discussion on how (when) to send information to the frontend

martinacantaro commented 6 months ago

What problem does this ticket aim to solve?

lotuuu commented 6 months ago

I think what was going on here is that the client is obtaining level rewards from the previous campaigns query instead of receiving them on the spot, so we're sending a lot of unnecesary information every time

martinacantaro commented 6 months ago

I'm assignig this to a later development stage since it's an optimization that is too refined for a pre-alpha