Based on GetDamageAddAmount() in AtlasOF_FuryOfTheGods, it looks like 30% extra damage for example should be written 30.0 instead of 1.3. This fixes that. Also confirmed by the original code which did DPS_AF * SPD_ABS * 0.1 * 0.1 * Level * 0.1. Both DPS_AF and SPD_ABS are integers and I believe a 16.5 DPS is actually 165, 4.3 speed is actually 43. So with that weapon and a level 3 RA, it gave 21.285, not 1.21285.
I got triggered by the amount of copy pasted code so I tried to reduce it. Double check I didn't break anything, or just close the pull request and only fix the three GetDamageAddAmount(), I'm fine both ways.
https://bug.atlasfreeshard.com/issues/189
Based on
GetDamageAddAmount()
inAtlasOF_FuryOfTheGods
, it looks like 30% extra damage for example should be written 30.0 instead of 1.3. This fixes that. Also confirmed by the original code which didDPS_AF * SPD_ABS * 0.1 * 0.1 * Level * 0.1
. BothDPS_AF
andSPD_ABS
are integers and I believe a 16.5 DPS is actually 165, 4.3 speed is actually 43. So with that weapon and a level 3 RA, it gave 21.285, not 1.21285.I got triggered by the amount of copy pasted code so I tried to reduce it. Double check I didn't break anything, or just close the pull request and only fix the three GetDamageAddAmount(), I'm fine both ways.
Also fixed RA cost.