mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Scripts/VioletHold: rewrote the whole instance
thanks @MitchesD for help (cherry picked from commitdf21162fe4) (cherry picked from commit3a4f54197c) (cherry picked from commitf50df72820) (cherry picked from commit95bae7143f) (cherry picked from commit5406f82044)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user