Sync with L2jServer HighFive Dec 21st 2015.

This commit is contained in:
MobiusDev
2015-12-21 11:05:04 +00:00
parent 130fa65bbd
commit 4bfbad7c46
74 changed files with 2194 additions and 307 deletions

View File

@@ -0,0 +1,15 @@
<html><body>Separated Soul:<br>
The Claw of Antharas barely touched me, but even so, my soul was ripped from my body!<br>
I can not gather the souls scattered in the area, but I can sense them. If you desire, I can send you to the location where the separated souls are located.<br>
I can also release the <font color="LEVEL">Sealed Blood Crystal</font> using the <font color="LEVEL">Will of Antharas</font> you possess. What say you?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 7">Entrance to Dragon Valley</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 2">The Center of Dragon Valley</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 3">Deep inside Dragon Valley (North)</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 4">Deep inside Dragon Valley (South)</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 8">Entrance of Antharas' Lair</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 5">Antharas' Lair - Magic Force Field Bridge</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 6">Deep inside Antharas' Lair</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 23242">Hear about Blood Crystal of Antharas.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 23241">Request item synthesis.</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@@ -0,0 +1,15 @@
<html><body>Separated Soul:<br>
The Claw of Antharas barely touched me, but even so, my soul was ripped from my body!<br>
I can not gather the souls scattered in the area, but I can sense them. If you desire, I can send you to the location where the separated souls are located.<br>
I can also release the <font color="LEVEL">Sealed Blood Crystal</font> using the <font color="LEVEL">Will of Antharas</font> you possess. What say you?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 1">Hunter's Village</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 7">Entrance to Dragon Valley</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 3">Deep inside Dragon Valley (North)</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 4">Deep inside Dragon Valley (South)</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 8">Entrance of Antharas' Lair</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 5">Antharas' Lair - Magic Force Field Bridge</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 6">Deep inside Antharas' Lair</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 23242">Hear about Blood Crystal of Antharas.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 23241">Request item synthesis.</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@@ -0,0 +1,15 @@
<html><body>Separated Soul:<br>
The Claw of Antharas barely touched me, but even so, my soul was ripped from my body!<br>
I can not gather the souls scattered in the area, but I can sense them. If you desire, I can send you to the location where the separated souls are located.<br>
I can also release the <font color="LEVEL">Sealed Blood Crystal</font> using the <font color="LEVEL">Will of Antharas</font> you possess. What say you?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 1">Hunter's Village</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 7">Entrance of Dragon Valley</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 2">The Center of Dragon Valley</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 4">Deep inside Dragon Valley (South)</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 8">Entrance of Antharas' Lair</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 5">Antharas' Lair - Magic Force Field Bridge</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 6">Deep inside Antharas' Lair</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 23242">Hear about Blood Crystal of Antharas.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 23241">Request item synthesis.</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@@ -0,0 +1,15 @@
<html><body>Separated Soul:<br>
The Claw of Antharas barely touched me, but even so, my soul was ripped from my body!<br>
I can not gather the souls scattered in the area, but I can sense them. If you desire, I can send you to the location where the separated souls are located.<br>
I can also release the <font color="LEVEL">Sealed Blood Crystal</font> using the <font color="LEVEL">Will of Antharas</font> you possess. What say you?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 1">Hunter's Village</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 7">Entrance of Dragon Valley</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 2">The Center of Dragon Valley</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 3">Deep inside Dragon Valley (North)</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 8">Entrance of Antharas' Lair</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 5">Antharas' Lair - Magic Force Field Bridge</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 6">Deep inside Antharas' Lair</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 23242">Hear about Blood Crystal of Antharas.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 23241">Request item synthesis.</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@@ -0,0 +1,15 @@
<html><body>Separated Soul:<br>
The Claw of Antharas barely touched me, but even so, my soul was ripped from my body!<br>
I can not gather the souls scattered in the area, but I can sense them. If you desire, I can send you to the location where the separated souls are located.<br>
I can also release the <font color="LEVEL">Sealed Blood Crystal</font> using the <font color="LEVEL">Will of Antharas</font> you possess. What say you?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 1">Hunter's Village</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 7">Entrance to Dragon Valley</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 2">The Center of Dragon Valley</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 3">Deep inside Dragon Valley (North)</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 4">Deep inside Dragon Valley (South)</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 8">Entrance of Antharas' Lair</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 5">Antharas' Lair - Magic Force Field Bridge</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 23242">Hear about Blood Crystal of Antharas.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 23241">Request item synthesis.</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@@ -0,0 +1,15 @@
<html><body>Separated Soul:<br>
The Claw of Antharas barely touched me, but even so, my soul was ripped from my body!<br>
I can not gather the souls scattered in the area, but I can sense them. If you desire, I can send you to the location where the separated souls are located.<br>
I can also release the <font color="LEVEL">Sealed Blood Crystal</font> using the <font color="LEVEL">Will of Antharas</font> you possess. What say you?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 1">Hunter's Village</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 7">Entrance to Dragon Valley</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 2">The Center of Dragon Valley</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 3">Deep inside Dragon Valley (North)</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 4">Deep inside Dragon Valley (South)</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 8">Entrance of Antharas' Lair</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 6">Deep inside Antharas' Lair</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 23242">Hear about Blood Crystal of Antharas.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 23241">Request item synthesis.</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@@ -0,0 +1,15 @@
<html><body>Separated Soul:<br>
Antharas' claws covered my face for only a moment, but it ripped my soul to pieces.<br>
The torn souls have been scattered all over, but I can feel all the pieces are connected. If you wish, I can send you to where each of my torn souls is.<br>
I can also use your <font color="LEVEL">Will of Antharas</font> to unseal the <font color="LEVEL">Sealed Blood Crystal</font>. What do you think?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 1">Hunters Village</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 2">The Center of Dragon Valley</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 3">Deep in the Dragon Valley (North)</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 4">Deep in the Dragon Valley (South)</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 8">Entrance to Antharas' Lair</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 5">Antharas' Lair - Barrier Bridge</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 6">Deep in Antharas' Lair</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 23242">Hear about the Antharas Blood Crystal.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 23241">Request item combination.</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@@ -0,0 +1,15 @@
<html><body>Separated Soul:<br>
The Claw of Antharas barely touched me, but even so, my soul was ripped from my body!<br>
I can not gather the souls scattered in the area, but I can sense them. If you desire, I can send you to the location where the separated souls are located.<br>
I can also release the <font color="LEVEL">Sealed Blood Crystal</font> using the <font color="LEVEL">Will of Antharas</font> you possess. What say you?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 1">Hunter's Village</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 7">Entrance to Dragon Valley</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 2">The Center of Dragon Valley</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 3">Deep inside Dragon Valley (North)</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 4">Deep inside Dragon Valley (South)</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 5">Antharas' Lair - Magic Force Field Bridge</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 6">Deep inside Antharas' Lair</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 23242">Hear about Blood Crystal of Antharas.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SeparatedSoul 23241">Request item synthesis.</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@@ -29,7 +29,7 @@ import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
/**
* Separated Soul teleport AI.
* @author UnAfraid, improved by Adry_85
* @author UnAfraid, improved by Adry_85, Zealar
*/
public final class SeparatedSoul extends AbstractNpcAI
{
@@ -45,7 +45,6 @@ public final class SeparatedSoul extends AbstractNpcAI
32870,
32891
};
// Items
private static final int WILL_OF_ANTHARAS = 17266;
private static final int SEALED_BLOOD_CRYSTAL = 17267;
@@ -53,17 +52,17 @@ public final class SeparatedSoul extends AbstractNpcAI
// Misc
private static final int MIN_LEVEL = 80;
// Locations
private static final Map<String, Location> LOCATIONS = new HashMap<>();
private static final Map<Integer, Location> LOCATIONS = new HashMap<>();
static
{
LOCATIONS.put("HuntersVillage", new Location(117031, 76769, -2696));
LOCATIONS.put("AntharasLair", new Location(131116, 114333, -3704));
LOCATIONS.put("AntharasLairDeep", new Location(148447, 110582, -3944));
LOCATIONS.put("AntharasLairMagicForceFieldBridge", new Location(146129, 111232, -3568));
LOCATIONS.put("DragonValley", new Location(73122, 118351, -3714));
LOCATIONS.put("DragonValleyCenter", new Location(99218, 110283, -3696));
LOCATIONS.put("DragonValleyNorth", new Location(116992, 113716, -3056));
LOCATIONS.put("DragonValleySouth", new Location(113203, 121063, -3712));
LOCATIONS.put(1, new Location(117046, 76798, -2696)); // Hunter's Village
LOCATIONS.put(2, new Location(99218, 110283, -3696)); // The Center of Dragon Valley
LOCATIONS.put(3, new Location(116992, 113716, -3056)); // Deep inside Dragon Valley(North)
LOCATIONS.put(4, new Location(113203, 121063, -3712)); // Deep inside Dragon Valley (South)
LOCATIONS.put(5, new Location(146129, 111232, -3568)); // Antharas' Lair - Magic Force Field Bridge
LOCATIONS.put(6, new Location(148447, 110582, -3944)); // Deep inside Antharas' Lair
LOCATIONS.put(7, new Location(73122, 118351, -3714)); // Entrance to Dragon Valley
LOCATIONS.put(8, new Location(131116, 114333, -3704)); // Entrance of Antharas' Lair
}
private SeparatedSoul()
@@ -71,33 +70,56 @@ public final class SeparatedSoul extends AbstractNpcAI
super(SeparatedSoul.class.getSimpleName(), "ai/npc/Teleports");
addStartNpc(SEPARATED_SOULS);
addTalkId(SEPARATED_SOULS);
addFirstTalkId(SEPARATED_SOULS);
}
@Override
public String onFirstTalk(L2Npc npc, L2PcInstance player)
{
return npc.getId() + ".htm";
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
if (LOCATIONS.containsKey(event))
final int ask = Integer.parseInt(event);
switch (ask)
{
if (player.getLevel() >= MIN_LEVEL)
case 1:
case 2:
case 3:
case 4:
case 5:
case 6:
case 7:
case 8:
{
player.teleToLocation(LOCATIONS.get(event), true);
if (player.getLevel() >= MIN_LEVEL)
{
player.teleToLocation(LOCATIONS.get(ask), false);
}
else
{
return "no-level.htm";
}
break;
}
else
case 23241:
{
return "no-level.htm";
if (hasQuestItems(player, WILL_OF_ANTHARAS, SEALED_BLOOD_CRYSTAL))
{
takeItems(player, WILL_OF_ANTHARAS, 1);
takeItems(player, SEALED_BLOOD_CRYSTAL, 1);
giveItems(player, ANTHARAS_BLOOD_CRYSTAL, 1);
}
else
{
return "no-items.htm";
}
}
}
else if ("Synthesis".equals(event)) // Request Item Synthesis
{
if (hasQuestItems(player, WILL_OF_ANTHARAS, SEALED_BLOOD_CRYSTAL))
case 23242:
{
takeItems(player, WILL_OF_ANTHARAS, 1);
takeItems(player, SEALED_BLOOD_CRYSTAL, 1);
giveItems(player, ANTHARAS_BLOOD_CRYSTAL, 1);
}
else
{
return "no-items.htm";
return "separatedsoul.htm";
}
}
return super.onAdvEvent(event, npc, player);

View File

@@ -1,3 +1,3 @@
<html><body>Separated Soul:<br>
In order for me to create a <font color="LEVEL">Blood Crystal of Antharas</font> you will need to bring me the <font color="LEVEL">Will of Antharas</font> and a <font color="LEVEL">Sealed Blood Crystal</font>. You can acquire these items from his commanders in either Antharas' Lair or Dragon Valley.<br>
In order for me to create a <font color="LEVEL">Blood Crystal of Antharas</font> you will need to bring me the <font color="LEVEL">Will of Antharas</font> and a <font color="LEVEL">Sealed Blood Crystal</font>. You can acquire these items from his commanders in either Antharas's Lair or Dragon Valley.
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Separated Soul:<br>
The claw of Antharas barely touched my face,but my soul was still ripped apart!<br>
The Claw of Antharas barely touched my face, but my soul was still ripped apart like this.<br>
I can't gather the scattered souls in the area, but I can sense them. I could send you to the location of the souls, but you don't look capable yet of combining my ripped soul.<br>
(Moving to the location of the other separated souls requires the character to be at <font color="LEVEL">level 80 or above</font>.)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Separaed Soul:<br>
The <font color="LEVEL">Will of Antharas</font> is a command stone that Antharas embedded into his high commanding minions. With this stone Antharas has the ability to control these creatures to do his bidding. It is a required ingredient for creating an Antharas Blood Crystal.<br>
A long time ago when Antharas's blood was spilt on the ground the poison in the blood corrupted the land. However, over time land acted as a filter separating the poison from the blood. The result was a pure form of Antharas blood that crystallized over time into small <font color="LEVEL">Sealed Blood Crystals</font>. The power in Antharas's blood has a high concentration of regeneration and restoration power. Enough that it even has the power to bring back the dead. It is a required ingredient for creating an Antharas Blood Crystal.
</body></html>