[Classic] Disabled free 1-40 teleports.
This commit is contained in:
parent
9d1698a81f
commit
5fd8f11edd
@ -1,6 +1,5 @@
|
||||
<html><body>Gatekeeper Roxxy:<br>
|
||||
Welcome! I mean, it's weird saying welcome when I'm new here, but um, welcome anyway! I'm Roxxy 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. 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="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||
</body></html>
|
@ -1,6 +1,5 @@
|
||||
<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. 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%_Quest TeleportToRaceTrack" msg="811;Monster Race Track">"I want to go to the Arena and Monster Race Track for free."</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||
</body></html>
|
@ -1,6 +1,5 @@
|
||||
<html><body>Gatekeeper Jasmine:<br>
|
||||
We, the Gatekeeper Guild, manage these teleportation portals. Perhaps you want to get out of this forest, and realize your dream in the bigger world, hmm? Just say the word, and I'll send you to exotic land where adventure and romance await!<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="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||
</body></html>
|
@ -1,6 +1,5 @@
|
||||
<html><body>Gatekeeper Mirabel:<br>
|
||||
The Elves once thought that this forest was the entire world, but it is actually just a small part of a vast continent. If you want to go to the bigger world, we, the gatekeepers will gladly send you.<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="NORMAL" action="bypass -h npc_%objectId%_Chat 1">Teleport</Button>
|
||||
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||
</body></html>
|
@ -1,7 +1,6 @@
|
||||
<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. 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%_Quest TeleportToRaceTrack" msg="811;Monster Race Track">"I want to go to the Arena and Monster Race Track for free."</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||
</body></html>
|
@ -1,6 +1,5 @@
|
||||
<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. 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%_Quest TeleportToRaceTrack" msg="811;Monster Race Track">"I want to go to the Arena and Monster Race Track for free."</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||
</body></html>
|
@ -1,7 +1,6 @@
|
||||
<html><body>Gatekeeper Wirphy:<br>
|
||||
I was brought here using only a small portion of the Instant Moving Device. Now I can send you wherever you want to go using that same small portion.<br>
|
||||
Do you want to experience the unlimited power of early science?<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%_Quest TeleportWithCharm">"I'll use a Gatekeeper Token."</Button>
|
||||
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||
|
@ -1,7 +1,6 @@
|
||||
<html><body>Gatekeeper Tamil:<br>
|
||||
Do you know Oren's Ivory Tower? Do you also know that I'm one of only a few Orcs who has received into the Magic Gatekeeper Guild? Ah, you don't know what Oren's Ivory Tower is? How can you not know the centre of magic where the most brilliant wizards in the world gather?<br>
|
||||
Oh ho, respect finally appears on your face, eh? Now are you ready to experience miracles?<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%_Quest TeleportWithCharm">"I'll use a Gatekeeper Charm."</Button>
|
||||
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||
|
@ -1,7 +1,6 @@
|
||||
<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. 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="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||
</body></html>
|
@ -1,7 +1,5 @@
|
||||
<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. 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%_Quest TeleportToRaceTrack" msg="811;Monster Race Track">"I want to go to the Arena and Monster Race Track for free."</Button>
|
||||
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest TeleportToRaceTrack" msg="811;Monster Race Track">"I want to go to the Arena and Monster Race Track for free."</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||
</body></html>
|
@ -2,7 +2,6 @@
|
||||
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. 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%_Quest TeleportToRaceTrack" msg="811;Monster Race Track">"I want to go to the Arena and Monster Race Track for free."</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||
</body></html>
|
@ -229,7 +229,7 @@ public final class L2TeleporterInstance extends L2Npc
|
||||
{
|
||||
if (type == TeleportType.NORMAL)
|
||||
{
|
||||
if (!player.isSubClassActive() && (player.getLevel() < (Config.SERVER_CLASSIC_SUPPORT ? 41 : 77)))
|
||||
if (!player.isSubClassActive() && (player.getLevel() < (Config.SERVER_CLASSIC_SUPPORT ? 1 : 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() > (Config.SERVER_CLASSIC_SUPPORT ? 40 : 76)) || player.isSubClassActive()) && ((loc.getFeeId() != 0) && (loc.getFeeCount() > 0)));
|
||||
return (type != TeleportType.NORMAL) || (!Config.ALT_GAME_FREE_TELEPORT && ((player.getLevel() > (Config.SERVER_CLASSIC_SUPPORT ? 0 : 76)) || player.isSubClassActive()) && ((loc.getFeeId() != 0) && (loc.getFeeCount() > 0)));
|
||||
}
|
||||
|
||||
protected int parseNextInt(StringTokenizer st, int defaultVal)
|
||||
|
Loading…
Reference in New Issue
Block a user