Update attack.cpp

Fix to Monk Mitigation.  Divided weight by 10 to convert to stones.
This commit is contained in:
Paul Coene 2020-01-19 16:03:09 -05:00 committed by GitHub
parent 43df845233
commit 8eb60302a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -724,7 +724,7 @@ int Mob::GetClassRaceACBonus()
hardcap = 32;
softcap = 15;
}
int weight = IsClient() ? CastToClient()->CalcCurrentWeight() : 0;
int weight = IsClient() ? CastToClient()->CalcCurrentWeight()/10 : 0;
if (weight < hardcap - 1) {
int temp = level + 5;
if (weight > softcap) {