diff options
Diffstat (limited to 'src/server/game/Instances/InstanceScript.h')
| -rwxr-xr-x | src/server/game/Instances/InstanceScript.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/server/game/Instances/InstanceScript.h b/src/server/game/Instances/InstanceScript.h index 26a06af3ecd..675adc9304b 100755 --- a/src/server/game/Instances/InstanceScript.h +++ b/src/server/game/Instances/InstanceScript.h @@ -173,6 +173,9 @@ class InstanceScript : public ZoneScript // Remove Auras due to Spell on all players in instance void DoRemoveAurasDueToSpellOnPlayers(uint32 spell); + // Cast spell on all players in instance + void DoCastSpellOnPlayers(uint32 spell); + // Return wether server allow two side groups or not bool ServerAllowsTwoSideGroups() { return sWorld->getBoolConfig(CONFIG_ALLOW_TWO_SIDE_INTERACTION_GROUP); } @@ -183,6 +186,10 @@ class InstanceScript : public ZoneScript // Achievement criteria additional requirements check // NOTE: not use this if same can be checked existed requirement types from AchievementCriteriaRequirementType virtual bool CheckAchievementCriteriaMeet(uint32 /*criteria_id*/, Player const* /*source*/, Unit const* /*target*/ = NULL, uint32 /*miscvalue1*/ = 0); + + // Checks boss requirements (one boss required to kill other) + virtual bool CheckRequiredBosses(uint32 /*bossId*/, Player const* /*player*/ = NULL) const { return true; } + protected: void SetBossNumber(uint32 number) { bosses.resize(number); } void LoadDoorData(const DoorData *data); |
