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