mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-04-29 17:19:20 +02:00
introduce correct 7.72 formulas for the magic level increment because previously it was pre 7.6 formulas
This commit is contained in:
parent
6f97252da4
commit
73a8b19383
@ -94,7 +94,7 @@ newbieLevelThreshold = 5
|
||||
rateExp = 1
|
||||
rateSkill = 3
|
||||
rateLoot = 2
|
||||
rateMagic = 1
|
||||
rateMagic = 2
|
||||
rateSpawn = 0
|
||||
|
||||
-- Monsters
|
||||
|
@ -187,7 +187,7 @@ uint64_t Vocation::getReqMana(uint32_t magLevel)
|
||||
return it->second;
|
||||
}
|
||||
|
||||
uint64_t reqMana = static_cast<uint64_t>(400 * std::pow<double>(manaMultiplier, static_cast<int32_t>(magLevel) - 1));
|
||||
uint64_t reqMana = static_cast<uint64_t>(1600 * std::pow<double>(manaMultiplier, static_cast<int32_t>(magLevel) - 1));
|
||||
uint32_t modResult = reqMana % 20;
|
||||
if (modResult < 10) {
|
||||
reqMana -= modResult;
|
||||
|
Loading…
x
Reference in New Issue
Block a user