Ideas:chad3f:SkillsSystem: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Chad3f
imported>Chad3f
Line 112: Line 112:
effective_atk = (10 * 0.074) +/- (10 * 20%) = 0.74 +/- 2.0 = [0.00 - 2.74]
effective_atk = (10 * 0.074) +/- (10 * 20%) = 0.74 +/- 2.0 = [0.00 - 2.74]


In this case, let's assume the the number 1.60 was generated. And assuming this was enough to kill something (or accrue per-hits xp), with the total xp earned was 20, the amount of xp given to each skill is:
In this case, let's assume the the number 1.60 was generated. And assuming this was enough to kill something (or accrue per-hits xp), with the total xp earned being 20, the amount of xp given to each skill is:


portion skill xp
portion skill xp
Line 123: Line 123:
strength 0.014 0.29
strength 0.014 0.29


These dived xp points are then added to each skill (this example assumes skill is stored as xp and converted to [0-1] skill values when needed). The next time the weapon is used, the new skill values contribute to it's potential as done above resulting in a slightly better use (statistically speaking, given the random factor).
These dived xp points are then added to each skill (this example assumes skill is stored as xp and converted to [0-1] skill values when needed). The next time the weapon is used, the new skill values contribute to it's potential as before, only this time resulting in a slightly better use (statistically speaking, given the random factor and other optional external effects [like karma]).


Now let's say that many days (or weeks/months) have passed with the player constaintly using only their knife and improving their associated skills.. so much so, they have maxed out all those skills to their full potential (1.0) and finally decide to upgrade to a short_sword with a full atk of 20.
Now let's say that many days (or weeks/months) have passed with the player constaintly using only their knife and improving their associated skills.. so much so, they have maxed out all those skills to their full potential (1.0) and finally decide to upgrade to a short_sword with a full atk of 20.