This commit is contained in:
Uleat 2017-02-06 16:35:41 -05:00
commit e9c1681e2c

View File

@ -1298,6 +1298,7 @@ bool Client::Attack(Mob* other, int Hand, bool bRiposte, bool IsStrikethrough, b
// Now figure out damage
my_hit.damage_done = 0;
my_hit.min_damage = 0;
uint8 mylevel = GetLevel() ? GetLevel() : 1;
uint32 hate = 0;
if (weapon) hate = weapon->GetItem()->Damage + weapon->GetItem()->ElemDmgAmt;