2007-12-04, 22:29:29
Code:
set FinalDamage = (0.5 * (MaxRange / TargetDistance )) * Damage
Then it doesn't make sense. It does 50% damage at the edge if I try to follow this formula.
(0.5 * (MaxRange / TargetDistance )) * Damage
At the very edge of effect range; lets say 600 range
(0.5 * (600 / 600 )) * Damage
-
(0.5 * 1) * Damage
-
0.5 * Damage = 0.5 damage
-> 50% damage?!
where's the 25% percentage?
I got this calculated:
1-300 range away from core explosion -> 3600 dmg (100%)
350 range away from core explosion -> 3085 dmg (85,7%)
400 range away from core explosion -> 2700 dmg (75%)
450 range away from core explosion -> 2400 dmg (66,7%)
500 range away from core explosion -> 2160 dmg (60%)
550 range away from core explosion -> 1963 dmg (54,5%)
600 range away from core explosion -> 1800 dmg (50%)
There is 2 options
OPTION 1:
I'm using the formula insanely wrong and you're correct the the 25%. It does 25% on the edge.
Code:
SRY! My Fault! Don't read option 2! Explain to me what I did wrong.
OR
OPTION 2:
I'm using the formula correctly and you're wrong the the 25%. It does 50% on the edge.
I'm then suggesting this formula:
Code:
set FinalDamage = (0.25 * (MaxRange^2 / TargetDistance^2 )) * Damage
Or this:
Code:
set FinalDamage = (0.125 * (MaxRange^4 / TargetDistance^4 )) * Damage