Skip to content

Infinite consumable gadgets when switching #4

Description

@Samuil1337

If you use up all of your Wrist Darts as Nightwing, you can just switch to another playable character and then back to Nightwing. Then, you'll have restocked your ammo which is obviously unbalanced.

This is because every gadget is reinstantiated on switch.

The solution would be to track the available ammo independently and redirect the function that restocks the ammo. That way we can stay 1:1 to the game. Then, when the player switches the character, we will have to apply the ammo. This will work perfectly for the Wrist Darts but not for things with cool downs (jammer/smoke bomb). That will need some extra work.

These are the gadgets we'll need to look into specifically:

  • Jammer
  • Wrist Dart
  • Caltrops
  • Smoke Bomb
  • Snap-Flash
  • Shield (maybe?)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions