Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Level UP MaxHitPoints/MaxManaPoints distribution

Newbie Spellweaver
Joined
Apr 14, 2021
Messages
6
Reaction score
0
Hey, do we know how much of those stats they give each class when they level up and/or job advance? Is there a specific formula for this? Is it RNG?

v83.
 
Discord: .z41n
[VIP] Member
Joined
Aug 3, 2008
Messages
172
Reaction score
26
In MapleCharacter.java, go to the levelUp function. There you will see something like:

Code:
if (isBeginner)
        {
            addhp += Randomizer.rand(12, 16);
            addmp += Randomizer.rand(10, 12);
        }
        else if (job.isA(MapleJob.WARRIOR) || job.isA(MapleJob.DAWNWARRIOR1))
        {
            improvingMaxHP = isCygnus() ? SkillFactory.getSkill(DawnWarrior.MAX_HP_INCREASE) : SkillFactory.getSkill(Warrior.IMPROVED_MAXHP);
            if (job.isA(MapleJob.CRUSADER))
            {
                improvingMaxMP = SkillFactory.getSkill(1210000);
            }
            else if (job.isA(MapleJob.DAWNWARRIOR2))
            {
                improvingMaxMP = SkillFactory.getSkill(11110000);
            }
            improvingMaxHPLevel = getSkillLevel(improvingMaxHP);
            addhp += Randomizer.rand(24, 28);
            addmp += Randomizer.rand(4, 6);
        }
...

That's where the stats are being randomized and added.
 
Upvote 0
Newbie Spellweaver
Joined
Apr 14, 2021
Messages
6
Reaction score
0
Is it accurate though or is it just something that the authors put in?

I'm looking for the correct values as they were back then.
 
Upvote 0
Back
Top