diff options
author | joschiwald <joschiwald.trinity@gmail.com> | 2015-08-23 14:43:11 +0200 |
---|---|---|
committer | joschiwald <joschiwald.trinity@gmail.com> | 2015-08-23 14:43:11 +0200 |
commit | df21162fe44d2ff29c201a9004586f560789c38b (patch) | |
tree | 5ba7d971af1c49ddbb6be895e8eab460d6188a14 /src/server/game/Instances/InstanceScript.cpp | |
parent | 68e6c95f16dc978066bb957407a1c3bfd4cb8505 (diff) |
Scripts/VioletHold: rewrote the whole instance
thanks @MitchesD for help
Diffstat (limited to 'src/server/game/Instances/InstanceScript.cpp')
-rw-r--r-- | src/server/game/Instances/InstanceScript.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/server/game/Instances/InstanceScript.cpp b/src/server/game/Instances/InstanceScript.cpp index da806e5b038..5d44f3ec696 100644 --- a/src/server/game/Instances/InstanceScript.cpp +++ b/src/server/game/Instances/InstanceScript.cpp @@ -319,6 +319,11 @@ bool InstanceScript::SetBossState(uint32 id, EncounterState state) return false; } +bool InstanceScript::_SkipCheckRequiredBosses(Player const* player /*= nullptr*/) const +{ + return player && player->GetSession()->HasPermission(rbac::RBAC_PERM_SKIP_CHECK_INSTANCE_REQUIRED_BOSSES); +} + void InstanceScript::Load(char const* data) { if (!data) |