Merge pull request #301 from KayenEQ/Development

Fix for numhits counter being decreased 2x for Outgoing Hit Success from...
This commit is contained in:
Michael Cook (mackal)
2014-11-26 15:27:43 -05:00
8 changed files with 16 additions and 13 deletions
+2 -5
View File
@@ -1362,11 +1362,8 @@ bool Client::Attack(Mob* other, int Hand, bool bRiposte, bool IsStrikethrough, b
MeleeLifeTap(damage);
if (damage > 0){
CheckNumHitsRemaining(NUMHIT_OutgoingHitSuccess);
if (HasSkillProcSuccess() && other && other->GetHP() > 0)
TrySkillProc(other, skillinuse, 0, true, Hand);
}
if (damage > 0 && HasSkillProcSuccess() && other && other->GetHP() > 0)
TrySkillProc(other, skillinuse, 0, true, Hand);
CommonBreakInvisible();