-
-
Notifications
You must be signed in to change notification settings - Fork 538
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes power consumption for mech movement and reduces the amount of p…
…ower the durand shield consumes (#3300) <!-- Write **BELOW** The Headers and **ABOVE** The comments else it may not be viewable. --> <!-- You can view Contributing.MD for a detailed description of the pull request process. --> ## About The Pull Request <!-- Describe The Pull Request. Please be sure every change is documented or this can delay review and even discourage maintainers from merging your PR! --> - renames normal_step_energy_drain to base_step_energy_drain, which holds the base energy consumption per move. step_energy_drain now handles how much power should be consumed after modifiers. - Mechs used a hardcoded calculation instead of whatever their actual value should be for movement power consumption. This meant swapping out stock parts could give you a worse power consumption and then it already started with, and made the gygax consume 4 times more power then it shouldve with it's leg actuators. Fixes that. - Reduces the power drain of the durand shield from being hit, and it's power efficiency is increased with better capacitors. Increases the passive drain for having it on. ## Why It's Good For The Game <!-- Please add a short description of why you think these changes would benefit the game. If you can't justify it in words, it might not be worth adding. --> Mech abilities were a trap with how much power they consumed, and would often leave you a sitting duck with no power rather than actually helping you. It's a bit unintuitive that it's more efficient to tank with your durand instead of your shield, since a single 9mm bullet would shave 2000 charge off your cell. The shield is now more "durable" since it consumes less charge actively. Passive drain has been increased as a trade off. Being hit is less of a concern, but keeping your shield on unnecessarily will rapidly drain your battery. Bugfixes in general are good, and the gygax should no longer consume obscene amounts of power. ## Changelog :cl: balance: Durand shield consumes less charge on being hit, passive drain increased. fix: Mechs consume the correct amount of power on movement. refactor: normal_step_energy_drain is now base_step_energy_drain /:cl: <!-- Both :cl:'s are required for the changelog to work! You can put your name to the right of the first :cl: if you want to overwrite your GitHub username as author ingame. --> <!-- You can use multiple of the same prefix (they're only used for the icon ingame) and delete the unneeded ones. Despite some of the tags, changelogs should generally represent how a player might be affected by the changes rather than a summary of the PR's contents. -->
- Loading branch information
1 parent
f35bcec
commit a108751
Showing
8 changed files
with
15 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters