AtomicTorch Studio Forums

VoidExpanse => Bug reports => Topic started by: Hammish on August 17, 2014, 04:39:39 AM

Title: Skill Points
Post by: Hammish on August 17, 2014, 04:39:39 AM
Game version: First noticed in .96c
Game mode: Single-player. (At least)
Bug location: Skill screen.
Steps to reproduce: Level up!
Reproduction rate: 100%

Not sure if this was tweaked some time back, but when I currently level up my character only seemed to be getting 5 SP.  Last time I played a serious character fairly high I thought gain/level was around 20, instead.  Is 5 skill points/level the correct/rebalanced amount (thus wanting very specialized characters) or a possible bug?
Title: Re: Skill Points
Post by: BeLugh on August 17, 2014, 04:42:48 AM
When testing the my mod i also had the feeling to get some extra skill points sometimes. But i guess some levels have experience needed calculated a little bit wrong. So that skill points are right, but some levels are gained faster than others. Not sure if this is right, but i got the feeling at least. Especially above lvl 20.
Title: Re: Skill Points
Post by: Hammish on August 17, 2014, 04:46:45 AM
Yeah, it's nothing game-breaking or anything, especially since I know they're still looking to do quite a bit with character concepts... just figured I'd ask how it's supposed to work now, if nothing else from a balancing standpoint for my own mod.
Title: Re: Skill Points
Post by: Lurler on August 17, 2014, 07:38:40 PM
Ehm... so you are just getting 5 SP instead of 10 SP on level up? O_o
Title: Re: Skill Points
Post by: BeLugh on August 17, 2014, 09:12:33 PM
10 per level is jormal. but sometimes you level that fast that you somehow already have 20-40 but maybe its only that the game feels slower than you actually level up
Title: Re: Skill Points
Post by: ai_enabled on August 17, 2014, 11:14:42 PM
I just checked code and I can assure you that every level gives you 10 skill points. If you gain instantly more that 1 level, you will receive 10 * (levels delta) skill points.
Title: Re: Skill Points
Post by: BeLugh on August 18, 2014, 12:42:33 AM
In that case, can you please check xp for level ups needed if there is something strange?
When this one is fine as well, leveling is sometimes just faster than it feels to.
Title: Re: Skill Points
Post by: ai_enabled on August 18, 2014, 03:09:02 AM
Experience for next level calculated by script Leveling.js:
function GetLevelExp(args)
{
    if (args.level < 2)
    {
        return 0;
    }

    return 500 * args.level + Math.pow(args.level, 2.7);
}


As you can see on Worlfram Alpha plotted graph (http://www.wolframalpha.com/input/?i=plot+500+*+x+%2B+x%5E2.7+from+x%3D1+to+100) higher levels requires significantly more experience.
Title: Re: Skill Points
Post by: Hammish on August 18, 2014, 03:34:46 AM
Yeah, I'm not sure why it seemed to be giving less on one run, but it's entirely possible I was just overtired.  Sorry about that.

Just did a trial run of level 1 to 10 and I came out with exactly the amount of SP I should have had.