arcburnergit / RAD-FTL-MV-Addon

An in development addon for the FTL: Multiverse Mod.
MIT License
2 stars 1 forks source link

Typo and rounding fix for Multishot Weapons #15

Closed nissa-seru closed 1 month ago

nissa-seru commented 2 months ago

Current:

  1. The description of Multishot Weapons reads in part "When used with multishot all projectiles are doubled but retain their original damage".
  2. The calculation logic for Multishot Weapons augment causes damage for the original projectile to be rounded up, as well as damage for the new projectile (created by the duplication effect of the augment.)

Proposed:

  1. Change description to read "when used with High Energy Weapons" (emphasis mine) to match the mod's calculation logic when both augments are present.
  2. Change calculation logic for Multishot Weapons to round down damage for the original projectile; this maintains parity with how the augment treats damage from beam weapons (and is consistent with the augment's description.) (see #7)

Note that this does not address the potential for Multishot Weapons to behave unintuitively when base projectile damage is fractional.