GlowPuff / ImperialCommander2

A companion app for the Imperial Assault board game.
MIT License
88 stars 12 forks source link

Feature request: increase credits and xp automatically after missions #54

Closed MrRosendahl closed 4 months ago

MrRosendahl commented 10 months ago

Examples: "Heroes receive 100 credits per hero", "The heroes receive 100 credits per hero for every 3 mission tokens they have claimed"... this should be possible to calculate "Each hero receives 1 XP. Heroes receive 100 credits per hero."

I've looked in the mission cards json files and I realize that this is a rather big change since the xp and credits are part of the description text and not as separated properties. 😁 But if they were, it should be possible to automate this.

The harder one is the "During the Rebel Upgrade stage, the Rebel players can decide to spend 50 credits per hero to prevent this.".. which might be why this feature has not been implemented yet 😄, but it should be possible with a choice popup after the mission with that text and costPerHero (if they have enough credits), and then alter the credits based on the choice made.

Noldorion commented 9 months ago

I realized we never commented on this. Yes, as you noticed yourself, this would be quite a big change, because you'd have to implement it in all mission files - and there are about 600 of those if you count translations. The choice during the Rebel Upgrade stage would not be that big of a problem, because you could simply manually decrease the credits in the campaign manager. But retouching 600 missions is not feasible.

However, things might look differently after our planned mission overhaul. We'll take a look into it! You would still need to manually add any credits from crates, however.

Noldorion commented 5 months ago

Hey, just a quick update: The next version of the app will actually feature this! There will be some fringe cases (such where credits are based on conditions the app doesn't check) where you still have to take care of it manually, but in most missions things will be added automatically. Even from crates!