Merge pull request #950 from noudess/patch-3

Update attack.cpp
This commit is contained in:
Michael Cook (mackal) 2020-01-19 16:11:20 -05:00 committed by GitHub
commit 6c91786cfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {