mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
Update attack.cpp
This commit is contained in:
parent
bcb08f99f0
commit
83ad9c86db
@ -724,7 +724,7 @@ int Mob::GetClassRaceACBonus()
|
|||||||
hardcap = 32;
|
hardcap = 32;
|
||||||
softcap = 15;
|
softcap = 15;
|
||||||
}
|
}
|
||||||
double weight = IsClient() ? CastToClient()->CalcCurrentWeight()/10.0:0;
|
int weight = IsClient() ? CastToClient()->CalcCurrentWeight()/10 : 0;
|
||||||
if (weight < hardcap - 1) {
|
if (weight < hardcap - 1) {
|
||||||
double temp = level + 5;
|
double temp = level + 5;
|
||||||
if (weight > softcap) {
|
if (weight > softcap) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user