StendhalRefactoring: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>MiguelAngelBlanchLardin
imported>MiguelAngelBlanchLardin
Line 37: Line 37:


==Combat==
==Combat==
Combat right now works as follows:
<pre>
risk to hit= source[ATK]-target[DEF]+ roll -10

if risk to hit > 0:
for source[ATK]+weapon times do:
damage = damage + roll 1D6;

for target[DEF]+shield+armor times do:
damage = damage - roll 1D6;

damage = damage / 4
</pre>


===Range combat===
===Range combat===