Underground quest updates (10320 to 10327).

Contributed by gyo.
This commit is contained in:
MobiusDev
2016-01-06 09:51:52 +00:00
parent d9b3a8c78f
commit 2dfb4847ad
77 changed files with 421 additions and 262 deletions

View File

@@ -1,4 +1,4 @@
<html><body>Holden:<br>
Evain sent you? That means you only had practice against a dummy. That's not enough. Wouldn't you agree that your training will only be effective if you train as if it were real combat?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10323_TrainLikeItsReal 33194-02.html">"Sound reasonable!"</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10323_TrainLikeItsReal 33194-02.html">"Sound reasonable."</button>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Holden:<br>
That's why we made a Training Golem. It's designed to attack you, but won't be dangerous.<br>
That's why we made a Training Golem. It's designed to attack you, but it won't be dangerous.<br>
Can you show me what you're capable of?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10323_TrainLikeItsReal 33194-03.html">"All right"</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10323_TrainLikeItsReal 33194-03.html">"All right."</button>
</body></html>

View File

@@ -1,7 +1,3 @@
<html><body>Holden:<br>
Good job.<br>
Good work. But I noticed that there wasn't any light of spirits when you were fighting. Using
<font color=LEVEL>Soulshots or Spiritshots</font> will empower you weapons temporarily to deal powerful attacks<br>
Do you know how to use Soulshots?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10323_TrainLikeItsReal 33194-05.html">"No, please tell me."</button>
The real battle got your tongue? But you've got to overcome it one day. Kill the <font color=LEVEL>Training Golems</font> in front of you. Come back after you've killed plenty.<br>
</body></html>

View File

@@ -1,7 +1,6 @@
<html><body>Holden:<br>
You don't? Then why don't you try again with these soulshot I have for you?
Open your <font color="LEVEL">Inventory</font>, check for <font color=LEVEL>Soulshots or Spiritshots</font>.<br>
Click and Drag</font> Soulshot/Spiritshot into your Shortcut Bar. Right Click the Soulshot/Spiritshot Shortcut Icon to use it automatically.
After this, the lights of the spirits will help you every time you attack.<br>
Tell me when you have that done.
Good job.<br>
Good work. But I noticed that there wasn't any lights of spirits when you were fighting. Using <font color=LEVEL>Soulshots</font> will empower your weapons temporarily to deal powerful attacks.<br>
Do you know how to use Soulshots?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10323_TrainLikeItsReal 33194-07.html">"No, please tell me."</button>
</body></html>

View File

@@ -1,4 +1,6 @@
<html><body>Holden:<br>
Are you ready? Then let's check the power of Soulshots or Spiritshots by fighting one more time. The targets are the <font color=LEVEL>Training Golems</font>.<br>
Come back to me after killing plenty.
Good job.<br>
Good work. But I noticed that there wasn't any spirit lights when you were fighting. Using <font color=LEVEL>Spiritshots</font> will empower your weapons temporarily to deal powerful attacks.<br>
Do you know how to use Spiritshots?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10323_TrainLikeItsReal 33194-08.html">"No, please tell me."</button>
</body></html>

View File

@@ -1,5 +1,9 @@
<html><body>Holden:<br>
You're done. How was it? Isn't it more efficient?<br>
Make sure to use what you've learned in battle later.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10323_TrainLikeItsReal 33194-08.html">All right</button>
You don't? Then why don't you try it with this Soulshot I have for you?
Open your <font color="LEVEL">Inventory</font> and check for <font color="LEVEL">Soulshots</font>.<br>
Also, remember that the <font color="LEVEL">grades of the weapon and the Soulshot have to be the same</font>.<br>
Then, check if the Soulshot in the Automatic Soulshot window is activated.<br>
You can activate/deactivate by clicking on the icon.<br>
It will be very handy from now on when you fight.<br>
Tell me when you have that done.
</body></html>

View File

@@ -1,3 +1,6 @@
<html><body>Holden:<br>
You're done with me. Now you can report to <font color=LEVEL>Shannon</font> at the Basic Training Grounds.
You don't? Then why don't you try it with this Spiritshot I have for you?
Open your <font color="LEVEL">Inventory</font> and look for <font color="LEVEL">Spiritshots</font>.<br>
Click and drag the Spiritshots onto the <font color="LEVEL">Shortcut</font> bar and right click the Spiritshot shortcut icon to <font color="LEVEL">use them automatically</font>.<br>
Tell me when you have that done.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Holden:<br>
Are you ready? Then let's check the power of <font color=LEVEL>Soulshots</font> by fighting one more time. The targets are the <font color=LEVEL>Training Golems.</font><br>
Come back to me after killing plenty.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Holden:<br>
Ready? Then let's test your mettle using <font color=LEVEL>Spiritshots</font>. Target the <font color=LEVEL>Training Golems</font> and fire away.<br>
Return to me when you've had your fill.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Holden:<br>
Check the power of <font color=LEVEL>Soulshots</font> by fighting one more time. The targets are the <font color=LEVEL>Training Golems.</font><br>
Come back to me after killing plenty.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Holden:<br>
Ready? Then let's test your mettle using <font color=LEVEL>Spiritshots</font>. Target the <font color=LEVEL>Training Golems</font> and fire away.<br>
Return to me when you've had your fill.
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Holden:<br>
You're done. How was it? Isn't it more efficient?
Make sure to use what you've learned in battle later.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10323_TrainLikeItsReal 33194-14.html">"All right."</button>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Holden:<br>
You're done with me. Now you can report to <font color=LEVEL>Shannon</font> at the <font color=LEVEL>Basic Training Grounds</font>.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Holden:<br>
I thought I told you. You're done. Now you can report to <font color=LEVEL>Shannon</font> at the <font color=LEVEL>Basic Training Grounds</font>.
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Evain:<br>
Looks like you understand the basics behind buffs. Now it's time to get some real combat experience. Ready?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10323_TrainLikeItsReal 33464-02.htm">Ready!</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10323_TrainLikeItsReal 33464-02.htm">"Ready!"</button>
</body></html>

View File

@@ -2,5 +2,5 @@
Good. After all, a dummy is an easy opponent.<br>
We wanted to prepare something a little more challenging for you. You know, something that actually moves?<br>
This training is to prepare you for battle, not to knock down straw dolls.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10323_TrainLikeItsReal 33464-03.html">Give me the task</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10323_TrainLikeItsReal 33464-03.htm">"Give me the task."</button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Evain:<br>
No need to hurry. Also, the mission is managed by <font color=LEVEL>Holden</font> at the <font color=LEVEL>Training Grounds Underground Facility Entrance</font>.
If you tell him that I sent you, he will give you details.
</body></html>

View File

@@ -1,4 +1,5 @@
<html><body>Evain:<br>
It's good to see you growing stronger with each passing day. Is there something you want from me?<br>
(This quest has already been completed)
Did you forget about your mission.
The next mission is managed by <font color=LEVEL>Holden</font> at the <font color=LEVEL>Training Grounds Underground Facility Entrance</font>.
If you tell him that I sent you, he will give you details.
</body></html>

View File

@@ -1,4 +1,3 @@
<html><body>Evain:<br>
Why did you come here?<br>
(Only characters under level 20, who have completed the Looking for Mysterious Power quest, may start this quest)
If you've defeated all the training Golems, report to <font color=LEVEL>Shannon</font> at the <font color=LEVEL>Basic Training Grounds</font>!
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Evain:<br>
It's good to see you growing stronger with each passing day. Is there something you want from me?<br>
(This quest has already been completed)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Evain:<br>
Why did you come here?<br>
(Only characters under level 20, who have completed the Looking for Mysterious Power quest, may start this quest)
</body></html>

View File

@@ -20,6 +20,7 @@ import java.util.HashSet;
import java.util.Set;
import com.l2jmobius.gameserver.enums.QuestSound;
import com.l2jmobius.gameserver.enums.Race;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import com.l2jmobius.gameserver.model.holders.ItemHolder;
@@ -34,7 +35,7 @@ import com.l2jmobius.gameserver.network.serverpackets.TutorialShowHtml;
import quests.Q10322_SearchingForTheMysteriousPower.Q10322_SearchingForTheMysteriousPower;
/**
* @author Sdw, Gladicek
* @author Sdw, Gladicek, gyo
*/
public class Q10323_TrainLikeItsReal extends Quest
{
@@ -45,6 +46,7 @@ public class Q10323_TrainLikeItsReal extends Quest
// Mobs
private static final int TRAINING_GOLEM = 27532;
// Misc
private static final int TRAINING_GOLEM_REQUIRED = 1;
private static final int MAX_LEVEL = 20;
// Items
private static final ItemHolder SPIRITSHOTS = new ItemHolder(2509, 500);
@@ -54,10 +56,10 @@ public class Q10323_TrainLikeItsReal extends Quest
{
super(10323, Q10323_TrainLikeItsReal.class.getSimpleName(), "Train Like It's Real");
addStartNpc(EVAIN);
addTalkId(HOLDEN, EVAIN, SHANNON);
addTalkId(EVAIN, HOLDEN, SHANNON);
addKillId(TRAINING_GOLEM);
addCondMaxLevel(MAX_LEVEL, "33464-05.html");
addCondCompletedQuest(Q10322_SearchingForTheMysteriousPower.class.getSimpleName(), "33464-05.html");
addCondMaxLevel(MAX_LEVEL, "33464-07.html");
addCondCompletedQuest(Q10322_SearchingForTheMysteriousPower.class.getSimpleName(), "33464-07.html");
}
@Override
@@ -89,7 +91,7 @@ public class Q10323_TrainLikeItsReal extends Quest
showOnScreenMsg(player, NpcStringId.AUTOMATE_SOULSHOT_AS_SHOWN_IN_THE_TUTORIAL, ExShowScreenMessage.TOP_CENTER, 4500);
break;
}
case "33464-03.html":
case "33464-03.htm":
{
qs.startQuest();
htmltext = event;
@@ -99,37 +101,42 @@ public class Q10323_TrainLikeItsReal extends Quest
{
if (qs.isCond(1))
{
// show NpcLog dialog trick
qs.setCond(3);
qs.setCond(2, true);
htmltext = event;
}
break;
}
case "33194-05.html":
case "33194-07.html":
{
if (qs.isCond(3))
{
qs.setMemoState(0);
if (player.isMageClass())
{
giveItems(player, SPIRITSHOTS);
showOnScreenMsg(player, NpcStringId.SPIRITSHOT_HAVE_BEEN_ADDED_TO_YOUR_INVENTORY, ExShowScreenMessage.TOP_CENTER, 4500);
startQuestTimer("showscreen_spiritshot", 4500, npc, player);
player.sendPacket(new TutorialShowHtml(npc.getObjectId(), "..\\L2Text\\QT_003_bullet_01.htm", TutorialShowHtml.LARGE_WINDOW));
qs.setCond(5, true);
}
else
{
giveItems(player, SOULSHOTS);
showOnScreenMsg(player, NpcStringId.SOULSHOT_HAVE_BEEN_ADDED_TO_YOUR_INVENTORY, ExShowScreenMessage.TOP_CENTER, 4500);
startQuestTimer("showscreen_soulshot", 4500, npc, player);
player.sendPacket(new TutorialShowHtml(npc.getObjectId(), "..\\L2Text\\QT_003_bullet_01.htm", TutorialShowHtml.LARGE_WINDOW));
qs.setCond(4, true);
}
giveItems(player, SOULSHOTS);
showOnScreenMsg(player, NpcStringId.SOULSHOT_HAVE_BEEN_ADDED_TO_YOUR_INVENTORY, ExShowScreenMessage.TOP_CENTER, 4500);
startQuestTimer("showscreen_soulshot", 4500, npc, player);
player.sendPacket(new TutorialShowHtml(npc.getObjectId(), "..\\L2Text\\QT_003_bullet_01.htm", TutorialShowHtml.LARGE_WINDOW));
qs.setCond(4, true);
htmltext = event;
}
break;
}
case "33194-08.html":
{
if (qs.isCond(3))
{
qs.setMemoState(0);
giveItems(player, SPIRITSHOTS);
showOnScreenMsg(player, NpcStringId.SPIRITSHOT_HAVE_BEEN_ADDED_TO_YOUR_INVENTORY, ExShowScreenMessage.TOP_CENTER, 4500);
startQuestTimer("showscreen_spiritshot", 4500, npc, player);
player.sendPacket(new TutorialShowHtml(npc.getObjectId(), "..\\L2Text\\QT_003_bullet_01.htm", TutorialShowHtml.LARGE_WINDOW));
qs.setCond(5, true);
htmltext = event;
}
break;
}
case "33194-14.html":
{
if (qs.isCond(8))
{
@@ -164,22 +171,48 @@ public class Q10323_TrainLikeItsReal extends Quest
{
case State.CREATED:
{
if (npc.getId() == EVAIN)
switch (npc.getId())
{
htmltext = "33464-01.htm";
break;
}
else if (npc.getId() == SHANNON)
{
htmltext = "32974-03.html";
break;
case EVAIN:
{
htmltext = "33464-01.htm";
break;
}
case SHANNON:
{
htmltext = "32974-03.html";
break;
}
case HOLDEN:
{
htmltext = getNoQuestMsg(player);
break;
}
}
break;
}
case State.STARTED:
{
if (npc.getId() == EVAIN)
{
htmltext = "33464-03.html";
switch (qs.getCond())
{
case 1:
{
htmltext = "33464-04.html";
break;
}
case 9:
{
htmltext = "33464-05.html";
break;
}
default:
{
htmltext = getNoQuestMsg(player);
break;
}
}
break;
}
else if (npc.getId() == HOLDEN)
@@ -191,26 +224,55 @@ public class Q10323_TrainLikeItsReal extends Quest
htmltext = "33194-01.html";
break;
}
case 3:
case 2:
{
htmltext = "33194-04.html";
break;
}
case 3:
{
// Orc Mystic will get Soulshots
if (!player.isMageClass() || (player.getRace() == Race.ORC))
{
htmltext = "33194-05.html";
}
else
{
htmltext = "33194-06.html";
}
break;
}
case 4:
{
htmltext = "33194-06.html";
htmltext = "33194-09.html";
qs.setCond(6, true);
break;
}
case 5:
{
htmltext = "33194-06.html";
htmltext = "33194-10.html";
qs.setCond(7, true);
break;
}
case 6:
{
htmltext = "33194-11.html";
break;
}
case 7:
{
// same text as 33194-10.html
htmltext = "33194-12.html";
break;
}
case 8:
{
htmltext = "33194-07.html";
htmltext = "33194-13.html";
break;
}
case 9:
{
htmltext = "33194-15.html";
break;
}
}
@@ -221,22 +283,31 @@ public class Q10323_TrainLikeItsReal extends Quest
if (qs.isCond(9))
{
htmltext = "32974-01.html";
break;
}
break;
}
}
case State.COMPLETED:
{
if (npc.getId() == EVAIN)
switch (npc.getId())
{
htmltext = "33464-04.html";
break;
}
else if (npc.getId() == SHANNON)
{
htmltext = "32974-05.html";
break;
case EVAIN:
{
htmltext = "33464-06.html";
break;
}
case SHANNON:
{
htmltext = "32974-05.html";
break;
}
case HOLDEN:
{
htmltext = getNoQuestMsg(player);
break;
}
}
break;
}
}
return htmltext;
@@ -254,30 +325,30 @@ public class Q10323_TrainLikeItsReal extends Quest
if (qs.isCond(2))
{
killedGolem++;
sendNpcLogList(killer);
if (killedGolem >= 4)
if (killedGolem >= TRAINING_GOLEM_REQUIRED)
{
qs.setCond(3, true);
}
else
{
qs.setMemoState(killedGolem);
sendNpcLogList(killer);
playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET);
}
}
else if (qs.isCond(6) || qs.isCond(7))
{
killedGolem++;
sendNpcLogList(killer);
if (killedGolem >= 4)
if (killedGolem >= TRAINING_GOLEM_REQUIRED)
{
qs.setCond(8, true);
}
else
{
qs.setMemoState(killedGolem);
sendNpcLogList(killer);
playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET);
}
}