[Bug Fix] Potential fix for some undesired ranged explotative behavior. (#4413)

Original Commit: 33fecd68d4eab36885eb7f8067102ba6bce95bac

Conditional ranged double attack
This commit is contained in:
Fryguy authored and GitHub committed 2024-07-22 06:05:46 -04:00
1 parent a23ac4628f
commit 3bfdc0cf71
3 files changed
+54 -48

No files matched your search

+1 -1
View File
@@ -1133,7 +1133,7 @@ public:
void RemoveNoRent(bool client_update = true);
void RemoveDuplicateLore(bool client_update = true);
void MoveSlotNotAllowed(bool client_update = true);
virtual void RangedAttack(Mob* other, bool CanDoubleAttack = false);
virtual bool RangedAttack(Mob* other, bool CanDoubleAttack = false);
virtual void ThrowingAttack(Mob* other, bool CanDoubleAttack = false);
void DoClassAttacks(Mob *ca_target, uint16 skill = -1, bool IsRiposte=false);