From 5c99030d3454a9c7cb08679a8f070ed65a20f694 Mon Sep 17 00:00:00 2001 From: xban1x <urban.lavbic@gmail.com> Date: Mon, 26 Aug 2013 14:31:09 +0000 Subject: [PATCH] BETA: Missing enums update for Jython scripts, for [L6187] * Reported by: Konstantinos * Patch by: Konstantinos --- .../game/data/scripts/quests/235_MimirsElixir/__init__.py | 4 ++-- .../game/data/scripts/quests/236_SeedsOfChaos/__init__.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/235_MimirsElixir/__init__.py b/L2J_DataPack_BETA/dist/game/data/scripts/quests/235_MimirsElixir/__init__.py index d60ab8d9d3..98a7126bc2 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/235_MimirsElixir/__init__.py +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/235_MimirsElixir/__init__.py @@ -4,7 +4,7 @@ import sys from com.l2jserver.gameserver.model.quest import State from com.l2jserver.gameserver.model.quest import QuestState from com.l2jserver.gameserver.model.quest import Quest as JQuest -from com.l2jserver.gameserver.model.base import Race +from com.l2jserver.gameserver.enums import PcRace #Quest info qn = "235_MimirsElixir" QUEST_NUMBER,QUEST_NAME,QUEST_DESCRIPTION = 235,"MimirsElixir","Mimir's Elixir" @@ -59,7 +59,7 @@ class Quest (JQuest) : if npcId == LADD : if id == State.CREATED : st.set("cond","0") - if player.getRace() == Race.Kamael : + if player.getRace() == PcRace.Kamael : st.exitQuest(1) htmltext = "<html><body>I'm sorry, but I am not allowed to offer this quest to Kamael. Talk to Hierarch Kekropus.</body></html>" elif player.getLevel() < MINLEVEL : diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/236_SeedsOfChaos/__init__.py b/L2J_DataPack_BETA/dist/game/data/scripts/quests/236_SeedsOfChaos/__init__.py index 95d965cfce..298f157761 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/236_SeedsOfChaos/__init__.py +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/236_SeedsOfChaos/__init__.py @@ -5,7 +5,7 @@ import sys from com.l2jserver.gameserver.model.quest import State from com.l2jserver.gameserver.model.quest import QuestState from com.l2jserver.gameserver.model.quest import Quest as JQuest -from com.l2jserver.gameserver.model.base import Race +from com.l2jserver.gameserver.enums import PcRace qn = "236_SeedsOfChaos" @@ -151,7 +151,7 @@ class Quest (JQuest) : if npcId == KEKROPUS : if id == State.CREATED : st.set("cond","0") - if player.getRace() != Race.Kamael : + if player.getRace() != PcRace.Kamael : st.exitQuest(1) htmltext = "<html><body>I'm sorry, but I can only give this quest to Kamael. Talk to Magister Ladd.</body></html>" elif player.getLevel() < 75 : -- GitLab