Dilio
Owner of Project Thala
All credit still goes to Kokokoko for the idea, and I'm sure I'm not the first to figure this out, but I figured out a simple alternative for full hp and mana at a level up.
Anyways, go to player.cpp and find:
Next highlight that up to:
Now, just replace that with:
For people who are a bit more advanced, all you're doing is changing:
to:
and:
to:
As I said, the idea was Kokokoko's, but with his script, it debugged my server for some strange reason. So... yep.
Anyways, go to player.cpp and find:
Code:
healthMax += vocation->getGain(GAIN_HEALTH);
Code:
capacity += vocation->getGainCap();
Code:
healthMax += vocation->getGain(GAIN_HEALTH);
health = healthMax;
manaMax += vocation->getGain(GAIN_MANA);
mana = manaMax;
capacity += vocation->getGainCap();
Code:
health += vocation->getGain(GAIN_HEALTH);
Code:
health = healthMax;
Code:
mana += vocation->getGain(GAIN_MANA);
Code:
mana = manaMax;
As I said, the idea was Kokokoko's, but with his script, it debugged my server for some strange reason. So... yep.