[Bots] Add Virtual Override for Bot::Attack (#2771)

This commit is contained in:
Aeadoin
2023-01-20 17:13:40 -05:00
committed by GitHub
parent 886f80117c
commit e010e41a83
2 changed files with 12 additions and 9 deletions
+3
View File
@@ -372,6 +372,9 @@ public:
uint32* oSpellWillFinish = 0, uint32 item_slot = 0xFFFFFFFF, uint32 aa_id = 0);
inline int64 GetFocusEffect(focusType type, uint16 spell_id, Mob *caster = nullptr, bool from_buff_tic = false) override
{ return Mob::GetFocusEffect(type, spell_id, caster, from_buff_tic); }
inline bool Attack(Mob* other, int Hand = EQ::invslot::slotPrimary, bool FromRiposte = false, bool IsStrikethrough = false,
bool IsFromSpell = false, ExtraAttackOptions *opts = nullptr) override
{ return Mob::Attack(other, Hand, FromRiposte, IsStrikethrough, IsFromSpell, opts); }
bool GetBotOwnerDataBuckets();
bool GetBotDataBuckets();