mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 13:41:31 +00:00
commit
6c91786cfb
@ -724,7 +724,7 @@ int Mob::GetClassRaceACBonus()
|
|||||||
hardcap = 32;
|
hardcap = 32;
|
||||||
softcap = 15;
|
softcap = 15;
|
||||||
}
|
}
|
||||||
int weight = IsClient() ? CastToClient()->CalcCurrentWeight() : 0;
|
int weight = IsClient() ? CastToClient()->CalcCurrentWeight()/10 : 0;
|
||||||
if (weight < hardcap - 1) {
|
if (weight < hardcap - 1) {
|
||||||
int temp = level + 5;
|
int temp = level + 5;
|
||||||
if (weight > softcap) {
|
if (weight > softcap) {
|
||||||
@ -5491,4 +5491,4 @@ int32 Mob::GetHPRegen() const
|
|||||||
int32 Mob::GetManaRegen() const
|
int32 Mob::GetManaRegen() const
|
||||||
{
|
{
|
||||||
return mana_regen;
|
return mana_regen;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user