mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-22 12:18:27 +00:00
int16/32 mismatch fixes. see changelog.txt
This commit is contained in:
+1
-1
@@ -2098,7 +2098,7 @@ void NPC::CalcNPCDamage() {
|
||||
max_dmg = (GetLevel()*2)*AC_adjust/10;
|
||||
}
|
||||
|
||||
int clfact = GetClassLevelFactor();
|
||||
int32 clfact = GetClassLevelFactor();
|
||||
min_dmg = (min_dmg * clfact) / 220;
|
||||
max_dmg = (max_dmg * clfact) / 220;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user