Implement ability for NPC Merchants to open and close shop

This commit is contained in:
Michael Cook (mackal) committed 2014-04-01 21:03:49 -04:00
1 parent 174cb1876a
commit 8866b3170e
8 files changed
+63 -3

No files matched your search

+4
View File
@@ -209,6 +209,10 @@ public:
void SetSecSkill(uint8 skill_type) { sec_melee_type = skill_type; }
uint32 MerchantType;
bool merchant_open;
inline void MerchantOpenShop() { merchant_open = true; }
inline void MerchantCloseShop() { merchant_open = false; }
inline bool IsMerchantOpen() { return merchant_open; }
void Depop(bool StartSpawnTimer = false);
void Stun(int duration);
void UnStun();