StendhalRefactoringClassBasics: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Bcmpinc
imported>Bcmpinc
Line 50: Line 50:


'''Example:'''
'''Example:'''
A player has used his heal spell 20 times and his sword 150 times. At the end of a quest he gains 100 exp. His heal level will raise with 1000 * 20 / (20 + 150 * 0.1) exp and his swordfighting level with <math>1000 * 150 * 0.1 /(20 + 150 * 0.1) exp. Because you need to use a sword more times to gain any effect it's uses is multiplied by 0.1.
A player has used his heal spell 20 times and his sword 150 times. At the end of a quest he gains 100 exp. His heal level will raise with 1000 * 20 / (20 + 150 * 0.1) exp and his swordfighting level with 1000 * 150 * 0.1 / (20 + 150 * 0.1) exp. Because you need to use a sword more times to gain any effect it's uses is multiplied by 0.1.


This makes cooporation of a party more needed. A warrior will always welcome a Mage to join the party and a priest. He can't do the quest alone. He needs healing from the other. And a priest with good exp with undead, can be very helpful in the fight against undead creatures. Priests heal better than Mages do, and warrior can't heal at all. Warriors use only healing potions, not magic scrolls.
This makes cooporation of a party more needed. A warrior will always welcome a Mage to join the party and a priest. He can't do the quest alone. He needs healing from the other. And a priest with good exp with undead, can be very helpful in the fight against undead creatures. Priests heal better than Mages do, and warrior can't heal at all. Warriors use only healing potions, not magic scrolls.