gdquest-demos/godot-open-rpg

At the end of combat there's no rewards anymore

NathanLovato opened this issue · 1 comments

I just commented out rewards with 9f66b76
They were coupled to the battler's stats, which I refactored so now the partymembers have stats instead. Needs to be fixed cleanly: rewards really shouldn't feed themselves into battler that then copy their inventory into the party! Instead we should give the rewards to the party and let it apply them.

Make sure the party receives a BattleRewards or BattleResult object when the battle completes, updates itself, and that it doesn't rely on another node to do that.