From cd175d349aade6f5d33eae57f238663517fc4de5 Mon Sep 17 00:00:00 2001 From: Zoey76 <zoey_76@msn.com> Date: Wed, 17 Apr 2013 17:49:13 +0000 Subject: [PATCH] BETA: Configuration option to allow access to Hellbound without quests. Patch by: St3eT --- .../data/scripts/ai/npc/Teleports/Warpgate/Warpgate.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/ai/npc/Teleports/Warpgate/Warpgate.java b/L2J_DataPack_BETA/dist/game/data/scripts/ai/npc/Teleports/Warpgate/Warpgate.java index 5380bbaf56..512c2eeff4 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/ai/npc/Teleports/Warpgate/Warpgate.java +++ b/L2J_DataPack_BETA/dist/game/data/scripts/ai/npc/Teleports/Warpgate/Warpgate.java @@ -22,6 +22,7 @@ import quests.Q00130_PathToHellbound.Q00130_PathToHellbound; import quests.Q00133_ThatsBloodyHot.Q00133_ThatsBloodyHot; import ai.npc.AbstractNpcAI; +import com.l2jserver.Config; import com.l2jserver.gameserver.ThreadPoolManager; import com.l2jserver.gameserver.instancemanager.HellboundManager; import com.l2jserver.gameserver.model.PcCondOverride; @@ -58,6 +59,11 @@ public class Warpgate extends AbstractNpcAI return false; } + if (Config.HELLBOUND_WITHOUT_QUEST) + { + return true; + } + QuestState st; if (!HellboundManager.getInstance().isLocked()) { -- GitLab