Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various mods #20

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Various mods #20

wants to merge 3 commits into from

Conversation

nmaligec
Copy link

@nmaligec nmaligec commented Apr 9, 2022

Sharing some of the modifications I've made over the months, as I've been playing and enjoying the game. Use anything you find useful. Sorry that everything is in one huge commit though.

Changes:

  1. You can lock/unlock individual card slots in the shop.
  2. Max level characters no longer show up as buy-able cards in the shop.
  3. Gold now has a 4% chance to drop in addition to mercenary bonuses and lucky strike.
  4. Enemy mines now take longer to explode and can be disarmed by running into them.
  5. Looping now only gives an extra passive slot instead of an additional unit (temporarily maxed at +4 passives on Loop 4).
  6. Added 5 new unlock-able characters. Get to higher loops while on ng5 to unlock them for use on any difficulty and loop.
  7. Added a new passive called Mine Detector, which allows disarming mines from a distance.

The overall effect of each mod is to make the game slightly more easy (especially the new characters when they get maxed). That would be a problem if you want to keep the game difficult, but I thought to share what I had anyway.

cmaligec and others added 3 commits August 1, 2021 20:33
This uses the same approach as the v1 fix, but checks a variable set directly on the unit itself instead of checking a global table.

Manually set the can_use_aspd variable to true in each unit section in Player:init, where the unit has a timed action with tag 'shoot' or 'attack'.
Similar to the aspd buff changes, the draw code now checks a variable set directly on the unit, instead of going through a table.

Manually added the has_cooldown variable to each appropriate unit section in Player:init. Also removed the non_cooldown_characters table from main.lua, as the only place that uses it has been modified in a way that no longer needs it.

Note: Even though the pyromancer and cryomancer do damage on a timer, it is handled by the DotArea code and so the variables needed to fill their charge bar never get set. These are the only two characters that exclussively attack through dot damage routines. For both, the cooldown flags were left false by default. Originally they were left out from the list of non_cooldown_characters.
1. Changed lock functionality so that you can lock/unlock each of the 3 buyable character slots separately. Buying a locked character unlocks the slot and it will properly reroll the next time you enter the shop. Previously empty slots did not reroll when re-entering a locked shop.

2. Maxed characters no longer appear in the buy slots (unless locked, or multiple were still available just before the character reached max).

3. Gold now has a base 4% chance to drop on enemy kill. The mercenary bonuses add ontop of this. Lucky Strike still only has 8% chance to drop gold (rolled separately, giving a low chance of sometimes gaining 2 gold per kill).

4. Enemy exploder mines now take longer to detonate and touching them with the SNK stops them from exploding (disarm).

5. Now SNK size can only be increased by playing on a higher NG+, but you gain an extra passive slot each loop. Passive slots are only gained for that run and are reset to the normal 8 when you die or reset the run. NOTE: Currently limited to only 4 extra passive slots that appear below the normal 8 and are mostly cut off below the view-able screen. The game lacks support for scroll-view GUI elements.

6. Added 5 new unlockable characters. Complete NG+5 on loops 0-4 to unlock each them for use in any difficulty level.

7. Added 1 new passive: the Mine Detector, that greatly increases the range for disarming enemy exploder mines.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants