mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-03 19:42:23 +00:00
Fix for numhits counter being decreased 2x for Outgoing Hit Success from client melee attacks.
This commit is contained in:
parent
79a70271d5
commit
5970b0ee41
@ -1362,11 +1362,8 @@ bool Client::Attack(Mob* other, int Hand, bool bRiposte, bool IsStrikethrough, b
|
|||||||
|
|
||||||
MeleeLifeTap(damage);
|
MeleeLifeTap(damage);
|
||||||
|
|
||||||
if (damage > 0){
|
if (damage > 0 && HasSkillProcSuccess() && other && other->GetHP() > 0)
|
||||||
CheckNumHitsRemaining(NUMHIT_OutgoingHitSuccess);
|
TrySkillProc(other, skillinuse, 0, true, Hand);
|
||||||
if (HasSkillProcSuccess() && other && other->GetHP() > 0)
|
|
||||||
TrySkillProc(other, skillinuse, 0, true, Hand);
|
|
||||||
}
|
|
||||||
|
|
||||||
CommonBreakInvisible();
|
CommonBreakInvisible();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user