[Classic] Free teleports up to 40 level.

This commit is contained in:
MobiusDev
2015-05-02 17:27:42 +00:00
parent c93caa3174
commit 1a60277496
22 changed files with 23 additions and 23 deletions

View File

@ -1,6 +1,6 @@
<html><body>Gatekeeper Milia:<br>
Welcome! I mean, it's weird saying welcome when I'm new here, but um, welcome anyway! I'm Milia from the Ivory Tower, sent away from Oren for the first time!<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 76 or below</font>, you can teleport for free.)<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 40 or below</font>, you can teleport for free.)<br>
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h npc_%objectId%_showTeleports">"Uh, can I teleport?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 1">"Can you tell me about the Airship Wharf?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 002">"I want to exchange some Dimensional Diamonds."</Button>

View File

@ -1,6 +1,6 @@
<html><body>Gatekeeper Trisha:<br>
Taking a walk and taking in the sights is always good for you, but sometimes you just don't have the time, you know? I can help you if you want to go somewhere through the gate of time and space.<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 76</font> or below, you can teleport for free.)<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 40</font> or below, you can teleport for free.)<br>
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h npc_%objectId%_showTeleports">Teleport</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 002">Use Dimension Diamond</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_showNoblesSelect">[Noblesse Exclusive] Teleport</Button>

View File

@ -1,6 +1,6 @@
<html><body>Gatekeeper Clarissa:<br>
We are gatekeepers of dimensional travel, capable of teleportation to destinations in the blink of an eye. Do you have a request?<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 76 or below</font>, you can teleport for free.)<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 40 or below</font>, you can teleport for free.)<br>
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h npc_%objectId%_showTeleports">"Teleport me, please."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 002">"I want to exchange some Dimensional Diamonds."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_showNoblesSelect">[Noblesse Only] "Teleport me, please."</Button>

View File

@ -1,6 +1,6 @@
<html><body>Teleport Device:<br>
The Dark Elf Village is currently under quarantine due to an epidemic. Survivors from the village who are not carrying the disease have been relocated to the Talking Island. We recommend that visitors avoid the Dark Elf village until further notice.<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 76 or below</font>, you can teleport for free.)<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 40 or below</font>, you can teleport for free.)<br>
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h npc_%objectId%_showTeleports">"Uh, can I teleport?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 002">"I want to exchange some Dimensional Diamonds."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_showNoblesSelect">[Noblesse Only] "Teleport me, please."</Button>

View File

@ -1,7 +1,7 @@
<html><body>Gatekeeper Valentina:<br>
Hello there! I don't look like a plain gatekeeper, do I? Haha. I'm actually sent from the Ivory Tower. I know, the scary tower where the lunatics live...or was that greedy wizards plotting to overthrow the world? There are also those who think our mission is to save the world, too, I guess.<br>
So which one do you think describes a gatekeeper? Guess wisely -- I'm here to help you travelers, you know! Hehe.<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 76</font> or below, you can teleport for free.<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 40</font> or below, you can teleport for free.<br>
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h npc_%objectId%_showTeleports">Teleport</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 002">Use Dimension Diamond</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_showNoblesSelect">[Noblesse Exclusive] Teleport</Button>

View File

@ -2,7 +2,7 @@
Well hello there! Don't mind me I'm just standing around just in case you're bleeding out from a monster bite and need to be teleported to safety.
Or miss home terribly. Or need to go help a dying friend. Or really missing seeing the sea.<br>
That said, do you need to get somewhere?<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 76</font> or below, you can teleport for free.)<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 40</font> or below, you can teleport for free.)<br>
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h npc_%objectId%_Chat 1">"Teleport me, please."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 002">"I want to exchange some Dimension Diamonds."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest NoblesseTeleport">[Noblesse Only] "Teleport me, please."</Button>

View File

@ -1,7 +1,7 @@
<html><head><body>
Gatekeeper Bella:<br>
Welcome! Beautiful weather, isn't it? Perfect for traveling!<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 76 or below</font>, you can teleport for free.)<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 40 or below</font>, you can teleport for free.)<br>
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h npc_%objectId%_showTeleports">"Teleport me, please."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 4">"I'm curious about the airship."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 002">"I want to exchange some Dimensional Diamonds."</Button>

View File

@ -1,6 +1,6 @@
<html><body>Gatekeeper Richlin:<br>
Lovely day, isn't it? Would you like to go somewhere? What fortune, to be able to go wherever you please!<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 76 or below</font>, you can teleport for free.)<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 40 or below</font>, you can teleport for free.)<br>
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h npc_%objectId%_showTeleports">"Teleport me, please."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 002">"I want to exchange some Dimensional Diamonds."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_showNoblesSelect">[Noblesse Only] "Teleport me, please."</Button>

View File

@ -1,6 +1,6 @@
<html><body>Teleport Device:<br>
The Dwarven Village is deserted due to the recent plague outbreak. The survivors have moved onto Talking Island; please leave the area immediately.<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 76 or below</font>, you can teleport for free.)<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 40 or below</font>, you can teleport for free.)<br>
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h npc_%objectId%_showTeleports">"Uh, can I teleport?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 002">"I want to exchange some Dimensional Diamonds."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_showNoblesSelect">[Noblesse Only] "Teleport me, please."</Button>

View File

@ -1,6 +1,6 @@
<html><body>Teleport Device:<br>
The Orc Village is deserted due to the recent plague outbreak. The survivors have moved onto Talking Island; please leave the area immediately.<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 76 or below</font>, you can teleport for free.)<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 40 or below</font>, you can teleport for free.)<br>
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h npc_%objectId%_showTeleports">"Uh, can I teleport?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 002">"I want to exchange some Dimensional Diamonds."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_showNoblesSelect">[Noblesse Only] "Teleport me, please."</Button>

View File

@ -1,7 +1,7 @@
<html><body>Gatekeeper Minerva:<br>
Hardin's Academy is not to be trifled with. I hope you know what kind of people Necromancers are? They see human flesh and blood as an ingredient for their goals. Their apathy toward death is truly disturbing.<br>
Does this bother you? I can help you get away, if you want, far, far away from here.<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 76 or below</font>, you can teleport for free.)<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 40 or below</font>, you can teleport for free.)<br>
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h npc_%objectId%_showTeleports">"Uh, can I teleport?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 002">"I want to exchange some Dimensional Diamonds."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_showNoblesSelect">[Noblesse Only] "Teleport me, please."</Button>

View File

@ -1,6 +1,6 @@
<html><body>Gatekeeper Elisa:<br>
Such a bustling place! I'm new here, and still haven't had the time to check out the hubbub of politics, the religion, the culture... I wish I had more time, but being gatekeeper is busy work!<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 76 or below</font>, you can teleport for free.)<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 40 or below</font>, you can teleport for free.)<br>
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h npc_%objectId%_showTeleports">"Teleport me, please."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 002">"I want to exchange some Dimensional Diamonds."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_showNoblesSelect">[Noblesse Only] "Teleport me, please."</Button>

View File

@ -2,7 +2,7 @@
Leaving? I hope you enjoyed your stay.<br>
I don't see why anyone would want to leave, though. Innadril is the most beautiful city in Aden. Have you seen the ships crossing the canals at sunset?
Have you heard the whisper of the reeds in the wind? If not you're missing out.<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 76 or below</font>, you can teleport for free.)<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 40 or below</font>, you can teleport for free.)<br>
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h npc_%objectId%_Chat 1">"Teleport me, please."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 002">"I want to exchange some Dimensional Diamonds."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_showNoblesSelect">[Noblesse Only] "Teleport me, please."</Button>

View File

@ -1,7 +1,7 @@
<html><body>Gatekeeper Tatiana:<br>
Well, hello there. Would you like to teleport? I'm a gatekeeper, master of time and space. I might look idle, but it takes long years of hard work and training at the Ivory Tower to have this skill! We need some more appreciation.<br>
So, what do you need?<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 76 or below</font>, you can teleport for free.)<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 40 or below</font>, you can teleport for free.)<br>
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h npc_%objectId%_showTeleports">"Teleport me, please."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 002">"I want to exchange some Dimensional Diamonds."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_showNoblesSelect">[Noblesse Only] "Teleport me, please."</Button>

View File

@ -1,7 +1,7 @@
<html><body>Gatekeeper Ilyana:<br>
Just look at this bustle. This town has been a strategic and economic center for a long time, and remains so to this day. You'll be amazed to know how many hundreds of people travel through gatekeepers such as myself in a day.<br>
So, what can I help you with?"<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 76 or below</font>, you can teleport for free.)<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 40 or below</font>, you can teleport for free.)<br>
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h npc_%objectId%_showTeleports">"Teleport me, please."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 002">"I want to exchange some Dimensional Diamonds."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_showNoblesSelect">[Noblesse Only] "Teleport me, please."</Button>

View File

@ -1,7 +1,7 @@
<html><body>Gatekeeper Arisha:<br>
The Town of Rune isn't like any other Elmore town! Its sheer scale is so huge that town itself is comprised of two different levels. People can use dimensional gates to move about the city!<br>
So, where would you like to go? The library?<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 76 or below</font>, you can teleport for free.)<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 40 or below</font>, you can teleport for free.)<br>
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h npc_%objectId%_showTeleports">"Yes, please."</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@ -2,7 +2,7 @@
Oh, hi! I'm a gatekeeper like Arisha -- we've both been dispatched to help with teleportation within Rune in case of emergency, since it's such a big town.<br>
Did you see Arisha out there? I'm nice and cozy in here, but she ends up having to endure all kinds of weather. Poor Arisha. <br>
Oh, anyway. Did you need to go somewhere? Front of the temple?<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 76 or below</font>, you can teleport for free.)<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 40 or below</font>, you can teleport for free.)<br>
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h npc_%objectId%_showTeleports">"Yes, please."</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@ -1,7 +1,7 @@
<html><body>Gatekeeper Bilia<br>
Hello? I am Bilia, Gatekeeper in the Town of Schuttgart. If you want to use the gate, you need to first open the portal. I'll do my best to help you arrive at your destination safely and quickly.<br>
If you've decided on your destination, I'll teleport you.<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 76 or below</font>, you can teleport for free.)<br>
(If your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 40 or below</font>, you can teleport for free.)<br>
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h npc_%objectId%_Chat 1">"Teleport me, please."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 002">"I want to exchange some Dimensional Diamonds."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_showNoblesSelect">[Noblesse Only] "Teleport me, please."</Button>

View File

@ -1,6 +1,6 @@
<html><body>Gatekeeper Sookie:<br>
What's that look for? Never seen a cat before? IF you need a teleport, you should talk to me.<br>
(If your Main Class is Lv. 76 or bellow, you may teleport for free.)<br>
(If your Main Class is Lv. 40 or bellow, you may teleport for free.)<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_goto 3291201">Arms of Timiniel</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_goto 3291202">Garden of Genesis</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_goto 3291203">Prison of Darkness</Button>

View File

@ -1,6 +1,6 @@
<html><body>Camille:<br>
Greetings. I am the Gainak Gatekeeper. What brings you to this dangerous place?<br>
Perhaps it's better I do not know. Whatever you want to leave here, tell me. Do you?<br>
(If your <font color=LEVEL>Main Class</font> is <font color=LEVEL>Lv. 76 or below</font>, you may teleport for free.)<br>
(If your <font color=LEVEL>Main Class</font> is <font color=LEVEL>Lv. 40 or below</font>, you may teleport for free.)<br>
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h npc_%objectId%_showTeleports">"Teleport me."</Button>
</body></html>

View File

@ -1,7 +1,7 @@
<html><body>Gatekeeper Astiel:<br>
Welcome. I'm Astiel, and I've been dispatched here from the Ivory Tower. When I first arrived, the Ertheia were in such disarray, but the village has since stabilized.<br>
Now, what can I help you with?<br>
(You can teleport for free if your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 76 or below</font>.)<br>
(You can teleport for free if your <font color="LEVEL">main class</font> is <font color="LEVEL">Lv. 40 or below</font>.)<br>
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h npc_%objectId%_showTeleports">"Uh, can I teleport?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 002">"I want to exchange some Dimensional Diamonds."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_showNoblesSelect">[Noblesse Only] "Teleportation, please."</Button>

View File

@ -229,7 +229,7 @@ public final class L2TeleporterInstance extends L2Npc
{
if (type == TeleportType.NORMAL)
{
if (!player.isSubClassActive() && (player.getLevel() < 77))
if (!player.isSubClassActive() && (player.getLevel() < (Config.SERVER_CLASSIC_SUPPORT ? 41 : 77)))
{
return 0;
}
@ -247,7 +247,7 @@ public final class L2TeleporterInstance extends L2Npc
protected boolean shouldPayFee(L2PcInstance player, TeleportType type, TeleportLocation loc)
{
return (type != TeleportType.NORMAL) || (!Config.ALT_GAME_FREE_TELEPORT && ((player.getLevel() > 76) || player.isSubClassActive()) && ((loc.getFeeId() != 0) && (loc.getFeeCount() > 0)));
return (type != TeleportType.NORMAL) || (!Config.ALT_GAME_FREE_TELEPORT && ((player.getLevel() > (Config.SERVER_CLASSIC_SUPPORT ? 40 : 76)) || player.isSubClassActive()) && ((loc.getFeeId() != 0) && (loc.getFeeCount() > 0)));
}
protected int parseNextInt(StringTokenizer st, int defaultVal)