• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

C++ Loss Skill and Magic Level

williamwzk

New Member
Joined
Jul 2, 2021
Messages
1
Reaction score
0
GitHub
williamwzk
I need a programmer who works with C++, to change the loss of Magic Level and Skill (players lose a lot after they die).

player.cpp

C++:
void Player::death(Creature* lastHitCreature)

lostMana = static_cast<uint64_t>(sumMana * deathLossPercent);
uint32_t lostSkillTries = static_cast<uint32_t>(sumSkillTries * deathLossPercent);
Loss Magic Level and Skill
void Player::death(Creature* lastHitCreature)

lostMana = static_cast<uint64_t>(sumMana * deathLossPercent);
uint32_t lostSkillTries = static_cast<uint32_t>(sumSkillTries * deathLossPercent);
 

Similar threads

Back
Top