StendhalDesign: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
Line 249: Line 249:


=RP=
=RP=
Role playing games are based in a set of rules. There are many set of rules: AD&D, GURPS, Warhammer,...<br>
'''TODO:''' Describe here the RP rules
Stendhal defines a new ''typical'' set of rules, that has in common simplicity and ease of computing.

The system is based around 3 ideas:
* Randomness using 1D6
* Risk evaluation
* Creativity

Risk evaluation gives the DM the power to weight up an action that a player wishes to perform against things like how experienced the player is in that type of action and the situation the player is in.

DM stands for ''Dungeon Master''. In Stendhal our task is to design the DM, as it rules the game.

== Attributes ==
Each player has a set of attributes that are:
* <b>attack</b> - this value is used to resolve attack situations.
* <b>defense</b> - this value is used to resolve situations where the player is attacked.
* <b>hp</b> - this value stored the live points available.
* <b>skill</b> - this value is used when performing a skill

* <b>level</b> - this starts off as zero when the character is created and will increase related to experience
* <b>experience</b> - this is the amount of experience gained at the current level

== Experience and levels ==
All of the attributes can be increased during the game through gaining experience and levels.
Experience is awarded by DM for several reasons:
* good roleplaying
* use of skills
* combats

Experience can't be gained by training.

When you gain a level you can increase one of the attributes.
To reach a level you need to reach the next experience points:
<table>
<tr><td>Level</td><td>Experience needed</td></tr>
<tr><td>1</td><td>10</td></tr>
<tr><td>2</td><td>20</td></tr>
<tr><td>3</td><td>40</td></tr>
<tr><td>4</td><td>80</td></tr>
<tr><td>5</td><td>160</td></tr>
<tr><td>6</td><td>320</td></tr>
<tr><td>7</td><td>previos*2</td></tr>
</table>


= Pseudocode =
= Pseudocode =