[Combat] Implemented rule for live like Riposte mechanics (#1927)

* Live like Riposte

* [Combat] Implemented rule for live like Riposte mechanics

bot fix
This commit is contained in:
KayenEQ
2022-01-15 19:37:47 -05:00
committed by GitHub
parent 91aa950304
commit 5f482a9b30
4 changed files with 25 additions and 11 deletions
+1 -1
View File
@@ -195,7 +195,7 @@ public:
// 13 = Primary (default), 14 = secondary
virtual bool Attack(Mob* other, int Hand = EQ::invslot::slotPrimary, bool FromRiposte = false, bool IsStrikethrough = false,
bool IsFromSpell = false, ExtraAttackOptions *opts = nullptr) = 0;
void DoAttack(Mob *other, DamageHitInfo &hit, ExtraAttackOptions *opts = nullptr);
void DoAttack(Mob *other, DamageHitInfo &hit, ExtraAttackOptions *opts = nullptr, bool FromRiposte = false);
int MonkSpecialAttack(Mob* other, uint8 skill_used);
virtual void TryBackstab(Mob *other,int ReuseTime = 10);
bool AvoidDamage(Mob *attacker, DamageHitInfo &hit);