aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Instances/InstanceScript.h
diff options
context:
space:
mode:
authorccrs <ccrs@users.noreply.github.com>2019-06-29 18:36:11 +0200
committerShauren <shauren.trinity@gmail.com>2021-12-13 00:42:18 +0100
commit70fd6e7398040dc197c3470c6db8aa82f4e42ab1 (patch)
treedf41e2f2f5307eacb1921b7de200608c736e628d /src/server/game/Instances/InstanceScript.h
parentcadbf42ea4489933f28caf356f8c8d09ca243083 (diff)
Core/Instances: improve DoRemoveAurasDueToSpellOnPlayers & DoCastSpellOnPlayers handling
(cherry picked from commit 22b3b21ae3e60c1f38b8e3bf1d7cd50ee5efca21)
Diffstat (limited to 'src/server/game/Instances/InstanceScript.h')
-rw-r--r--src/server/game/Instances/InstanceScript.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Instances/InstanceScript.h b/src/server/game/Instances/InstanceScript.h
index 532d81c3915..e845a56bd94 100644
--- a/src/server/game/Instances/InstanceScript.h
+++ b/src/server/game/Instances/InstanceScript.h
@@ -227,10 +227,10 @@ class TC_GAME_API InstanceScript : public ZoneScript
void DoStopCriteriaTimer(CriteriaStartEvent startEvent, uint32 entry);
// Remove Auras due to Spell on all players in instance
- void DoRemoveAurasDueToSpellOnPlayers(uint32 spell);
+ void DoRemoveAurasDueToSpellOnPlayers(uint32 spell, bool includePets = false, bool includeControlled = false);
// Cast spell on all players in instance
- void DoCastSpellOnPlayers(uint32 spell);
+ void DoCastSpellOnPlayers(uint32 spell, bool includePets = false, bool includeControlled = false);
// Return wether server allow two side groups or not
static bool ServerAllowsTwoSideGroups();