From 22b3b21ae3e60c1f38b8e3bf1d7cd50ee5efca21 Mon Sep 17 00:00:00 2001 From: ccrs Date: Sat, 29 Jun 2019 18:36:11 +0200 Subject: Core/Instances: improve DoRemoveAurasDueToSpellOnPlayers & DoCastSpellOnPlayers handling --- src/server/game/Instances/InstanceScript.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server/game/Instances/InstanceScript.h') diff --git a/src/server/game/Instances/InstanceScript.h b/src/server/game/Instances/InstanceScript.h index 6fd35f7c556..bb830183132 100644 --- a/src/server/game/Instances/InstanceScript.h +++ b/src/server/game/Instances/InstanceScript.h @@ -225,10 +225,10 @@ class TC_GAME_API InstanceScript : public ZoneScript void DoStopTimedAchievement(AchievementCriteriaTimedTypes type, 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(); -- cgit v1.2.3