This commit is contained in:
mobius
2015-01-01 20:02:50 +00:00
parent eeae660458
commit a6a3718849
17894 changed files with 2818932 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
<html><body>Trader Holly:<br>
Business is slow these days... My old sales methods just aren't working. I'm worried. Oh, please forgive my complaining. Are you looking for any item in particular?<br>
(Only characters level 76 and higher may undertake this quest.)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Trader Holly:<br>
Business is slow these days... My old sales methods just aren't working. I'm worried. Would you do me a favor?<br>
<a action="bypass -h Quest Q10275_ContainingTheAttributePower 30839-02.html">"What is it?"</a>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Trader Holly:<br>
Do you know <font color="LEVEL">Attribute Master Yin</font> here in the Town of Aden? She is one of our regulars. Her research keeps her very busy. Of course, her constant need for ingredients also makes her one of our best customers.<br>
But I rarely see her lately... Our sales have dropped, and her absence isn't helping.<br>
The last time I saw her, she mentioned some problem she was facing, a problem she said could be resolved by a capable adventurer... I hope that happens quickly -- we need her business! But alas, I don't know how to find respectable adventurer in these parts...<br>
Do you know of one who might be willing to help us?
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Trader Holly:<br>
Ah, you have business with me?<br>
<a action="bypass -h Quest Q10275_ContainingTheAttributePower 30839-04.html">"I hear you're in the market for a strong, strapping adventurer..."</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Trader Holly:<br>
Ah, I didn't recognize you! All I know is that <font color="LEVEL">Attribute Master Yin</font> in the Town of Aden is in trouble. You'll need to ask her for more details.<br>
<a action="bypass -h Quest Q10275_ContainingTheAttributePower 30839-05.html">"I understand."</a>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Trader Holly:<br>
You should be able to find Attribute Master Yin easily. Please help resolve her problem.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Trader Holly:<br>
Ah, you're the same adventurer who resolved the Attribute Master's troubles... That was a neat piece of work. They often come to our shop and still speak highly of you. Now then, are you looking for anything in particular?<br>
(You have already completed this quest.)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Trader Weber:<br>
Business is slow these days... My old sales methods just aren't working. I'm worried. Oh, please forgive my complaining. Are you looking for any item in particular?<br>
(Only characters level 76 and higher may undertake this quest.)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Trader Weber:<br>
Business is slow these days... My old sales methods just aren't working. I'm worried. Would you do me a favor?<br>
<a action="bypass -h Quest Q10275_ContainingTheAttributePower 31307-02.html">"What is it?"</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Trader Weber:<br>
Do you know <font color="LEVEL">Attribute Master Yang</font> here in Rune Township? He is one of our regulars. His research keeps him very busy. Of course, his constant need for ingredients also makes him one of our best customers.<br>But I rarely see him lately. Our sales have dropped, and his absence isn't helping.<br>The last time I saw him, he mentioned some problem she was facing, a problem he said could be resolved by a capable adventurer... I hope that happens quickly -- we need his business! But alas, I don't know how to find respectable adventurer in these parts...<br>
Do you know of one who might be willing to help us?
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Trader Weber:<br>
Ah, you have business with me?<br>
<a action="bypass -h Quest Q10275_ContainingTheAttributePower 31307-04.html">"I hear you're in the market for a strong, strapping adventurer..."</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Trader Weber:<br>
Ah, I didn't recognize you! All I know is that the <font color="LEVEL">Attribute Master Yang</font> here in Township is in trouble. You'll need to ask him for more details.<br>
<a action="bypass -h Quest Q10275_ContainingTheAttributePower 31307-05.html">"I understand."</a>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Trader Weber:<br>
You should be able to find Attribute Master Yang easily. Please help resolve his problem.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Trader Weber:<br>
Ah, you're the same adventurer who resolved the Attribute Master's troubles... That was a neat piece of work. They often come to our shop and still speak highly of you. Now then, are you looking for anything in particular?<br>
(You have already completed this quest.)
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Attribute Master Yin:<br>
Ah, Trader Holly sent you? News of my troubles must have finally reached him.<br>
The situation is urgent, so there is no time to waste. How about it? Will you help me?<br>
<a action="bypass -h Quest Q10275_ContainingTheAttributePower 32325-02.html">"Tell me about your situation."</a>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Attribute Master Yin:<br>
My disciples and I were conducting an experiment. We hoped to derive a greater attribute power. But the sprites we were studying became...problematic. Some of the <font color="LEVEL">Sprites of Water</font> became increasingly reckless when injected with the attribute power, and they escaped from the lab.<br>
My disciples have tried to recapture them. But some of the sprites are still roaming throughout the town. Thankfully, there haven't been any reports of them causing serious harm yet. But you never know when they might turn fierce...<br>
Will you catch them for us?<br>
<a action="bypass -h Quest Q10275_ContainingTheAttributePower 32325-03.html">Say yes.</a>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Attribute Master Yin:<br>
I appreciate your help. Unfortunately, it won't be easy. You must recapture the <font color="LEVEL">Reckless Sprites of Water</font> using this device.<br>
They are still precious experimental subjects, remember. If they are killed, all our work will have been in vain.<br>
This device changes the materialized energy into a form we can still use. That should allow me to continue my research.<br>
One more thing: the device's power is limited, and it will disappear after <font color="LEVEL">10 minutes</font>. Please act quickly!
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Attribute Master Yin:<br>
You haven't found them yet? Why not?<br>
<a action="bypass -h Quest Q10275_ContainingTheAttributePower 32325-05.html">"Tell me again what to do."</a><br>
<a action="bypass -h Quest Q10275_ContainingTheAttributePower 32325-06.html">"The device disappeared. Can you give me another one?"</a>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Attribute Master Yin:<br>
I'll explain again. Capture the <font color="LEVEL">Reckless Sprites of Water</font> and bring me <font color="LEVEL">6 Reckless Sprite Pieces - Water</font>. Remember to use the device I gave you. Otherwise, you'll do more harm than good...
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Attribute Master Yin:<br>
I guess you need more time to recapture those reckless sprites, eh? Well, here you go. Please hurry!
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Attribute Master Yin:<br>
The device disappeared, you say? But it's in your hand!<br>
Since it's obviously not at full strength, though, let me give you a new one to maximize your time. Here it is. Now please hurry!
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Attribute Master Yin:<br>
An excellent start! Considering the time limit, you did very well.<br>
But you have not yet caught enough of the creatures. As things now stand, our experiment is still in danger.<br>
Please -- I still need your help. Capture more <font color="LEVEL">Reckless Sprites of Water</font>. This time, I will use my magic to help you.<br>
<a action="bypass -h Quest Q10275_ContainingTheAttributePower 32325-09.html">"I never like leaving a job half-finished."</a>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Attribute Master Yin:<br>
Can you feel the effects of my magic? It should be very helpful in capturing those <font color="LEVEL">Reckless Sprites of Water</font>. Now please hurry!
</body></html>

View File

@@ -0,0 +1,11 @@
<html><body>Attribute Master Yin:<br>
You succeeded! Thank you.<br>
I'd like to give you something as a reward, but all that I have here are my research notes about attributes. Hmm... I can give you an Attribute Ore. It has value, so you won't regret acccepting it.<br>
Since you have completed my request twice, I'll give you 2 Ores reflecting the attribute of your choosing. Now, which ones do you want?<br>
<a action="bypass -h Quest Q10275_ContainingTheAttributePower 6">Ore of Divinity Attribute</a><br>
<a action="bypass -h Quest Q10275_ContainingTheAttributePower 5">Ore of Infernal Attribute</a><br>
<a action="bypass -h Quest Q10275_ContainingTheAttributePower 1">Ore of Fire Attribute</a><br>
<a action="bypass -h Quest Q10275_ContainingTheAttributePower 2">Ore of Water Attribute</a><br>
<a action="bypass -h Quest Q10275_ContainingTheAttributePower 4">Ore of Wind Attribute</a><br>
<a action="bypass -h Quest Q10275_ContainingTheAttributePower 3">Ore of Earth Attribute</a>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Attribute Master Yin:<br>
I will give you a Coarse Ore Fire that will strengthen the power of a Fire attribute. It may not look impressive, but its effects will be adequate. If you want something more, you will have to work harder.<br>I suppose that concludes our business together. Farewell!
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Attribute Master Yin:<br>
I will give you a Coarse Ore Water that will strengthen the power of a Water attribute. It may not look impressive, but its effects will be adequate. If you want something more, you will have to work harder.<br>I suppose that concludes our business together. Farewell!
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Attribute Master Yin:<br>
I will give you a Coarse Ore Earth that will strengthen the power of a Earth attribute. It may not look impressive, but its effects will be adequate. If you want something more, you will have to work harder.<br>I suppose that concludes our business together. Farewell!
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Attribute Master Yin:<br>
I will give you a Coarse Ore Wind that will strengthen the power of a Wind attribute. It may not look impressive, but its effects will be adequate. If you want something more, you will have to work harder.<br>I suppose that concludes our business together. Farewell!
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Attribute Master Yin:<br>
I will give you a Coarse Ore Infernal that will strengthen the power of a Unholy attribute. It may not look impressive, but its effects will be adequate. If you want something more, you will have to work harder.<br>I suppose that concludes our business together. Farewell!
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Attribute Master Yin:<br>
I will give you a Coarse Ore Divinity that will strengthen the power of a Holy attribute. It may not look impressive, but its effects will be adequate. If you want something more, you will have to work harder.<br>I suppose that concludes our business together. Farewell!
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Attribute Master Yang:<br>
Ah, Trader Weber sent you? News of my troubles must have finally reached him.<br>
The situation is urgent, so there is no time to waste. How about it? Will you help me?<br>
<a action="bypass -h Quest Q10275_ContainingTheAttributePower 32326-02.html">"Tell me about your situation."</a>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Attribute Master Yang:<br>
My disciples and I were conducting an experiment. We hoped to derive a greater attribute power. But the sprites we were studying became...problematic. Some of the <font color="LEVEL">Sprites of Wind</font> became increasingly reckless when injected with the attribute power, and they escaped from the lab.<br>
My disciples have tried to recapture them. But some of the sprites are still roaming throughout the town. Thankfully, there haven't been any reports of them causing serious harm yet. But you never know when they might turn fierce...<br>
Will you catch them for us?<br>
<a action="bypass -h Quest Q10275_ContainingTheAttributePower 32326-03.html">Say yes.</a>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Attribute Master Yang:<br>
I appreciate your help. Unfortunately, it won't be easy. You must recapture the <font color="LEVEL">Reckless Sprites of Wind</font> using this device.<br>
They are still precious experimental subjects, remember. If they are killed, all our work will have been in vain.<br>
This device changes the materialized energy into a form we can still use. That should allow me to continue my research.<br>
One more thing: the device's power is limited, and it will disappear after <font color="LEVEL">10 minutes</font>. Please act quickly!
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Attribute Master Yang:<br>
You haven't found them yet? Why not?<br>
<a action="bypass -h Quest Q10275_ContainingTheAttributePower 32326-05.html">"Tell me again what to do."</a><br>
<a action="bypass -h Quest Q10275_ContainingTheAttributePower 32326-06.html">"The device disappeared. Can you give me another one?"</a>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Attribute Master Yang:<br>
I'll explain again. Capture the <font color="LEVEL">Reckless Sprites of Wind</font> and bring me <font color="LEVEL">6 Reckless Sprite Pieces - Wind</font>. Remember to use the device I gave you. Otherwise, you'll do more harm than good...
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Attribute Master Yang:<br>
I guess you need more time to recapture those reckless sprites, eh? Well, here you go. Please hurry!
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Attribute Master Yang:<br>
The device disappeared, you say? But it's in your hand!<br>
Since it's obviously not at full strength, though, let me give you a new one to maximize your time. Here it is. Now please hurry!
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Attribute Master Yang:<br>
An excellent start! Considering the time limit, you did very well.<br>
But you have not yet caught enough of the creatures. As things now stand, our experiment is still in danger.<br>
Please -- I still need your help. Capture more <font color="LEVEL">Reckless Sprites of Wind</font>. This time, I will use my magic to help you.<br>
<a action="bypass -h Quest Q10275_ContainingTheAttributePower 32326-09.html">"I never like leaving a job half-finished."</a>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Attribute Master Yang:<br>
Can you feel the effects of my magic? It should be very helpful in capturing those <font color="LEVEL">Reckless Sprites of Wind</font>. Now please hurry!
</body></html>

View File

@@ -0,0 +1,11 @@
<html><body>Attribute Master Yang:<br>
You succeeded! Thank you.<br>
I'd like to give you something as a reward, but all that I have here are my research notes about attributes. Hmm... I can give you an Attribute Ore. It has value, so you won't regret acccepting it.<br>
Since you have completed my request twice, I'll give you 2 Ores reflecting the attribute of your choosing. Now, which ones do you want?<br>
<a action="bypass -h Quest Q10275_ContainingTheAttributePower 6">Ore of Divinity Attribute</a><br>
<a action="bypass -h Quest Q10275_ContainingTheAttributePower 5">Ore of Infernal Attribute</a><br>
<a action="bypass -h Quest Q10275_ContainingTheAttributePower 1">Ore of Fire Attribute</a><br>
<a action="bypass -h Quest Q10275_ContainingTheAttributePower 2">Ore of Water Attribute</a><br>
<a action="bypass -h Quest Q10275_ContainingTheAttributePower 4">Ore of Wind Attribute</a><br>
<a action="bypass -h Quest Q10275_ContainingTheAttributePower 3">Ore of Earth Attribute</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Attribute Master Yang:<br>
I will give you a Coarse Ore Fire that will strengthen the power of a Fire attribute. It may not look impressive, but its effects will be adequate. If you want something more, you will have to work harder.<br>
I suppose that concludes our business together. Farewell!
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Attribute Master Yang:<br>
I will give you a Coarse Ore Water that will strengthen the power of a Water attribute. It may not look impressive, but its effects will be adequate. If you want something more, you will have to work harder.<br>
I suppose that concludes our business together. Farewell!
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Attribute Master Yang:<br>
I will give you a Coarse Ore Earth that will strengthen the power of a Earth attribute. It may not look impressive, but its effects will be adequate. If you want something more, you will have to work harder.<br>
I suppose that concludes our business together. Farewell!
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Attribute Master Yang:<br>
I will give you a Coarse Ore Wind that will strengthen the power of a Wind attribute. It may not look impressive, but its effects will be adequate. If you want something more, you will have to work harder.<br>
I suppose that concludes our business together. Farewell!
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Attribute Master Yang:<br>
I will give you a Coarse Ore Infernal that will strengthen the power of a Unholy attribute. It may not look impressive, but its effects will be adequate. If you want something more, you will have to work harder.<br>
I suppose that concludes our business together. Farewell!
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Attribute Master Yang:<br>
I will give you a Coarse Ore Divinity that will strengthen the power of a Holy attribute. It may not look impressive, but its effects will be adequate. If you want something more, you will have to work harder.<br>
I suppose that concludes our business together. Farewell!
</body></html>

View File

@@ -0,0 +1,290 @@
/*
* Copyright (C) 2004-2014 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.Q10275_ContainingTheAttributePower;
import com.l2jserver.gameserver.enums.QuestSound;
import com.l2jserver.gameserver.model.Elementals;
import com.l2jserver.gameserver.model.actor.L2Npc;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.model.holders.SkillHolder;
import com.l2jserver.gameserver.model.itemcontainer.Inventory;
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;
/**
* Containing the Attribute Power (10275)<br>
* Original Jython script by Kerberos v1.0 on 2009/05/03.
* @author nonom
*/
public class Q10275_ContainingTheAttributePower extends Quest
{
// NPCs
private static final int HOLLY = 30839;
private static final int WEBER = 31307;
private static final int YIN = 32325;
private static final int YANG = 32326;
private static final int WATER = 27380;
private static final int AIR = 27381;
// Items
private static final int YINSWORD = 13845;
private static final int YANGSWORD = 13881;
private static final int SOULPIECEWATER = 13861;
private static final int SOULPIECEAIR = 13862;
// Skills
private static final SkillHolder BLESSING_OF_FIRE = new SkillHolder(2635, 1);
private static final SkillHolder BLESSING_OF_EARTH = new SkillHolder(2636, 1);
public Q10275_ContainingTheAttributePower()
{
super(10275, Q10275_ContainingTheAttributePower.class.getSimpleName(), "Containing the Attribute Power");
addStartNpc(HOLLY, WEBER);
addTalkId(HOLLY, WEBER, YIN, YANG);
addKillId(AIR, WATER);
registerQuestItems(YINSWORD, YANGSWORD, SOULPIECEWATER, SOULPIECEAIR);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
String htmltext = event;
final QuestState st = getQuestState(player, false);
if (st == null)
{
return htmltext;
}
switch (event)
{
case "30839-02.html":
case "31307-02.html":
st.startQuest();
break;
case "30839-05.html":
st.setCond(2, true);
break;
case "31307-05.html":
st.setCond(7, true);
break;
case "32325-03.html":
st.setCond(3, true);
st.giveItems(YINSWORD, 1, Elementals.FIRE, 10);
break;
case "32326-03.html":
st.setCond(8, true);
st.giveItems(YANGSWORD, 1, Elementals.EARTH, 10);
break;
case "32325-06.html":
if (st.hasQuestItems(YINSWORD))
{
st.takeItems(YINSWORD, 1);
htmltext = "32325-07.html";
}
st.giveItems(YINSWORD, 1, Elementals.FIRE, 10);
break;
case "32326-06.html":
if (st.hasQuestItems(YANGSWORD))
{
st.takeItems(YANGSWORD, 1);
htmltext = "32326-07.html";
}
st.giveItems(YANGSWORD, 1, Elementals.EARTH, 10);
break;
case "32325-09.html":
st.setCond(5, true);
BLESSING_OF_FIRE.getSkill().applyEffects(player, player);
st.giveItems(YINSWORD, 1, Elementals.FIRE, 10);
break;
case "32326-09.html":
st.setCond(10, true);
BLESSING_OF_EARTH.getSkill().applyEffects(player, player);
st.giveItems(YANGSWORD, 1, Elementals.EARTH, 10);
break;
}
if (Util.isDigit(event))
{
htmltext = Integer.toString(npc.getId()) + "-1" + event + ".html";
st.giveItems(10520 + Integer.valueOf(event), 2);
st.addExpAndSp(202160, 20375);
st.exitQuest(false, true);
}
return htmltext;
}
@Override
public String onKill(L2Npc npc, L2PcInstance player, boolean isSummon)
{
final QuestState st = getQuestState(player, false);
if (st == null)
{
return null;
}
switch (npc.getId())
{
case AIR:
if ((st.isCond(8) || st.isCond(10)) && (st.getItemEquipped(Inventory.PAPERDOLL_RHAND) == YANGSWORD) && (st.getQuestItemsCount(SOULPIECEAIR) < 6) && (getRandom(100) < 30))
{
st.giveItems(SOULPIECEAIR, 1);
if (st.getQuestItemsCount(SOULPIECEAIR) >= 6)
{
st.setCond(st.getCond() + 1, true);
}
else
{
st.playSound(QuestSound.ITEMSOUND_QUEST_ITEMGET);
}
}
break;
case WATER:
if (((st.getCond() >= 3) || (st.getCond() <= 5)) && (st.getItemEquipped(Inventory.PAPERDOLL_RHAND) == YINSWORD) && (st.getQuestItemsCount(SOULPIECEWATER) < 6) && (getRandom(100) < 30))
{
st.giveItems(SOULPIECEWATER, 1);
if (st.getQuestItemsCount(SOULPIECEWATER) >= 6)
{
st.setCond(st.getCond() + 1, true);
}
else
{
st.playSound(QuestSound.ITEMSOUND_QUEST_ITEMGET);
}
}
break;
}
return null;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
String htmltext = getNoQuestMsg(player);
final QuestState st = getQuestState(player, true);
if (st == null)
{
return htmltext;
}
switch (npc.getId())
{
case HOLLY:
{
switch (st.getState())
{
case State.CREATED:
htmltext = (player.getLevel() > 75) ? "30839-01.htm" : "30839-00.html";
break;
case State.STARTED:
switch (st.getCond())
{
case 1:
htmltext = "30839-03.html";
break;
case 2:
htmltext = "30839-05.html";
break;
}
break;
case State.COMPLETED:
htmltext = "30839-0a.html";
break;
}
break;
}
case WEBER:
{
switch (st.getState())
{
case State.CREATED:
htmltext = (player.getLevel() > 75) ? "31307-01.htm" : "31307-00.html";
break;
case State.STARTED:
switch (st.getCond())
{
case 1:
htmltext = "31307-03.html";
break;
case 7:
htmltext = "31307-05.html";
break;
}
break;
case State.COMPLETED:
htmltext = "31307-0a.html";
break;
}
break;
}
case YIN:
{
if (st.isStarted())
{
switch (st.getCond())
{
case 2:
htmltext = "32325-01.html";
break;
case 3:
case 5:
htmltext = "32325-04.html";
break;
case 4:
htmltext = "32325-08.html";
st.takeItems(YINSWORD, 1);
st.takeItems(SOULPIECEWATER, -1);
break;
case 6:
htmltext = "32325-10.html";
break;
}
}
break;
}
case YANG:
{
if (st.isStarted())
{
switch (st.getCond())
{
case 7:
htmltext = "32326-01.html";
break;
case 8:
case 10:
htmltext = "32326-04.html";
break;
case 9:
htmltext = "32326-08.html";
st.takeItems(YANGSWORD, 1);
st.takeItems(SOULPIECEAIR, -1);
break;
case 11:
htmltext = "32326-10.html";
break;
}
}
break;
}
}
return htmltext;
}
}