Fixed H&K G80 requires zero charges with effective emitter gunmod #34241
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
SUMMARY: Bugfixes "Fixed H&K G80 requires zero charges with effective emitter gunmod."
Purpose of change
Fix H&K G80 requires zero charges with effective emitter gunmod.
G80's base UPS drain is 5 charges. After installing effective emitter, which reduces UPS drain by 5 charges, G80 doesn't require charges to fire at all. And even if emitter doesn't reduce UPS drain to zero, proportional values for mods seem more natural rather than a fixed one (reduction of 5 is far more noticeable for a 10 base UPS drain weapon (-50%) rather for a 100 base UPS drain weapon (-5%)).
Describe the solution
ups_charges
field of theGUNMOD
item type toups_charges_multiplier
and made it float instead of int.first quarter of 21st century
.Additional context
With a new emitter, G80 will consume 4 charges instead of base value of 5.