From b06505b80a9c6bd9450bee16bd538fb3c8af3efb Mon Sep 17 00:00:00 2001 From: Vayle <76063792+Valorith@users.noreply.github.com> Date: Tue, 18 Jul 2023 20:56:21 -0400 Subject: [PATCH] [Cleanup] Remove arbitrary teleport blocking in Tutorial and Load zones (#3506) --- zone/spells.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/zone/spells.cpp b/zone/spells.cpp index e58c08ab13..63eea41da7 100644 --- a/zone/spells.cpp +++ b/zone/spells.cpp @@ -714,19 +714,6 @@ bool Mob::DoCastingChecksZoneRestrictions(bool check_on_casting, int32 spell_id) return false; } } - /* - Zones where you can not gate. - */ - if (IsClient() && - (zone->GetZoneID() == Zones::TUTORIAL || zone->GetZoneID() == Zones::LOAD) && - CastToClient()->Admin() < AccountStatus::QuestTroupe) { - if (IsEffectInSpell(spell_id, SE_Gate) || - IsEffectInSpell(spell_id, SE_Translocate) || - IsEffectInSpell(spell_id, SE_Teleport)) { - Message(Chat::White, "The Gods brought you here, only they can send you away."); - return false; - } - } } return true;