Updated Gludio NPCs.

Contributed by Street.
This commit is contained in:
MobiusDevelopment
2020-01-08 18:41:02 +00:00
parent ad9b3da392
commit 8c0f27cf9c
159 changed files with 341 additions and 238 deletions

View File

@@ -1,7 +1,6 @@
<html><body>Dual Class Master Raina:<br>
I heard that Ertheia are curious people. But a gem that absorbs power... I still can't help thinking that it's really dangerous. You could have died. <br>
But thanks to your efforts, even Ertheia can use the power of the giants now.<br>
But because you're different than the race from the Material Realm, your power will not merge with the giants'. Because they do not mingle, you will not be able to use your power while using the giants' power. Of course, you can use your original power instead of the giants' power anytime you wish.<br>
Now! Would you like to use the power of the giants?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Raina ertheiaDualClass">"Yes, on with a dual class!"</Button>
A dual class lets you select another class besides your main class and to raise them to the same level.<br>
There are restrictions to what types of classes you can select, though. Do you want to see if you meet the conditions?<br>
<!-- TODO: add addDualClass for all classes -->
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Raina addDualClass">"Yes, on with a dual class!"</Button>
</body></html>

View File

@@ -1,7 +1,7 @@
<html><body>Dual Class Master Raina:<br>
Hello!<br1>
I will be assisting you with <font color="LEVEL">reawakening an Awakened dual class</font>.<br1>
To reawaken a dual class, you need to have an Awakened dual class. After reawakening, your level will be reduced to level 85, and all the skills you've learned will be forgotten.<br>
To reawaken a dual class, you need to have an Awakened dual class. After reawakening, your level will be reduced to level 85, and all the skills you've learned will be forgotten..<br>
(<font color="af9878">Change dual classes and your level will be </font><font color="LEVEL">reset to level 85</font><font color="af9878"></font>).<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Raina reawakenDualclass">"I'll reawaken."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Raina reawakenDualclass">"I'll reawaken the dual class (reset)."</Button>
</body></html>

View File

@@ -276,10 +276,13 @@ public class Raina extends AbstractNpcAI
}
break;
}
case "ertheiaDualClass":
case "addDualClass":
{
if (player.getRace() != Race.ERTHEIA){
htmltext = "notImplemented.html";
}
// TODO: Maybe html is different when you have 85lvl but you haven't completed quest
if ((player.getRace() != Race.ERTHEIA) || (player.getLevel() < 85) || !player.isInCategory(CategoryType.SIXTH_CLASS_GROUP) || player.hasDualClass() || !haveDoneQuest(player, true))
if ((player.getRace() != Race.ERTHEIA) || (player.getLevel() < 105) || !player.isInCategory(CategoryType.SIXTH_CLASS_GROUP) || player.hasDualClass() || !haveDoneQuest(player, true))
{
htmltext = "addDualClassErtheiaFailed.html";
}
@@ -298,7 +301,7 @@ public class Raina extends AbstractNpcAI
case "addDualClass_SIXTH_WYNN_GROUP":
case "addDualClass_SIXTH_EOLH_GROUP":
{
if ((player.getLevel() < 85) || !player.isInCategory(CategoryType.SIXTH_CLASS_GROUP) || player.hasDualClass() || !haveDoneQuest(player, true))
if ((player.getLevel() < 105) || !player.isInCategory(CategoryType.SIXTH_CLASS_GROUP) || player.hasDualClass() || !haveDoneQuest(player, true))
{
htmltext = "addDualClassErtheiaFailed.html";
break;

View File

@@ -1,6 +1,6 @@
<html><body>Dual Class Master Raina:<br>
Which class would you like as your Dual Class?<br1>
<font color="LEVEL">(A Level 85 Dual Class will be added, and the 3rd transfer skills provided will be based on Human class.)</font><br>
<font color="LEVEL">(A Level 105 Dual Class will be added, and the 3rd transfer skills provided will be based on Human class.)</font><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Raina addDualClass_SIXTH_SIGEL_GROUP">"I want choose a the Sigel Knight class."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Raina addDualClass_SIXTH_TIR_GROUP">"I want choose a the Tyrr Warrior class."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Raina addDualClass_SIXTH_OTHEL_GROUP">"I want choose a the Othell Rogue class."</Button>

View File

@@ -1,5 +1,5 @@
<html><body>Dual Class Master Raina:<br><br>
You do not meet the conditions to add a dual class.<br>
Come back when you're ready, or ask for something else.<br>
(Only Ertheia characters Lv. 85 or above may add a dual class once.)
You cannot get Dual Class at the time. Ask another question or return when the time comes.<br>
(Only characters of <font color="LEVEL">Lv. 85 or higher<font> can get a Dual Class.)
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Dual Class Master Raina:<br><br>
This feature is not implemented yet.<br>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Dual Class Certificate Manager Trandon:<br>
<font color="LEVEL">Hey, hey. You would need to come as a dual class if you want to do a dual class certification. It's not that hard.</font><br>
<font color="LEVEL">Hey, hey. You would need to come as a dual class if you want to do a dual class certification. It's not that hard.</font><br1>
Come back when you're ready. Young ones these days...
</body></html>

View File

@@ -43,8 +43,8 @@ public class HealerTrainer extends AbstractNpcAI
// @formatter:off
private static final int[] HEALER_TRAINERS =
{
30022, 30030, 30032, 30036, 30067, 30068, 30116, 30117, 30118, 30119,
30144, 30145, 30188, 30194, 30293, 30330, 30375, 30377, 30464, 30473,
30022, 30032, 30036, 30067, 30068, 30116, 30117, 30118, 30119,
30144, 30145, 30188, 30194, 30375, 30377, 30464, 30473,
30476, 30680, 30701, 30858, 30859, 30860, 30861, 30864,30906, 30908,
30912, 31280, 31281, 31287, 31329, 31330, 31335, 31969, 31970, 31976,
32155, 32162, 32161, 32156, 32148

View File

@@ -0,0 +1,4 @@
<html><body>High Priest Raymond:<br>
May I help you? I cannot teach anyone except those who aspire to discern the will of the gods. However, our meeting you is also the will of the gods, so I'll pray for the blessings of Einhasad to rest upon you. Next time, seek someone who can teach someone on your own path.<br>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>High Prefect Drikus:<br>
I am the High Prefect Drikus, heir to the authority of the eternal father of fire, Pa'agrio, and one who endeavors to revive the glory of the Orcs by teaching them. Could one like you dare to usurp the power of our race? We Orcs are the strongest race to walk the land. The likes of you could never even think of catching up to us.<br>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>High Prefect Drikus:<br>
A class transfer means that you have attained a certain degree of ability and experience, and may be promoted to a higher-level class. Orc Fighters can change profession to an <font color="LEVEL">Orc Raider</font> or a <font color="LEVEL">Monk</font>. Which profession do you want to know about?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ClassTransferTalk 30505-03.html">Orc Raider</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ClassTransferTalk 30505-05.html">Orc Monk</Button>
</body></html>

View File

@@ -0,0 +1,7 @@
<html><body>High Prefect Drikus:<br>
<font color="LEVEL">Orc Raiders</font> are superb warriors who fight powerfully with weapons. They rely on their pure power and skill to win, not on tactical tricks. Orc Raiders are the most consistent fighters on the battlefield. Their power overwhelms the skills of their enemies.<br>
The most skillful Orc Raiders are later selected as <font color="LEVEL">Destroyers</font>. One on one, Destroyers surpass all other Fighters.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ClassTransferTalk 30505-04.html">"Tell me more about Orc Raiders."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ClassTransferTalk 30505-10.html">"Let me transfer my class to Orc Raiders."</Button>
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest ClassTransferTalk 30505-02.html">Back</Button>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>High Prefect Drikus:<br>
Basically, to earn the qualifications to become an Orc Raider, your level must be at least 20, and you must pass the Test of the Orc Raider.<br>
To take the Test of the Orc Raider, go to <font color="LEVEL">Prefect Karukia of the Orc Village</font>. She will tell you everything you need to know. If you pass the test and come back, I will change your class. To get to the Orc Village, first go to Gludio, then use a Gatekeeper.<br>
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest ClassTransferTalk 30565-02.html">Back</Button>
</body></html>

View File

@@ -0,0 +1,7 @@
<html><body>High Prefect Drikus:<br>
<font color="LEVEL">Monks</font> are priests who devote themselves to the path of flame. Unlike Orc Raiders, they do not rely on swords or large weapons, but use their own bodies as weapons of war. Because they do not depend on weapons or armor, they learn many skills to protect themselves.<br>
The finest Monks are selected to become <font color="LEVEL">Tyrants</font>, for still more advanced physical and technical training.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ClassTransferTalk 30565-06.html">"Tell me more about Orc Monks"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ClassTransferTalk 30565-11.html">"Let me transfer my class to Orc Monk."</Button>
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest ClassTransferTalk 30565-02.html">Back</Button>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>High Prefect Drikus:<br>
Basically, to become a Monk, your level must be at least 20 and you must pass the Test of the Monk.<br>
To take the Test of the Monk, seek the Orc named <font color="LEVEL">Gantaki Zu Urutu of the Orc Village<font>. He will tell you everything you need to know. After you pass the test, come to me and I will change your class. Use the Gatekeeper to go to the Orc Village.<br>
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest ClassTransferTalk 30565-02.html">Back</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>High Prefect Drikus:<br>
To become an Orc Raider, the appropriate level and token are required. Your level must be at least 20 to qualify for a class transfer. You also need a token, to prove you have passed the Test of the Orc Raider.<br>
However, it seems that your level is not high enough, and you have not yet passed the Test of the Orc Raider. First, work to raise your level to 20 or higher. To take the Test of the Orc Raider, go to <font color="LEVEL">Prefect Karukia of the Orc Village<font>. She will tell you everything you need to know. If you pass the test and come back, I will change your class. To get to the Orc Village, first go to Gludio, then use a Gatekeeper to go to the Orc Village.<br>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>High Prefect Drikus:<br>
Basically, to be qualified for a Monk, your level must be at least 20 and you must pass the Test of the Monk.<br>
However, it seems that your level is not high enough, and you have not yet passed the test of Monk. First, work to raise your level to 20 or higher. To take the Test of the Monk, seek the Orc named <font color="LEVEL">Gandaki Zu Urutu of the Orc village<font>. He will tell you everything you need to know. After you pass the test, come to me and I will change your profession. Use the Gatekeeper to go to the Orc village.<br>
</body></html>

View File

@@ -1,3 +1,3 @@
<html><body>Grand Master Rivian:<br>
I will assist you with the transfer, but what I can tell you with certainty is that they are from the Elves.<br>
Sure, I know a lot about Classes, but only the Elven ones.<br>
</body></html>

View File

@@ -41,11 +41,13 @@ public class ClassTransferTalk extends AbstractNpcAI
private static final int KAKAI = 30565;
private static final int MOKA = 32157;
private static final int VALFAR = 32146;
private static final int DRIKUS = 30505;
private static final int RAYMOND = 30289;
// @formatter:off
private static final int[] FIRST_CLASS_TOWNS =
{
// Town of Gludio
30289, 30288, 30297, 30505, 30504, 30503, 32196,
30288, 30297, 30504, 30503, 32196,
// Town of Dion
30070, 30066, 30462, 30508, 30595, 30594, 32199,
// Gludin Village
@@ -91,6 +93,8 @@ public class ClassTransferTalk extends AbstractNpcAI
switch (event)
{
case "30289-01.html":
case "30505-01.html":
case "30565-02.html":
case "30565-03.html":
case "30565-04.html":
@@ -260,6 +264,26 @@ public class ClassTransferTalk extends AbstractNpcAI
htmltext = "first_class_transfer.html";
break;
}
case DRIKUS:
{
if (player.getRace() == Race.ORC)
{
if (player.isMageClass())
{
htmltext = "30505-07.html";
}
else
{
htmltext = "30505-02.html";
}
break;
}
htmltext = "30505-01.html";
}
case RAYMOND:
{
htmltext = "30289-01.html";
}
}
}
return htmltext;

View File

@@ -0,0 +1,5 @@
<html><body>A Shadow Item is a special weapon that is made in cooperation between the Ivory Tower and the Black Anvil Guild. It is created by magically projecting the power of a weapon onto another catalytic object. While that means that it can only be used while the magic charge remains, it has made it possible to mass produce projectile weapons.<br>
Its performance is no different than if you used the original weapon, except that it cannot possess the special ability to absorb souls or augment through a Life Stone. Also, although it acts as a weapon, it is actually in the magic category - once opened, it cannot be passed on to someone else. Consider it an aid on your new path until you lay your hands on some real weapons.<br>
If you have a Shadow Item Coupon, you can receive a Shadow Item right for you.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ShadowWeapons">"Here is a Shadow Item Coupon."</Button>
</body></html>

View File

@@ -48,6 +48,22 @@ public class ShadowWeapons extends AbstractNpcAI
addTalkId(NPCS);
}
@Override
public String onAdvEvent(String event, Npc npc, PlayerInstance player)
{
String htmltext = null;
switch (event)
{
case "ShadowCoupon.html":
{
htmltext = event;
break;
}
}
return htmltext;
}
@Override
public String onTalk(Npc npc, PlayerInstance player)
{