I was wondering where in the code gaining exp for using skills, is handled, i dont mind being given 100K for killing the mobile, its the other 400K gained that im objecting too and would like to tone it down some what.
Smaug Exp Syatem
Posted by Robert Powell on Thu 16 Jun 2005 10:41 AM — 3 posts, 13,491 views.
The codebase I'm running has a considerable xp gain given out in the learn_from_success function in skills.c. Notably, when you successfully use a skill, you gain 20*skillLevel xp, where skillLEvel is the level at which you get that skill, or, if 0, the level of the character. Learn from failure does not seem to give out any xp.
Also, there is this strange 'feature' in this code base where you get xp during a fight for the fight itself, in addition to a final chunk of xp at the end of the fight. The xp during the fight is according to % of damage done, but accumulates and is only awarded at the end of the fight. (Skill xp is awarded as you use the skill, it seems.)
Also, there is this strange 'feature' in this code base where you get xp during a fight for the fight itself, in addition to a final chunk of xp at the end of the fight. The xp during the fight is according to % of damage done, but accumulates and is only awarded at the end of the fight. (Skill xp is awarded as you use the skill, it seems.)
I did find that lovely get experience based on % dam, and it seems that it is respocible for giving all that extra exp that i had found, a simple ajustment to the math was all i required to bring exp gained back to a reasonable level.