From 92b08fc74b368e9512c5238d91e381b6df644219 Mon Sep 17 00:00:00 2001 From: joschiwald Date: Sun, 23 Aug 2015 14:43:11 +0200 Subject: Scripts/VioletHold: rewrote the whole instance thanks @MitchesD for help (cherry picked from commit df21162fe44d2ff29c201a9004586f560789c38b) (cherry picked from commit 3a4f54197c05ce4209c7e659acfd382896607265) (cherry picked from commit f50df728201849ee7185d33c5a061c91e781c8de) (cherry picked from commit 95bae7143f0f4bb7d5975f8a61daa3c533f48225) (cherry picked from commit 5406f82044e7bd6ceb024a67f33c1674400cdc1f) --- src/server/game/Instances/InstanceScript.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/server/game/Instances/InstanceScript.cpp') diff --git a/src/server/game/Instances/InstanceScript.cpp b/src/server/game/Instances/InstanceScript.cpp index 80024879a43..01a82ecb5af 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) -- cgit v1.2.3