mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 05:36:23 +00:00
fix(Core/SmartScripts): Implemented new target type: SMART_TARGET_SUM… (#13880)
* fix(Core/SmartScripts): Implemented new target type: SMART_TARGET_SUMMONED_CREATURES. Fixes #13787 * Update. * Update.
This commit is contained in:
@@ -232,6 +232,9 @@ public:
|
||||
bool AllowPhaseReset() const { return _allowPhaseReset; }
|
||||
void SetPhaseReset(bool allow) { _allowPhaseReset = allow; }
|
||||
|
||||
void AddCreatureSummon(ObjectGuid const& guid);
|
||||
void RemoveCreatureSummon(ObjectGuid const& guid);
|
||||
|
||||
private:
|
||||
void IncPhase(uint32 p);
|
||||
void DecPhase(uint32 p);
|
||||
@@ -306,6 +309,8 @@ private:
|
||||
SmartScriptHolder s;
|
||||
return s;
|
||||
}
|
||||
|
||||
GuidUnorderedSet _summonList;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user