Weapon Range - Phased Polaron Beam max range only 60? |
In Components.Txt, I see this entry for the Anti Proton Beam:
Weapon Space Min Damage Modifier Formula :=
(20 + (([%Level%] - 1) * 5)) -
(([%Range%] / 10) * 1.67) -
iif([%Range%] > Min(90, (([%Level%] - 1) * 10) + 30), 10000, 0)
If the range is greater than the minimum between 90 and (level-1) * 10 + 30, then subtract 10000, else subtract nothing. So, the max range is 90.
The Phased Polaron Beam has this entry:
Weapon Space Min Damage Modifier Formula :=
(30 + (([%Level%] - 1) * 5)) -
(([%Range%] / 10) * 2.00) -
iif([%Range%] > Min(120, (([%Level%] - 1) * 0) + 60), 10000, 0)
This one means that is the range is greater than the minimum between 120 and 60--in other words, 60, then subtract 10000. So, the max range is always 60, right?
If the PPB entry were consistent with the APB entry, then wouldn't that zero be a 10?
In other words, shouldn't the last part read:
iif([%Range%] > Min(120, (([%Level%] - 1) * 10) + 60), 10000, 0) ??
Then, this would mean the Min phrase compares 120 and some value that can be greater than 120 and would give a max range of 120.
If that zero really belongs there, then wouldn't it be easier to just wite:
iif([%Range%] > 60, 10000, 0) ?
Thanks!

Reported but missed?
It was a reported bug at some point, but it looks to have slipped through the cracks.
-----




Noticed Captain Kwok address this in his Balance Mod
I did some searching on the "other" SE website and found a reference to Captain Kwok fixing this typo in his Balance Mod. So, presumably Malfador is aware of the typo.