mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
Update attack.cpp
Fix to Monk Mitigation. Divided weight by 10 to convert to stones.
This commit is contained in:
parent
43df845233
commit
8eb60302a2
@ -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) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user