StendhalRefactoringRP: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>MiguelAngelBlanchLardin
imported>Danter
Line 69: Line 69:
We should also consider later the usage of arrows or ammunition that does more damage than the standard.
We should also consider later the usage of arrows or ammunition that does more damage than the standard.


<pre>
damage = damage * ( 1 - (actual_distance / max_range) ) + ( damage - damage * ( 1 - (min_range / max_range) ) ) * ( 1 - (actual_distance / max_range) )
attacker part = 0.8 * (roll 1D100 / 100) * source[ATK]^2 + 4 * source[ATK] * (weapon + arrow)
damage = 0.8 * source[ATK]^2 + 4 * (weapon + arrow)
maxdamage = damage * ( 1 - (actual_distance / max_range) ) + ( damage - damage * ( 1 - (min_range / max_range) ) )
* ( 1 - (actual_distance / max_range) )
</pre>


==Magic==
==Magic==