StendhalDesign: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
Line 281: Line 281:
When you gain a level you can increase one of the attributes.
When you gain a level you can increase one of the attributes.
To reach a level you need to reach the next experience points:
To reach a level you need to reach the next experience points:

<table border=1 align=center>
<table border=1 align=center>
<tr bgcolor=black><td><font color=white>Level</font></td><td><font color=white>Experience needed</font></td></tr>
<tr bgcolor=black><td><font color=white>Level</font></td><td><font color=white>Experience needed</font></td></tr>
Line 295: Line 296:
Combat is a fight between two or more players.
Combat is a fight between two or more players.


The combat is round based.
The combat is round based. Each round takes 10 turns.

To determine whose player start first choose the player who has the biggest value of:
To determine whose player start first choose the player who has the biggest value of:
<pre>
<pre>
Player.Level + 1D6
Player.Level + 1D6
</pre>
</pre>

The risk to strike a player can be written as:
<pre>
Attacker.attack + 1D6 VS Defender.defense + Defender.shield.rating + 1D6
</pre>

If player is hit we need to compute the wound that has been done:
<pre>
result = Attacker.weapon.rating - Defender.armor.rating + 1D6 each 6 Attacker.level
if result > 0:
Defender.hp = Defender.hp - result
end if
</pre>

Death happens when hp reachs 0.

hp points are recovered at a natural rate of 1 HP point each 1000 turns.

===Shields===
The shield rating adds to your defense skill:
<table border=1 align=center>
<tr bgcolor=black><td><font color=white>Shield</font></td><td><font color=white>Rating</font></td></tr>
<tr><td>Buckler shield</td><td>+1</td></tr>
<tr><td>Small shield</td><td>+2</td></tr>
<tr><td>Medium shield</td><td>+3</td></tr>
<tr><td>Tower shield</td><td>+5</td></tr>
</table>

===Armour===
Armour helps you absorb damage.
<table border=1 align=center>
<tr bgcolor=black><td><font color=white>Armour</font></td><td><font color=white>Rating</font></td></tr>
<tr><td>Leather armour</td><td>+1</td></tr>
<tr><td>Studded leather armour</td><td>+2</td></tr>
<tr><td>Scale mail armour</td><td>+3</td></tr>
<tr><td>Chain mail armour</td><td>+4</td></tr>
<tr><td>Plate mail armour</td><td>+5</td></tr>
<tr><td>Field plate armour</td><td>+6</td></tr>
<tr><td>Full plate armour</td><td>+7</td></tr>
</table>

===Weapon===
Weapon helps you to kill :)
<table border=1 align=center>
<tr bgcolor=black><td><font color=white>Weapon</font></td><td><font color=white>Rating</font></td></tr>
<tr><td>Knife</td><td>+2</td></tr>
<tr><td>Club</td><td>+3</td></tr>
<tr><td>Spear</td><td>+4</td></tr>
<tr><td>Axe</td><td>+5</td></tr>
<tr><td>Long sword</td><td>+6</td></tr>
<tr><td>Two hand sword</td><td>+7</td></tr>
</table>


= Pseudocode =
= Pseudocode =