浏览代码

BETA: Missing quest '''Story of Those Left''' (10287).
'''NOTE:''' Freya Feature.

Adry_85 11 年之前
父节点
当前提交
7e4444858b
共有 24 个文件被更改,包括 446 次插入1 次删除
  1. 19 0
      L2J_DataPack_BETA/dist/game/data/instances/JiniaGuildHideout4.xml
  2. 2 1
      L2J_DataPack_BETA/dist/game/data/scripts.cfg
  3. 101 0
      L2J_DataPack_BETA/dist/game/data/scripts/instances/JiniaGuildHideout4/JiniaGuildHideout4.java
  4. 5 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32020-01.htm
  5. 5 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32020-02.htm
  6. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32020-03.htm
  7. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32020-04.html
  8. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32020-05.html
  9. 3 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32020-06.html
  10. 5 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32020-07.html
  11. 9 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32020-08.html
  12. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32020-09.html
  13. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32760-01.html
  14. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32760-02.html
  15. 3 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32760-03.html
  16. 3 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32760-04.html
  17. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32760-05.html
  18. 2 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32760-06.html
  19. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32761-01.html
  20. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32761-02.html
  21. 3 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32761-03.html
  22. 3 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32761-04.html
  23. 3 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32761-05.html
  24. 244 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/Q10287_StoryOfThoseLeft.java

+ 19 - 0
L2J_DataPack_BETA/dist/game/data/instances/JiniaGuildHideout4.xml

@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<instance name="Jinia Guild Hideout" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/instance.xsd">
+	<activityTime val="5" />
+	<allowSummon val="false" />
+	<emptyDestroyTime val="5" />
+	<spawnPoint spawnX="113793" spawnY="-109342" spawnZ="-845" />
+	<spawnlist>
+		<group name="general">
+			<!-- Jinia -->
+			<spawn npcId="32760" x="-24040" y="-8969" z="-5360" heading="64974" respawn="0" />
+			<!-- Battalion Leader -->
+			<spawn npcId="32777" x="-23993" y="-9069" z="-5384" heading="2912" respawn="0" />
+			<!-- Legionnaire -->
+			<spawn npcId="32778" x="-23970" y="-9139" z="-5384" heading="58968" respawn="0" />
+			<!-- Kegor -->
+			<spawn npcId="32761" x="-23993" y="-8845" z="-5384" heading="59150" respawn="0" />
+		</group>
+	</spawnlist>
+</instance>

+ 2 - 1
L2J_DataPack_BETA/dist/game/data/scripts.cfg

@@ -189,6 +189,7 @@ instances/IceQueensCastle/IceQueensCastle.java
 instances/JiniaGuildHideout1/JiniaGuildHideout1.java
 instances/JiniaGuildHideout2/JiniaGuildHideout2.java
 instances/JiniaGuildHideout3/JiniaGuildHideout3.java
+instances/JiniaGuildHideout4/JiniaGuildHideout4.java
 instances/Kamaloka/Kamaloka.java
 instances/MithrilMine/MithrilMine.java
 instances/NornilsGarden/NornilsGarden.java
@@ -660,7 +661,7 @@ quests/Q10283_RequestOfIceMerchant/Q10283_RequestOfIceMerchant.java
 quests/Q10284_AcquisitionOfDivineSword/Q10284_AcquisitionOfDivineSword.java
 quests/Q10285_MeetingSirra/Q10285_MeetingSirra.java
 quests/Q10286_ReunionWithSirra/Q10286_ReunionWithSirra.java
-#quests/Q10287_StoryOfThoseLeft/Q10287_StoryOfThoseLeft.java
+quests/Q10287_StoryOfThoseLeft/Q10287_StoryOfThoseLeft.java
 quests/Q10288_SecretMission/Q10288_SecretMission.java
 quests/Q10289_FadeToBlack/Q10289_FadeToBlack.java
 quests/Q10290_LandDragonConqueror/Q10290_LandDragonConqueror.java

+ 101 - 0
L2J_DataPack_BETA/dist/game/data/scripts/instances/JiniaGuildHideout4/JiniaGuildHideout4.java

@@ -0,0 +1,101 @@
+/*
+ * Copyright (C) 2004-2013 L2J DataPack
+ * 
+ * This file is part of L2J DataPack.
+ * 
+ * L2J DataPack is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * 
+ * L2J DataPack is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package instances.JiniaGuildHideout4;
+
+import quests.Q10287_StoryOfThoseLeft.Q10287_StoryOfThoseLeft;
+
+import com.l2jserver.gameserver.instancemanager.InstanceManager;
+import com.l2jserver.gameserver.model.Location;
+import com.l2jserver.gameserver.model.actor.L2Npc;
+import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
+import com.l2jserver.gameserver.model.instancezone.InstanceWorld;
+import com.l2jserver.gameserver.model.quest.Quest;
+import com.l2jserver.gameserver.model.quest.QuestState;
+import com.l2jserver.gameserver.network.SystemMessageId;
+
+/**
+ * Jinia Guild Hideout instance zone.
+ * @author Adry_85
+ */
+public final class JiniaGuildHideout4 extends Quest
+{
+	protected class JGH2World extends InstanceWorld
+	{
+		long storeTime = 0;
+	}
+	
+	private static final int INSTANCEID = 146;
+	// NPC
+	private static final int RAFFORTY = 32020;
+	// Location
+	private static final Location START_LOC = new Location(-23530, -8963, -5413, 0, 0);
+	
+	private JiniaGuildHideout4()
+	{
+		super(-1, JiniaGuildHideout4.class.getSimpleName(), "instances");
+		addStartNpc(RAFFORTY);
+		addTalkId(RAFFORTY);
+	}
+	
+	@Override
+	public String onTalk(L2Npc npc, L2PcInstance talker)
+	{
+		final QuestState qs = talker.getQuestState(Q10287_StoryOfThoseLeft.class.getSimpleName());
+		if ((qs != null) && qs.isMemoState(1))
+		{
+			enterInstance(talker, "JiniaGuildHideout4.xml", START_LOC);
+			qs.setCond(2, true);
+		}
+		return super.onTalk(npc, talker);
+	}
+	
+	protected int enterInstance(L2PcInstance player, String template, Location loc)
+	{
+		// check for existing instances for this player
+		InstanceWorld world = InstanceManager.getInstance().getPlayerWorld(player);
+		// existing instance
+		if (world != null)
+		{
+			if (!(world instanceof JGH2World))
+			{
+				player.sendPacket(SystemMessageId.ALREADY_ENTERED_ANOTHER_INSTANCE_CANT_ENTER);
+				return 0;
+			}
+			teleportPlayer(player, loc, world.getInstanceId(), false);
+			return 0;
+		}
+		// New instance
+		world = new JGH2World();
+		world.setInstanceId(InstanceManager.getInstance().createDynamicInstance(template));
+		world.setTemplateId(INSTANCEID);
+		world.setStatus(0);
+		((JGH2World) world).storeTime = System.currentTimeMillis();
+		InstanceManager.getInstance().addWorld(world);
+		_log.info("Jinia Guild Hideout started " + template + " Instance: " + world.getInstanceId() + " created by player: " + player.getName());
+		// teleport players
+		teleportPlayer(player, loc, world.getInstanceId(), false);
+		world.addAllowed(player.getObjectId());
+		return world.getInstanceId();
+	}
+	
+	public static void main(String[] args)
+	{
+		new JiniaGuildHideout4();
+	}
+}

+ 5 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32020-01.htm

@@ -0,0 +1,5 @@
+<html><body>Rafforty:<br>
+Hey, Jinia needs to speak with you right away. Something about a story of the last battle...<br>
+Will you listen?<br>
+<a action="bypass -h Quest Q10287_StoryOfThoseLeft 32020-02.htm">I want to hear the story.</a>
+</body></html>

+ 5 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32020-02.htm

@@ -0,0 +1,5 @@
+<html><body>Rafforty:<br>
+If she's not sleeping she's working. Jinia is in the clan hall. Go inside to talk to her.<br>
+I can teleport you.<br>
+<a action="bypass -h npc_%objectId%_Quest JiniaGuildHideout4">Teleport to the clan hall of Jinia guild.</a>
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32020-03.htm

@@ -0,0 +1,4 @@
+<html><body>Rafforty:<br>
+This chapter comes later. Nice try though!<br>
+(Only characters level 82 or above who have completed quest "Reunion with Sirra" may take on this quest.)
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32020-04.html

@@ -0,0 +1,4 @@
+<html><body>Rafforty:<br>
+Jinia guild remains committed to ending the reign of the Ice Queen. Hoorah!<br>
+(You have already completed this quest.)
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32020-05.html

@@ -0,0 +1,4 @@
+<html><body>Rafforty:<br>
+Always running things, Jinia is in the clan hall. Go to the instant zone to talk to her.<br>
+<a action="bypass -h npc_%objectId%_Quest JiniaGuildHideout4">Teleport to the clan hall of Jinia guild.</a>
+</body></html>

+ 3 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32020-06.html

@@ -0,0 +1,3 @@
+<html><body>Rafforty:<br>
+Sorry, it's not a good time. Another private Guild meeting. You understand.
+</body></html>

+ 5 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32020-07.html

@@ -0,0 +1,5 @@
+<html><body>Rafforty:<br>
+Jinia asked me to give you something.<br>
+You will know better than me what will aid you the most. Take your time.<br>
+<a action="bypass -h Quest Q10287_StoryOfThoseLeft 32020-08.html">Look through the list.</a>
+</body></html>

+ 9 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32020-08.html

@@ -0,0 +1,9 @@
+<html><body>Rafforty:<br>
+Which one are you going to choose?<br>
+<a action="bypass -h Quest Q10287_StoryOfThoseLeft 10549">Forgotten Scroll - Protection of Rune</a><br1>
+<a action="bypass -h Quest Q10287_StoryOfThoseLeft 10550">Forgotten Scroll - Protection of Elemental</a><br1>
+<a action="bypass -h Quest Q10287_StoryOfThoseLeft 10551">Forgotten Scroll - Protection of Alignment</a><br1>
+<a action="bypass -h Quest Q10287_StoryOfThoseLeft 10552">Forgotten Scroll - Fighter's Will</a><br1>
+<a action="bypass -h Quest Q10287_StoryOfThoseLeft 10553">Forgotten Scroll - Archer's Will</a><br1>
+<a action="bypass -h Quest Q10287_StoryOfThoseLeft 14219">Forgotten Scroll - Magician's Will</a>
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32020-09.html

@@ -0,0 +1,4 @@
+<html><body>Rafforty:<br>
+Do you have a reading date with a friend later? Here's your book.<br>
+The Jinia guild hopes to call on you again. Until next time, friend. Be well.
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32760-01.html

@@ -0,0 +1,4 @@
+<html><body>Jinia:<br>
+Sirra's become Freya...  We didn't see that coming.<br>
+<a action="bypass -h Quest Q10287_StoryOfThoseLeft 32760-02.html">Listen to the story.</a>
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32760-02.html

@@ -0,0 +1,4 @@
+<html><body>Jinia:<br>
+I have the frozen core, the one Sirra used to have.<br>
+<a action="bypass -h Quest Q10287_StoryOfThoseLeft 32760-03.html">Listen to the story.</a>
+</body></html>

+ 3 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32760-03.html

@@ -0,0 +1,3 @@
+<html><body>Jinia:<br>
+I've waited a long time to fight for this land! Jinia Guild's objective is more clear now. Adventurer, I see words behind your closed lips... Why don't you have a talk with Kegor.
+</body></html>

+ 3 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32760-04.html

@@ -0,0 +1,3 @@
+<html><body>Jinia:<br>
+You look like you have something to say... Say it to Kier.
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32760-05.html

@@ -0,0 +1,4 @@
+<html><body>Jinia:<br>
+You've done so much for us. I'd like to compensate you for your effort so far. Please accept the Guild's gratitude when you get out and meet Rafforty.<br>
+<a action="bypass -h Quest Q10287_StoryOfThoseLeft 32760-06.html">Go out of the hideout.</a>
+</body></html>

+ 2 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32760-06.html

@@ -0,0 +1,2 @@
+<html><body>Jinia:<br>
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32761-01.html

@@ -0,0 +1,4 @@
+<html><body>Kegor:<br>
+She hated Felicia and killed her, thus becoming the Ice Queen Freya. She couldn't escape her destiny. But really, which of us ever could?<br>
+<a action="bypass -h Quest Q10287_StoryOfThoseLeft 32761-02.html">Keep telling the story.</a>
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32761-02.html

@@ -0,0 +1,4 @@
+<html><body>Kegor:<br>
+In the end, even Sirra won't be able to free herself from Freya's shadow. She will be a worse Ice Queen than Freya, if such a thing is possible! No one close to her will ever dare betray her... She learned her lesson well. She makes people fear her until she knows she can trust them. Atrocious!<br>
+<a action="bypass -h Quest Q10287_StoryOfThoseLeft 32761-03.html">Wrap up the story.</a>
+</body></html>

+ 3 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32761-03.html

@@ -0,0 +1,3 @@
+<html><body>Kegor:<br>
+I understand. I have so much to thank you for, I hardly know where to begin... Jinia and I want to show our gratitude. Before you leave, talk to Jinia.
+</body></html>

+ 3 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32761-04.html

@@ -0,0 +1,3 @@
+<html><body>Kegor:<br>
+Jinia wants to tell you something. Come back after you talk to her.
+</body></html>

+ 3 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/32761-05.html

@@ -0,0 +1,3 @@
+<html><body>Kegor:<br>
+Before you leave, talk to Jinia. We will prepare for what's next.
+</body></html>

+ 244 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q10287_StoryOfThoseLeft/Q10287_StoryOfThoseLeft.java

@@ -0,0 +1,244 @@
+/*
+ * Copyright (C) 2004-2013 L2J DataPack
+ * 
+ * This file is part of L2J DataPack.
+ * 
+ * L2J DataPack is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * 
+ * L2J DataPack is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package quests.Q10287_StoryOfThoseLeft;
+
+import quests.Q10286_ReunionWithSirra.Q10286_ReunionWithSirra;
+
+import com.l2jserver.gameserver.instancemanager.InstanceManager;
+import com.l2jserver.gameserver.model.Location;
+import com.l2jserver.gameserver.model.actor.L2Npc;
+import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
+import com.l2jserver.gameserver.model.instancezone.InstanceWorld;
+import com.l2jserver.gameserver.model.quest.Quest;
+import com.l2jserver.gameserver.model.quest.QuestState;
+import com.l2jserver.gameserver.model.quest.State;
+import com.l2jserver.gameserver.util.Util;
+
+/**
+ * Story of Those Left (10287)
+ * @author Adry_85
+ */
+public final class Q10287_StoryOfThoseLeft extends Quest
+{
+	// NPCs
+	private static final int RAFFORTY = 32020;
+	private static final int JINIA = 32760;
+	private static final int KEGOR = 32761;
+	// Misc
+	private static final int MIN_LEVEL = 82;
+	// Location
+	private static final Location EXIT_LOC = new Location(113793, -109342, -845, 0);
+	
+	private Q10287_StoryOfThoseLeft()
+	{
+		super(10287, Q10287_StoryOfThoseLeft.class.getSimpleName(), "Story of Those Left");
+		addStartNpc(RAFFORTY);
+		addTalkId(RAFFORTY, JINIA, KEGOR);
+	}
+	
+	@Override
+	public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
+	{
+		final QuestState st = getQuestState(player, false);
+		if (st == null)
+		{
+			return null;
+		}
+		
+		String htmltext = null;
+		switch (event)
+		{
+			case "32020-02.htm":
+			{
+				st.startQuest();
+				st.setMemoState(1);
+				htmltext = event;
+				break;
+			}
+			case "32020-08.html":
+			{
+				if (st.isMemoState(2))
+				{
+					htmltext = event;
+				}
+				break;
+			}
+			case "32760-02.html":
+			{
+				if (st.isMemoState(1))
+				{
+					htmltext = event;
+				}
+				break;
+			}
+			case "32760-03.html":
+			{
+				if (st.isMemoState(1))
+				{
+					st.set("ex1", 1);
+					st.setCond(3, true);
+					htmltext = event;
+				}
+				break;
+			}
+			case "32760-06.html":
+			{
+				if (st.isMemoState(2))
+				{
+					st.setCond(5, true);
+					player.teleToLocation(EXIT_LOC, 0);
+					htmltext = event; // TODO: missing "jinia_npc_q10287_06.htm"
+				}
+				break;
+			}
+			case "32761-02.html":
+			{
+				if (st.isMemoState(1) && (st.getInt("ex1") == 1) && (st.getInt("ex2") == 0))
+				{
+					htmltext = event;
+				}
+				break;
+			}
+			case "32761-03.html":
+			{
+				if (st.isMemoState(1) && (st.getInt("ex1") == 1) && (st.getInt("ex2") == 0))
+				{
+					st.set("ex2", 1);
+					st.setCond(4, true);
+					htmltext = event;
+				}
+				break;
+			}
+		}
+		
+		if (Util.isDigit(event) && st.isMemoState(2))
+		{
+			st.rewardItems(Integer.valueOf(event), 1);
+			htmltext = "32020-09.html";
+			st.exitQuest(false, true);
+		}
+		return htmltext;
+	}
+	
+	@Override
+	public String onTalk(L2Npc npc, L2PcInstance player)
+	{
+		QuestState st = getQuestState(player, true);
+		String htmltext = getNoQuestMsg(player);
+		if (st == null)
+		{
+			return htmltext;
+		}
+		
+		switch (st.getState())
+		{
+			case State.COMPLETED:
+			{
+				if (npc.getId() == RAFFORTY)
+				{
+					htmltext = "32020-04.html";
+				}
+				break;
+			}
+			case State.CREATED:
+			{
+				if (npc.getId() == RAFFORTY)
+				{
+					st = player.getQuestState(Q10286_ReunionWithSirra.class.getSimpleName());
+					htmltext = ((player.getLevel() >= MIN_LEVEL) && (st != null) && (st.isCompleted())) ? "32020-01.htm" : "32020-03.htm";
+				}
+				break;
+			}
+			case State.STARTED:
+			{
+				switch (npc.getId())
+				{
+					case RAFFORTY:
+					{
+						if (st.isMemoState(1))
+						{
+							htmltext = (player.getLevel() >= MIN_LEVEL) ? "32020-05.html" : "32020-06.html";
+						}
+						else if (st.isMemoState(2))
+						{
+							htmltext = "32020-07.html";
+						}
+						break;
+					}
+					case JINIA:
+					{
+						if (st.isMemoState(1))
+						{
+							final int state1 = st.getInt("ex1");
+							final int state2 = st.getInt("ex2");
+							if ((state1 == 0) && (state2 == 0))
+							{
+								htmltext = "32760-01.html";
+							}
+							else if ((state1 == 1) && (state2 == 0))
+							{
+								htmltext = "32760-04.html";
+							}
+							else if ((state1 == 1) && (state2 == 1))
+							{
+								st.setCond(5, true);
+								st.setMemoState(2);
+								st.unset("ex1");
+								st.unset("ex2");
+								final InstanceWorld world = InstanceManager.getInstance().getPlayerWorld(player);
+								world.removeAllowed(player.getObjectId());
+								player.setInstanceId(0);
+								htmltext = "32760-05.html";
+							}
+						}
+						break;
+					}
+					case KEGOR:
+					{
+						if (st.isMemoState(1))
+						{
+							final int state1 = st.getInt("ex1");
+							final int state2 = st.getInt("ex2");
+							if ((state1 == 1) && (state2 == 0))
+							{
+								htmltext = "32761-01.html";
+							}
+							else if ((state1 == 0) && (state2 == 0))
+							{
+								htmltext = "32761-04.html";
+							}
+							else if ((state1 == 1) && (state2 == 1))
+							{
+								htmltext = "32761-05.html";
+							}
+						}
+						break;
+					}
+				}
+				break;
+			}
+		}
+		return htmltext;
+	}
+	
+	public static void main(String args[])
+	{
+		new Q10287_StoryOfThoseLeft();
+	}
+}