[Feature] Add IsOfClientBotMerc() virtual method. (#2843)

This commit is contained in:
Aeadoin
2023-02-06 21:03:48 -05:00
committed by GitHub
parent 0a114fae9a
commit 14addd4869
4 changed files with 18 additions and 14 deletions
+1
View File
@@ -123,6 +123,7 @@ public:
bool UseDiscipline(int32 spell_id, int32 target);
virtual bool IsMerc() const { return true; }
bool IsOfClientBotMerc() const override { return true; }
virtual void FillSpawnStruct(NewSpawn_Struct* ns, Mob* ForWho);
static Merc* LoadMerc(Client *c, MercTemplate* merc_template, uint32 merchant_id, bool updateFromDB = false);