Updated Gallias and Trandon scripts.

This commit is contained in:
MobiusDevelopment 2020-12-23 10:46:56 +00:00
parent fa908905f4
commit 382641e8f6
9 changed files with 58 additions and 12 deletions

View File

@ -0,0 +1,8 @@
<html><body>Dual Class Certificate Manager:<br>
You can receive the Enhanced Dual Class Certifiacte <font color="LEVEL">if your main and dual classes</font> have reached the required level. If you have enough abilities, I can give oyu the certificate.<br>
Once you have it, I'll teach you the skill you want to learn.<br>
Which level certificate would you like?<br><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Gallias dualCertify 7">Lv. 107 Certificate</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Gallias dualCertify 8">Lv. 109 Certificate</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Gallias dualCertify 9">Lv. 110 Certificate</Button>
</body></html>

View File

@ -1,10 +1,10 @@
<html><body>Dual Class Certificate Manager Gallias:<br>
When you get the Dual Class after through training, special skills will become available to you.<br>
Let's see of you took your training seriously.<br1>
You must be of <font color="LEVEL">Lv. 105 or higher</font> to use my services.<br>
So, how can I help you?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Gallias 34514-03.html">Receive Dual Class skills</Button>
<html><body>Dual Class Certificate Manager:<br>
When you get the Dual Class after thorough training, special skills will become available to you.<br>
After you reach a certain level, you can get <font color="LEVEL">Dual Class certification</font> and <font color="LEVEL">improved Dual Class certification</font>. It will help you to upgrade your skills. But keep in mind that the certifications are available only in dual class.<br>
The certifications will allow you to learn <font color="LEVEL">Dual Class skills</font> for your Main Class.<br>
Let's see if you took your training seriously.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Gallias 34514-01.html">Ask about Dual Class certification.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Gallias 34514-26.html">Receive Dual Class certification</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Gallias 34514-26.html">Receive Dual Class certification (Lv. 105)</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Gallias 34514-35.html">Receive improved Dual Class certification (Lv. 110)</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Gallias 34514-08.html">Learn or forget Dual Class skills</Button>
</body></html>

View File

@ -246,6 +246,19 @@ public class Gallias extends AbstractNpcAI
}
break;
}
case "34514-35.html":
{
// TODO: What happens when you have all dual certificates?
if (!player.isDualClassActive())
{
htmltext = "34514-24.html";
}
else if (!player.isInventoryUnder90(false) || (player.getWeightPenalty() >= 2))
{
htmltext = "34514-25.html";
}
break;
}
case "dualCertify":
{
if ((substrings.length < 2) || !player.isDualClassActive())

View File

@ -1,3 +1,3 @@
<html><body>Dual Class Certificate Manager Trandon:<br>
Sorry, but you need 10 million adena. You don't seem to have that much money.
Sorry, but you need 20 million adena. You don't seem to have that much money.
</body></html>

View File

@ -1,4 +1,4 @@
<html><body>Subclass/Dual Class Skill Certification:<br>
<html><body>Dual Class Certificate Manager:<br>
You have to be at a <font color="LEVEL">high enough level for both main and subclass.</font> I can give you the certificate if you're strong enough.<br>
After I give you the certificate, bring it back to me and I'll tell you about skills you can learn.<br>
Now, what level of certification do you want?<br>
@ -9,7 +9,4 @@ Now, what level of certification do you want?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Trandon dualCertify 4">"Level 101 Skill Certification."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Trandon dualCertify 5">"Level 103 Skill Certification."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Trandon dualCertify 6">"Level 105 Skill Certification."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Trandon dualCertify 7">"Level 107 Skill Certification."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Trandon dualCertify 8">"Level 109 Skill Certification."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Trandon dualCertify 9">"Level 110 Skill Certification."</Button>
</body></html>

View File

@ -0,0 +1,6 @@
<html><body>Dual Class Certificate Manager:<br>
You can receive the Enhanced Dual Class Certificate <font color="LEVEL">if your main and dual classes</font> have reached the required level. If you have enough abilities, I can give you the certificate.<br>
Once you have it, I'll teach you the skill you want to learn.<br>
Which level certificate would you like?"<br>
</body></html>

View File

@ -0,0 +1,8 @@
<html><body>Dual Class Certificate Manager:<br>
You can receive the Enhanced Dual Class Certifiacte <font color="LEVEL">if your main and dual classes</font> have reached the required level. If you have enough abilities, I can give oyu the certificate.<br>
Once you have it, I'll teach you the skill you want to learn.<br>
Which level certificate would you like?<br><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Trandon dualCertify 7">Lv. 107 Certificate</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Trandon dualCertify 8">Lv. 109 Certificate</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Trandon dualCertify 9">Lv. 110 Certificate</Button>
</body></html>

View File

@ -5,5 +5,6 @@ The certifications will allow you to learn <font color="LEVEL">Dual Class skills
Let's see if you took your training seriously.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Trandon 33490-02.html">Ask about Dual Class certification</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Trandon 33490-26.html">Receive Dual Class certification (Lv. 105)</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Trandon 33490-35.html">Receive improved Dual Class certification (Lv. 110)</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Trandon 33490-08.html">Learn or forget Dual Class skills</Button>
</body></html>

View File

@ -241,6 +241,19 @@ public class Trandon extends AbstractNpcAI
}
break;
}
case "33490-35.html":
{
// TODO: What happens when you have all dual certificates?
if (!player.isDualClassActive())
{
htmltext = "33490-24.html";
}
else if (!player.isInventoryUnder90(false) || (player.getWeightPenalty() >= 2))
{
htmltext = "33490-25.html";
}
break;
}
case "dualCertify":
{
if ((substrings.length < 2) || !player.isDualClassActive())