Implement ability for NPC Merchants to open and close shop

This commit is contained in:
Michael Cook (mackal)
2014-04-01 21:03:49 -04:00
parent 174cb1876a
commit 8866b3170e
8 changed files with 63 additions and 3 deletions
+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();