New Blackbird Campsite related NPCs.

Contributed by gigilo1968.
This commit is contained in:
MobiusDev 2018-05-06 14:13:32 +00:00
parent 5459e1d5b9
commit 6120b91d2c
26 changed files with 716 additions and 6 deletions

View File

@ -0,0 +1,7 @@
<html><body>Logart Van Dyke:<br>
Who goes there! What is your affiliation?<br>
I am Captain Logart Van Dyke of the Kingdom's Royal Guard, successor of the Van Dyke household. <br>
We, Kingdom's Royal Guard, are under the direct command of Amadeo Cadmus, King of Aden.<br>
You must consider all assignments I give you to be directly from the king himself, and apply yourself with diligence!<br>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
<npcs>
<npc>34236</npc> <!-- Dinford -->
</npcs>
<item>
<ingredient id="47258" count="10" /> <!-- Blood Crystal -->
<ingredient id="57" count="500000" /> <!-- Adena -->
<production id="47281" count="1" /> <!-- Kingdom's Royal Guard Talisman Stage 1 -->
</item>
</list>

View File

@ -0,0 +1,159 @@
<?xml version="1.0" encoding="UTF-8"?>
<list isChanceMultisell="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
<npcs>
<npc>34236</npc> <!-- Dinford -->
</npcs>
<item>
<ingredient id="47281" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 1 -->
<ingredient id="35563" count="1"/> <!-- Giant's Energy -->
<ingredient id="47258" count="10"/> <!-- Blood Crystal -->
<production id="47282" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 2 -->
<production id="47282" count="1" chance="80"/> <!-- Kingdom's Royal Guard Talisman Stage 2 -->
<production id="47258" count="5" chance="20"/> <!-- Blood Crystal -->
</item>
<item>
<ingredient id="47281" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 1 -->
<ingredient id="47739" count="1"/> <!-- Hunter's Amulet -->
<ingredient id="35563" count="1"/> <!-- Giant's Energy -->
<ingredient id="47258" count="10"/> <!-- Blood Crystal -->
<production id="47282" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 2 -->
<production id="47282" count="1" chance="80"/> <!-- Kingdom's Royal Guard Talisman Stage 2 -->
<production id="47281" count="1" chance="20"/> <!-- Kingdom's Royal Guard Talisman Stage 1 -->
</item>
<item>
<ingredient id="47282" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 2 -->
<ingredient id="35563" count="1"/> <!-- Giant's Energy -->
<ingredient id="47258" count="10"/> <!-- Blood Crystal -->
<production id="47283" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 3 -->
<production id="47283" count="1" chance="70"/> <!-- Kingdom's Royal Guard Talisman Stage 3 -->
<production id="47281" count="1" chance="30"/> <!-- Kingdom's Royal Guard Talisman Stage 1 -->
</item>
<item>
<ingredient id="47282" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 2 -->
<ingredient id="47739" count="1"/> <!-- Hunter's Amulet -->
<ingredient id="35563" count="1"/> <!-- Giant's Energy -->
<ingredient id="47258" count="10"/> <!-- Blood Crystal -->
<production id="47283" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 3 -->
<production id="47283" count="1" chance="70"/> <!-- Kingdom's Royal Guard Talisman Stage 3 -->
<production id="47282" count="1" chance="30"/> <!-- Kingdom's Royal Guard Talisman Stage 2 -->
</item>
<item>
<ingredient id="47283" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 3 -->
<ingredient id="35563" count="1"/> <!-- Giant's Energy -->
<ingredient id="47258" count="10"/> <!-- Blood Crystal -->
<production id="47284" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 4 -->
<production id="47284" count="1" chance="60"/> <!-- Kingdom's Royal Guard Talisman Stage 4 -->
<production id="47281" count="1" chance="40"/> <!-- Kingdom's Royal Guard Talisman Stage 1 -->
</item>
<item>
<ingredient id="47283" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 3 -->
<ingredient id="47739" count="1"/> <!-- Hunter's Amulet -->
<ingredient id="35563" count="1"/> <!-- Giant's Energy -->
<ingredient id="47258" count="10"/> <!-- Blood Crystal -->
<production id="47284" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 4 -->
<production id="47284" count="1" chance="60"/> <!-- Kingdom's Royal Guard Talisman Stage 4 -->
<production id="47283" count="1" chance="40"/> <!-- Kingdom's Royal Guard Talisman Stage 3 -->
</item>
<item>
<ingredient id="47284" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 4 -->
<ingredient id="35563" count="1"/> <!-- Giant's Energy -->
<ingredient id="47258" count="10"/> <!-- Blood Crystal -->
<production id="47285" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 5 -->
<production id="47285" count="1" chance="60"/> <!-- Kingdom's Royal Guard Talisman Stage 5 -->
<production id="47281" count="1" chance="40"/> <!-- Kingdom's Royal Guard Talisman Stage 1 -->
</item>
<item>
<ingredient id="47284" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 4 -->
<ingredient id="47739" count="1"/> <!-- Hunter's Amulet -->
<ingredient id="35563" count="1"/> <!-- Giant's Energy -->
<ingredient id="47258" count="10"/> <!-- Blood Crystal -->
<production id="47285" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 5 -->
<production id="47285" count="1" chance="60"/> <!-- Kingdom's Royal Guard Talisman Stage 5 -->
<production id="47284" count="1" chance="40"/> <!-- Kingdom's Royal Guard Talisman Stage 4 -->
</item>
<item>
<ingredient id="47285" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 5 -->
<ingredient id="35563" count="2"/> <!-- Giant's Energy -->
<ingredient id="47258" count="10"/> <!-- Blood Crystal -->
<production id="47286" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 6 -->
<production id="47286" count="1" chance="50"/> <!-- Kingdom's Royal Guard Talisman Stage 6 -->
<production id="47281" count="1" chance="50"/> <!-- Kingdom's Royal Guard Talisman Stage 1 -->
</item>
<item>
<ingredient id="47285" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 5 -->
<ingredient id="47739" count="1"/> <!-- Hunter's Amulet -->
<ingredient id="35563" count="2"/> <!-- Giant's Energy -->
<ingredient id="47258" count="10"/> <!-- Blood Crystal -->
<production id="47286" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 6 -->
<production id="47286" count="1" chance="50"/> <!-- Kingdom's Royal Guard Talisman Stage 6 -->
<production id="47285" count="1" chance="50"/> <!-- Kingdom's Royal Guard Talisman Stage 5 -->
</item>
<item>
<ingredient id="47286" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 6 -->
<ingredient id="35563" count="2"/> <!-- Giant's Energy -->
<ingredient id="47258" count="10"/> <!-- Blood Crystal -->
<production id="47287" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 7 -->
<production id="47287" count="1" chance="50"/> <!-- Kingdom's Royal Guard Talisman Stage 7 -->
<production id="47281" count="1" chance="50"/> <!-- Kingdom's Royal Guard Talisman Stage 1 -->
</item>
<item>
<ingredient id="47286" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 6 -->
<ingredient id="47739" count="1"/> <!-- Hunter's Amulet -->
<ingredient id="35563" count="2"/> <!-- Giant's Energy -->
<ingredient id="47258" count="10"/> <!-- Blood Crystal -->
<production id="47287" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 7 -->
<production id="47287" count="1" chance="50"/> <!-- Kingdom's Royal Guard Talisman Stage 7 -->
<production id="47286" count="1" chance="50"/> <!-- Kingdom's Royal Guard Talisman Stage 6 -->
</item>
<item>
<ingredient id="47287" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 7 -->
<ingredient id="35563" count="3"/> <!-- Giant's Energy -->
<ingredient id="47258" count="10"/> <!-- Blood Crystal -->
<production id="47288" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 8 -->
<production id="47288" count="1" chance="40"/> <!-- Kingdom's Royal Guard Talisman Stage 8 -->
<production id="47281" count="1" chance="60"/> <!-- Kingdom's Royal Guard Talisman Stage 1 -->
</item>
<item>
<ingredient id="47287" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 7 -->
<ingredient id="47739" count="2"/> <!-- Hunter's Amulet -->
<ingredient id="35563" count="3"/> <!-- Giant's Energy -->
<ingredient id="47258" count="10"/> <!-- Blood Crystal -->
<production id="47288" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 8 -->
<production id="47288" count="1" chance="40"/> <!-- Kingdom's Royal Guard Talisman Stage 8 -->
<production id="47287" count="1" chance="60"/> <!-- Kingdom's Royal Guard Talisman Stage 7 -->
</item>
<item>
<ingredient id="47288" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 8 -->
<ingredient id="35563" count="3"/> <!-- Giant's Energy -->
<ingredient id="47258" count="10"/> <!-- Blood Crystal -->
<production id="47289" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 9 -->
<production id="47289" count="1" chance="30"/> <!-- Kingdom's Royal Guard Talisman Stage 9 -->
<production id="47281" count="1" chance="70"/> <!-- Kingdom's Royal Guard Talisman Stage 1 -->
</item>
<item>
<ingredient id="47288" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 8 -->
<ingredient id="47739" count="2"/> <!-- Hunter's Amulet -->
<ingredient id="35563" count="3"/> <!-- Giant's Energy -->
<ingredient id="47258" count="10"/> <!-- Blood Crystal -->
<production id="47289" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 9 -->
<production id="47289" count="1" chance="30"/> <!-- Kingdom's Royal Guard Talisman Stage 9 -->
<production id="47288" count="1" chance="70"/> <!-- Kingdom's Royal Guard Talisman Stage 8 -->
</item>
<item>
<ingredient id="47289" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 9 -->
<ingredient id="35563" count="3"/> <!-- Giant's Energy -->
<ingredient id="47258" count="10"/> <!-- Blood Crystal -->
<production id="47290" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 10 -->
<production id="47290" count="1" chance="30"/> <!-- Kingdom's Royal Guard Talisman Stage 10 -->
<production id="47281" count="1" chance="70"/> <!-- Kingdom's Royal Guard Talisman Stage 1 -->
</item>
<item>
<ingredient id="47289" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 9 -->
<ingredient id="47739" count="2"/> <!-- Hunter's Amulet -->
<ingredient id="35563" count="3"/> <!-- Giant's Energy -->
<ingredient id="47258" count="10"/> <!-- Blood Crystal -->
<production id="47290" count="1"/> <!-- Kingdom's Royal Guard Talisman Stage 10 -->
<production id="47290" count="1" chance="30"/> <!-- Kingdom's Royal Guard Talisman Stage 10 -->
<production id="47289" count="1" chance="70"/> <!-- Kingdom's Royal Guard Talisman Stage 9 -->
</item>
</list>

View File

@ -0,0 +1,4 @@
<html><body>Kingdom's Royal Guard Teleport Device:<br>
This teleport device can be used to move from within the Enchanted Valley to the center.<br>
Your faction level with the Kingdom's Royal Guard is below 3, and you may not use the teleport device.
</body></html>

View File

@ -0,0 +1,10 @@
<html><body>Kingdom's Royal Guard Teleport Device:<br>
This is a teleport device installed by the Kingdom's Royal Guard for the purpose of teleporting to the various strongholds of Atelia Fortress.<br>
To use it, you need some special qualifications. The necessary qualifications, and the available teleport destinations, are as follow.<br><br>
<center>Qualification - <font color="LEVEL">Kingdom's Royal Guard Faction level 3 and above</font><br1>
Location - Atelia Fortress Strongholds</center><br><br>
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h Quest TeleportDevice teleport1">Teleport to Stronghold I</Button>
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h Quest TeleportDevice teleport2">Teleport to Stronghold II</Button>
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h Quest TeleportDevice teleport3">Teleport to Stronghold III</Button>
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h Quest TeleportDevice teleport4">Teleport to Stronghold IV</Button>
</body></html>

View File

@ -0,0 +1,90 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package ai.areas.AteliaFortress.TeleportDevice;
import com.l2jmobius.gameserver.enums.Faction;
import com.l2jmobius.gameserver.model.Location;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import ai.AbstractNpcAI;
/**
* Kingdom's Royal Guard Teleport Device
* @author Gigi
* @date 2018-04-30 - [23:32:48]
*/
public class TeleportDevice extends AbstractNpcAI
{
// NPC
private static final int TELEPORT_DEVICE = 34242;
// Teleport's
private static final Location LOCATION1 = new Location(-46335, 59575, -2960);
private static final Location LOCATION2 = new Location(-42307, 51232, -2032);
private static final Location LOCATION3 = new Location(-44060, 40139, -1432);
private static final Location LOCATION4 = new Location(-57242, 43811, -1552);
private TeleportDevice()
{
addFirstTalkId(TELEPORT_DEVICE);
addTalkId(TELEPORT_DEVICE);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
if (player.getFactionLevel(Faction.KINGDOM_ROYAL_GUARDS) < 3)
{
return "34242-01.html";
}
switch (event)
{
case "teleport1":
{
player.teleToLocation(LOCATION1);
break;
}
case "teleport2":
{
player.teleToLocation(LOCATION2);
break;
}
case "teleport3":
{
player.teleToLocation(LOCATION3);
break;
}
case "teleport4":
{
player.teleToLocation(LOCATION4);
break;
}
}
return null;
}
@Override
public String onFirstTalk(L2Npc npc, L2PcInstance player)
{
return "34242.html";
}
public static void main(String[] args)
{
new TeleportDevice();
}
}

View File

@ -0,0 +1,7 @@
<html><body>Magister Belas:<br>
We help those who give the Unworldly Visitors a helping hand to teleport to key locations in the Garden of Spirits.<br>
Remember that teleporting from here to key locations in the Garden of Spirits is available only to those whose faction level with the Unworldly Visitors is 2 or higher. Teleporting from key locations in the Garden of Spirits to this location is provided only to those who have a faction level of 4 or higher with the Unworldly Visitors.<br>
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h Quest Belas West">Western region of the Garden of Spirits</Button>
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h Quest Belas East">Eastern region of the Garden of Spirits</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Magister Belas:<br>
Teleporting to key locations in the Garden of Spirits is a feature available only to persons with a faction level of 2 or greater with the Unworldly Visitors. If you could help us a bit further, you will soon be able to access this benefit.
</body></html>

View File

@ -0,0 +1,6 @@
<html><body>Magister Belas:<br>
This strange energy around us... <br>
If there is even the smallest clue, we must not lose it that small clue might be the only hope the Ertheia have to return to the Spirit Realm.<br>
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h Quest Belas 34056-01.html">Teleport to a key location in the Garden of Spirits</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@ -0,0 +1,91 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package ai.areas.GardenOfSpirits.Belas;
import com.l2jmobius.gameserver.model.Location;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import ai.AbstractNpcAI;
/**
* Teleporter Belas AI
* @author Gigi
*/
public final class Belas extends AbstractNpcAI
{
// NPC
private static final int BELAS = 34056;
// Teleports
private static final Location EAST = new Location(-41168, 79507, -4000);
private static final Location WEST = new Location(-59485, 79782, -4104);
// Item
private static final int MARK_OF_TRUST_MID_GRADE = 45843;
private static final int MARK_OF_TRUST_HIGH_GRADE = 45848;
private Belas()
{
addFirstTalkId(BELAS);
addTalkId(BELAS);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
String htmltext = null;
switch (event)
{
case "34056-01.html":
{
htmltext = event;
break;
}
case "West":
{
if (hasQuestItems(player, MARK_OF_TRUST_MID_GRADE) || hasQuestItems(player, MARK_OF_TRUST_HIGH_GRADE))
{
player.teleToLocation(WEST);
break;
}
htmltext = "34056-02.html";
break;
}
case "East":
{
if (hasQuestItems(player, MARK_OF_TRUST_MID_GRADE) || hasQuestItems(player, MARK_OF_TRUST_HIGH_GRADE))
{
player.teleToLocation(EAST);
break;
}
htmltext = "34056-02.html";
break;
}
}
return htmltext;
}
@Override
public String onFirstTalk(L2Npc npc, L2PcInstance player)
{
return "34056.html";
}
public static void main(String[] args)
{
new Belas();
}
}

View File

@ -0,0 +1,6 @@
<html><body>Dinford:<br>
I am now in charge of administrative affairs relating to Atelia Fortress.<br>
While the Aden Vanguard will be involved with special operations within the Atelia Fortress, much as it was before, all other work has been officially handed over to the Kingdom's Royal Guard. This means that any honorary member certificates issued by the Royal Guard of the Kingdom are no longer effective.<br>
In appreciation of your hard work so far, if you <font color="LEVEL">return your Honorary Member Certificate back</font>, we will give you an <font color="LEVEL">appropriate award</font>.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Dinford 34236-03.html">"Thanks."</Button>
</body></html>

View File

@ -0,0 +1,9 @@
<html><body>Dinford:<br>
The Kingdom's Royal Guard Talisman is a talisman that has been developed with help from the outstanding wizards of Aden.<br>
You'll have to find the ingredients yourself, but if you help us with our work, we can provide some of the more important ingredients.<br>
We also continue to improve the performance of the talismans, and if you want, their performance can be improved.<br>
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Dinford 34236-04.html">"How is the talisman made?"</Button>
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Dinford 34236-05.html">"Tell me about the effects."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h menu_select?ask=-303&reply=2178">"I want to make a Kingdom's Royal Guard Talisman."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h menu_select?ask=-303&reply=2179">"I want to upgrade."</Button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Dinford:<br>
It doesn't appear you have an honorary certificate on you.<br>
I am a member of the Kingdom's Royal Guard, and am but an administrative officer who handles administrative affairs relating to Atelia Fortress.<br>
If you do not have the Honorary Member Certificate, there is no way that you can prove the work you have done. Therefore, we cannot offer you any rewards.
</body></html>

View File

@ -0,0 +1,6 @@
<html><body>Dinford:<br>
If you prepare the ingredients and expense necessary for making a Kingdom's Royal Guard Talisman, I will use the methods I have learned from the wizards of the Kingdom's Royal Guard to make the talisman.<br>
The core ingredients are the <font color="LEVEL">Blood Crystal</font> and <font color="LEVEL">Giant's Energy</font>, of which the <font color="LEVEL">Blood Crystal</font> can be obtained through the supply boxes you receive after helping with the assignments of the Kingdom's Royal Guard.<br>
Upgrades can be performed in the same manner. Of course, performance enhancements sometimes require additional materials, so be sure to check what materials you need.<br>
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest Dinford 34236-02.html">Back</Button>
</body></html>

View File

@ -0,0 +1,6 @@
<html><body>Dinford:<br>
Would you like to know about the effects of the Kingdom's Royal Guard Talisman?<br>
The prime enemy of the Kingdom's Royal Guard is currently the Embryo. We developed it in order to fight more efficiently against the Embryo.<br>
When you wear the Kingdom's Royal Guard Talisman, you will receive less damage from the Embryo, and be able to deal more damage.<br>
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest Dinford 34236-02.html">Back</Button>
</body></html>

View File

@ -0,0 +1,8 @@
<html><body>Dinford:<br>
Welco.. Wait! First, identify yourself. <br>
I am Dinford. I work for Logart, and am in charge of administrative affairs for the Kingdom's Royal Guard.<br>
The Atelia Fortress will be under the direct control of the Kingdom's Royal Guard from now on. <br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Dinford 34236-01.html">"I want to return my Honorary Member Certificate."</Button>
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Dinford 34236-02.html">"Tell me about the Kingdom's Royal Guard Talisman."</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@ -0,0 +1,109 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package ai.areas.GardenOfSpirits.Dinford;
import com.l2jmobius.gameserver.data.xml.impl.MultisellData;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import com.l2jmobius.gameserver.model.events.EventType;
import com.l2jmobius.gameserver.model.events.ListenerRegisterType;
import com.l2jmobius.gameserver.model.events.annotations.Id;
import com.l2jmobius.gameserver.model.events.annotations.RegisterEvent;
import com.l2jmobius.gameserver.model.events.annotations.RegisterType;
import com.l2jmobius.gameserver.model.events.impl.character.npc.OnNpcMenuSelect;
import com.l2jmobius.gameserver.network.serverpackets.PlaySound;
import ai.AbstractNpcAI;
/**
* Dinford in Blackbird Campsite
* @author Gigi
* @date 2018-04-07 - [12:07:12]
*/
public class Dinford extends AbstractNpcAI
{
// NPC
private static final int DINFORD = 34236;
private Dinford()
{
addFirstTalkId(DINFORD);
addTalkId(DINFORD);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
String htmltext = null;
switch (event)
{
case "34236.html":
case "34236-01.html":
case "34236-02.html":
case "34236-03.html":
case "34236-04.html":
case "34236-05.html":
{
htmltext = event;
break;
}
}
return htmltext;
}
@RegisterEvent(EventType.ON_NPC_MENU_SELECT)
@RegisterType(ListenerRegisterType.NPC)
@Id(DINFORD)
public final void OnNpcMenuSelect(OnNpcMenuSelect event)
{
final L2PcInstance player = event.getTalker();
final L2Npc npc = event.getNpc();
final int ask = event.getAsk();
final int reply = event.getReply();
if (ask == -303)
{
if (reply == 2178)
{
MultisellData.getInstance().separateAndSend(2178, player, npc, false);
}
else if (reply == 2179)
{
MultisellData.getInstance().separateAndSend(2179, player, npc, false);
}
}
}
@Override
public String onFirstTalk(L2Npc npc, L2PcInstance player)
{
if (getRandom(10) < 5)
{
player.sendPacket(new PlaySound(3, "Npcdialog1.dinfod_faction_1", 0, 0, 0, 0, 0));
}
else
{
player.sendPacket(new PlaySound(3, "Npcdialog1.dinfod_faction_2", 0, 0, 0, 0, 0));
}
return "34236.html";
}
public static void main(String[] args)
{
new Dinford();
}
}

View File

@ -0,0 +1,3 @@
<html><body>Eubina:<br>
To teleport from here to the Blackbird Campsite, you'll need to have a faction level of at least 4 with the Unworldly Visitors. What goes around comes around, you see.
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Eubina:<br>
Do you have something you want to tell me? Alright. Go ahead. It's not like listening takes a lot of effort. What is it you have to say?<br>
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h Quest Rotoeh teleport">Teleport to the Blackbird Campsite</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@ -0,0 +1,74 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package ai.areas.GardenOfSpirits.Eubina;
import com.l2jmobius.gameserver.enums.Faction;
import com.l2jmobius.gameserver.model.Location;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import ai.AbstractNpcAI;
/**
* @author Mobius
*/
public class Eubina extends AbstractNpcAI
{
// NPC
private static final int EUBINA = 34238;
// Teleport
private static final Location BLACKBIRD_CAMPSITE = new Location(-48354, 69435, -3081);
private Eubina()
{
addFirstTalkId(EUBINA);
addTalkId(EUBINA);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
String htmltext = null;
switch (event)
{
case "teleport":
{
if (player.getFactionLevel(Faction.UNWORLDLY_VISITORS) < 4)
{
htmltext = "34238-01.html";
}
else
{
player.teleToLocation(BLACKBIRD_CAMPSITE);
}
break;
}
}
return htmltext;
}
@Override
public String onFirstTalk(L2Npc npc, L2PcInstance player)
{
return "34238.html";
}
public static void main(String[] args)
{
new Eubina();
}
}

View File

@ -0,0 +1,3 @@
<html><body>Rotoeh:<br>
Teleporting from here to the Blackbird Campsite is a function only available to those with a faction level of 4 or higher with the Unworldly Visitors. Please try a bit harder.
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Rotoeh:<br>
Hi, there! The roads arround here can be tricky, so be careful!<br>
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h Quest Rotoeh teleport">Teleport to the Blackbird Campsite</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@ -0,0 +1,74 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package ai.areas.GardenOfSpirits.Rotoeh;
import com.l2jmobius.gameserver.enums.Faction;
import com.l2jmobius.gameserver.model.Location;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import ai.AbstractNpcAI;
/**
* @author Mobius
*/
public class Rotoeh extends AbstractNpcAI
{
// NPC
private static final int ROTOEH = 34239;
// Teleport
private static final Location BLACKBIRD_CAMPSITE = new Location(-48354, 69435, -3081);
private Rotoeh()
{
addFirstTalkId(ROTOEH);
addTalkId(ROTOEH);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
String htmltext = null;
switch (event)
{
case "teleport":
{
if (player.getFactionLevel(Faction.UNWORLDLY_VISITORS) < 4)
{
htmltext = "34239-01.html";
}
else
{
player.teleToLocation(BLACKBIRD_CAMPSITE);
}
break;
}
}
return htmltext;
}
@Override
public String onFirstTalk(L2Npc npc, L2PcInstance player)
{
return "34239.html";
}
public static void main(String[] args)
{
new Rotoeh();
}
}

View File

@ -655,7 +655,11 @@
<npc id="34140" x="-46909" y="50991" z="-2376" respawnTime="60sec" /> <!-- Aios -->
<npc id="34142" x="-48128" y="49095" z="-2400" respawnTime="60sec" /> <!-- Brunon -->
<npc id="34143" x="-43718" y="50770" z="-2088" respawnTime="60sec" /> <!-- Sumari -->
<npc id="34144" x="-47233" y="47998" z="-2400" respawnTime="60sec" /> <!-- Lansia -->
<npc id="34144" x="-47233" y="47998" z="-2400" respawnTime="60sec" /> <!-- Lansia -->
<npc id="34242" x="-46298" y="59665" z="-2960" heading="58000" respawnTime="60sec" /> <!-- Kingdom's Royal Guard Teleport Device -->
<npc id="34242" x="-42358" y="51294" z="-2000" heading="56251" respawnTime="60sec" /> <!-- Kingdom's Royal Guard Teleport Device -->
<npc id="34242" x="-57184" y="43725" z="-1544" heading="32366" respawnTime="60sec" /> <!-- Kingdom's Royal Guard Teleport Device -->
<npc id="34242" x="-43933" y="40312" z="-1416" heading="40793" respawnTime="60sec" /> <!-- Kingdom's Royal Guard Teleport Device -->
</group>
</spawn>
</list>

View File

@ -4,15 +4,18 @@
<group>
<npc id="34054" x="-47988" y="69597" z="-3080" heading="35672" respawnTime="60sec" /> <!-- Ferin -->
<npc id="34055" x="-48004" y="69674" z="-3080" heading="39238" respawnTime="60sec" /> <!-- Cyphona -->
<npc id="34056" x="-47982" y="69518" z="-3080" heading="21019" respawnTime="60sec" /> <!-- Master -->
<npc id="34057" x="-48457" y="69422" z="-3080" heading="61174" respawnTime="60sec" /> <!-- Elikia -->
<npc id="34056" x="-47982" y="69518" z="-3080" heading="21019" respawnTime="60sec" /> <!-- Belas -->
<npc id="34057" x="-48422" y="69238" z="-3080" heading="62025" respawnTime="60sec" /> <!-- Elikia -->
<npc id="34058" x="-48629" y="69713" z="-3080" heading="62181" respawnTime="60sec" /> <!-- Adolph -->
<npc id="34078" x="-48068" y="68926" z="-3080" heading="49209" respawnTime="60sec" /> <!-- Training Soldier -->
<npc id="34078" x="-48262" y="68919" z="-3080" heading="49847" respawnTime="60sec" /> <!-- Training Soldier -->
<npc id="34078" x="-48269" y="70104" z="-3080" heading="14301" respawnTime="60sec" /> <!-- Training Soldier -->
<npc id="34078" x="-48447" y="70043" z="-3080" heading="21505" respawnTime="60sec" /> <!-- Training Soldier -->
<npc id="34078" x="-48068" y="68926" z="-3080" heading="49209" respawnTime="60sec" /> <!-- Training Soldier -->
<npc id="34078" x="-48641" y="69648" z="-3080" heading="63372" respawnTime="60sec" /> <!-- Training Soldier -->
<npc id="34078" x="-48269" y="70104" z="-3080" heading="14301" respawnTime="60sec" /> <!-- Training Soldier -->
<npc id="34078" x="-48649" y="69781" z="-3080" heading="64807" respawnTime="60sec" /> <!-- Training Soldier -->
<npc id="34078" x="-48447" y="70043" z="-3080" heading="21505" respawnTime="60sec" /> <!-- Training Soldier -->
<npc id="34235" x="-48457" y="69422" z="-3080" heading="61714" respawnTime="60sec" /> <!-- Logart Van Dyke -->
<npc id="34236" x="-48484" y="69467" z="-3080" heading="63573" respawnTime="60sec" /> <!-- Dinford -->
<npc id="34242" x="-48739" y="69154" z="-3080" heading="61174" respawnTime="60sec" /> <!-- Kingdom's Royal Guard Teleport Device -->
</group>
</spawn>
</list>

View File

@ -259,6 +259,8 @@
<npc id="23558" x="-58014" y="84995" z="-4480" respawnTime="60sec" /> <!-- Fury Kerberos Nero -->
<npc id="23558" x="-57231" y="76706" z="-4240" respawnTime="60sec" /> <!-- Fury Kerberos Nero -->
<npc id="23558" x="-56922" y="91520" z="-3856" heading="32767" respawnTime="60sec" /><!-- Fury Kerberos Nero -->
<npc id="34239" x="-40585" y="79861" z="-3968" heading="30212" respawnTime="60sec" /> <!-- Rotoeh -->
<npc id="34238" x="-59396" y="79855" z="-4061" heading="40205" respawnTime="60sec" /> <!-- Eubina -->
</group>
</spawn>
</list>