1
Programming / Re: What rpg system are you using?
« on: August 17, 2011, 07:21:00 AM »
Most things are handled as rolls between opposed values. For example the attacker's hit versus the defender's dodge is how the to-hit roll is handled. For each value, a random number in the range 0 to the value is generated, and whichever develops the higher number "wins". For example, if I have attack 10 and a monster has dodge 12, then if my 0-10 number turns out to be 7 and his 0-12 number turns out to be 3, then I hit him. Nothing adds to or subtracts from the rolls; magical bonuses and penalties are added to the values before the rolls are made, so a "+3" sword adds 3 to my attack, or a -3 sword adds 3 to the opponent's dodge.
That's how i planned to handle rolls aswell, and then calculate damage based on weapon vs armor.