Skip to content
Snippets Groups Projects
Commit 1d5a3df2 authored by Zealar's avatar Zealar
Browse files

Update Separated Soul teleporter fix #259

parent 8b405a00
No related branches found
No related tags found
No related merge requests found
Showing
with 178 additions and 150 deletions
<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>
<a action="bypass -h Quest SeparatedSoul DragonValley">Entrance to Dragon Valley</a><br>
<a action="bypass -h Quest SeparatedSoul DragonValleyCenter">The Center of Dragon Valley</a><br>
<a action="bypass -h Quest SeparatedSoul DragonValleyNorth">Deep inside Dragon Valley (North)</a><br>
<a action="bypass -h Quest SeparatedSoul DragonValleySouth">Deep inside Dragon Valley (South)</a><br>
<a action="bypass -h Quest SeparatedSoul AntharasLair">Entrance of Antharas' Lair</a><br>
<a action="bypass -h Quest SeparatedSoul AntharasLairMagicForceFieldBridge">Antharas' Lair - Magic Force Field Bridge</a><br>
<a action="bypass -h Quest SeparatedSoul AntharasLairDeep">Deep inside Antharas' Lair</a><br>
<a action="bypass -h npc_%objectId%_Link teleporter/separatedsoul.htm">Hear about Blood Crystal of Antharas.</a><br>
<a action="bypass -h Quest SeparatedSoul Synthesis">Request item synthesis.</a><br>
<a action="bypass -h npc_%objectId%_Quest">Quest</a>
</body></html>
\ No newline at end of file
<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>
<a action="bypass -h Quest SeparatedSoul HuntersVillage">Hunter's Village</a><br>
<a action="bypass -h Quest SeparatedSoul DragonValley">Entrance to Dragon Valley</a><br>
<a action="bypass -h Quest SeparatedSoul DragonValleyNorth">Deep inside Dragon Valley (North)</a><br>
<a action="bypass -h Quest SeparatedSoul DragonValleySouth">Deep inside Dragon Valley (South)</a><br>
<a action="bypass -h Quest SeparatedSoul AntharasLair">Entrance of Antharas' Lair</a><br>
<a action="bypass -h Quest SeparatedSoul AntharasLairMagicForceFieldBridge">Antharas' Lair - Magic Force Field Bridge</a><br>
<a action="bypass -h Quest SeparatedSoul AntharasLairDeep">Deep inside Antharas' Lair</a><br>
<a action="bypass -h npc_%objectId%_Link teleporter/separatedsoul.htm">Hear about Blood Crystal of Antharas.</a><br>
<a action="bypass -h Quest SeparatedSoul Synthesis">Request item synthesis.</a><br>
<a action="bypass -h npc_%objectId%_Quest">Quest</a>
</body></html>
\ No newline at end of file
<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>
<a action="bypass -h Quest SeparatedSoul HuntersVillage">Hunter's Village</a><br>
<a action="bypass -h Quest SeparatedSoul DragonValley">Entrance of Dragon Valley</a><br>
<a action="bypass -h Quest SeparatedSoul DragonValleyCenter">The Center of Dragon Valley</a><br>
<a action="bypass -h Quest SeparatedSoul DragonValleySouth">Deep inside Dragon Valley (South)</a><br>
<a action="bypass -h Quest SeparatedSoul AntharasLair">Entrance of Antharas' Lair</a><br>
<a action="bypass -h Quest SeparatedSoul AntharasLairMagicForceFieldBridge">Antharas' Lair - Magic Force Field Bridge</a><br>
<a action="bypass -h Quest SeparatedSoul AntharasLairDeep">Deep inside Antharas' Lair</a><br>
<a action="bypass -h npc_%objectId%_Link teleporter/separatedsoul.htm">Hear about Blood Crystal of Antharas.</a><br>
<a action="bypass -h Quest SeparatedSoul Synthesis">Request item synthesis.</a><br>
<a action="bypass -h npc_%objectId%_Quest">Quest</a>
</body></html>
\ No newline at end of file
<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>
<a action="bypass -h Quest SeparatedSoul HuntersVillage">Hunter's Village</a><br>
<a action="bypass -h Quest SeparatedSoul DragonValley">Entrance of Dragon Valley</a><br>
<a action="bypass -h Quest SeparatedSoul DragonValleyCenter">The Center of Dragon Valley</a><br>
<a action="bypass -h Quest SeparatedSoul DragonValleyNorth">Deep inside Dragon Valley (North)</a><br>
<a action="bypass -h Quest SeparatedSoul AntharasLair">Entrance of Antharas' Lair</a><br>
<a action="bypass -h Quest SeparatedSoul AntharasLairMagicForceFieldBridge">Antharas' Lair - Magic Force Field Bridge</a><br>
<a action="bypass -h Quest SeparatedSoul AntharasLairDeep">Deep inside Antharas' Lair</a><br>
<a action="bypass -h npc_%objectId%_Link teleporter/separatedsoul.htm">Hear about Blood Crystal of Antharas.</a><br>
<a action="bypass -h Quest SeparatedSoul Synthesis">Request item synthesis.</a><br>
<a action="bypass -h npc_%objectId%_Quest">Quest</a>
</body></html>
\ No newline at end of file
<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>
<a action="bypass -h Quest SeparatedSoul HuntersVillage">Hunter's Village</a><br>
<a action="bypass -h Quest SeparatedSoul DragonValley">Entrance to Dragon Valley</a><br>
<a action="bypass -h Quest SeparatedSoul DragonValleyCenter">The Center of Dragon Valley</a><br>
<a action="bypass -h Quest SeparatedSoul DragonValleyNorth">Deep inside Dragon Valley (North)</a><br>
<a action="bypass -h Quest SeparatedSoul DragonValleySouth">Deep inside Dragon Valley (South)</a><br>
<a action="bypass -h Quest SeparatedSoul AntharasLair">Entrance of Antharas' Lair</a><br>
<a action="bypass -h Quest SeparatedSoul AntharasLairMagicForceFieldBridge">Antharas' Lair - Magic Force Field Bridge</a><br>
<a action="bypass -h npc_%objectId%_Link teleporter/separatedsoul.htm">Hear about Blood Crystal of Antharas.</a><br>
<a action="bypass -h Quest SeparatedSoul Synthesis">Request item synthesis.</a><br>
<a action="bypass -h npc_%objectId%_Quest">Quest</a>
</body></html>
\ No newline at end of file
<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>
<a action="bypass -h Quest SeparatedSoul HuntersVillage">Hunter's Village</a><br>
<a action="bypass -h Quest SeparatedSoul DragonValley">Entrance to Dragon Valley</a><br>
<a action="bypass -h Quest SeparatedSoul DragonValleyCenter">The Center of Dragon Valley</a><br>
<a action="bypass -h Quest SeparatedSoul DragonValleyNorth">Deep inside Dragon Valley (North)</a><br>
<a action="bypass -h Quest SeparatedSoul DragonValleySouth">Deep inside Dragon Valley (South)</a><br>
<a action="bypass -h Quest SeparatedSoul AntharasLair">Entrance of Antharas' Lair</a><br>
<a action="bypass -h Quest SeparatedSoul AntharasLairDeep">Deep inside Antharas' Lair</a><br>
<a action="bypass -h npc_%objectId%_Link teleporter/separatedsoul.htm">Hear about Blood Crystal of Antharas.</a><br>
<a action="bypass -h Quest SeparatedSoul Synthesis">Request item synthesis.</a><br>
<a action="bypass -h npc_%objectId%_Quest">Quest</a>
</body></html>
\ No newline at end of file
<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>
<a action="bypass -h Quest SeparatedSoul HuntersVillage">Hunters Village</a><br>
<a action="bypass -h Quest SeparatedSoul DragonValleyCenter">The Center of Dragon Valley</a><br>
<a action="bypass -h Quest SeparatedSoul DragonValleyNorth">Deep in the Dragon Valley (North)</a><br>
<a action="bypass -h Quest SeparatedSoul DragonValleySouth">Deep in the Dragon Valley (South)</a><br>
<a action="bypass -h Quest SeparatedSoul AntharasLair">Entrance to Antharas' Lair</a><br>
<a action="bypass -h Quest SeparatedSoul AntharasLairMagicForceFieldBridge">Antharas' Lair - Barrier Bridge</a><br>
<a action="bypass -h Quest SeparatedSoul AntharasLairDeep">Deep in Antharas' Lair</a><br>
<a action="bypass -h npc_%objectId%_Link teleporter/separatedsoul.htm">Hear about the Antharas Blood Crystal.</a><br>
<a action="bypass -h Quest SeparatedSoul Synthesis">Request item combination.</a><br>
<a action="bypass -h npc_%objectId%_Quest">Quest</a>
</body></html>
\ No newline at end of file
<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>
<a action="bypass -h Quest SeparatedSoul HuntersVillage">Hunter's Village</a><br>
<a action="bypass -h Quest SeparatedSoul DragonValley">Entrance to Dragon Valley</a><br>
<a action="bypass -h Quest SeparatedSoul DragonValleyCenter">The Center of Dragon Valley</a><br>
<a action="bypass -h Quest SeparatedSoul DragonValleyNorth">Deep inside Dragon Valley (North)</a><br>
<a action="bypass -h Quest SeparatedSoul DragonValleySouth">Deep inside Dragon Valley (South)</a><br>
<a action="bypass -h Quest SeparatedSoul AntharasLairMagicForceFieldBridge">Antharas' Lair - Magic Force Field Bridge</a><br>
<a action="bypass -h Quest SeparatedSoul AntharasLairDeep">Deep inside Antharas' Lair</a><br>
<a action="bypass -h npc_%objectId%_Link teleporter/separatedsoul.htm">Hear about Blood Crystal of Antharas.</a><br>
<a action="bypass -h Quest SeparatedSoul Synthesis">Request item synthesis.</a><br>
<a action="bypass -h npc_%objectId%_Quest">Quest</a>
</body></html>
\ No newline at end of file
<html><body>Separated Soul:<br>
The Claw of Antharas barely touched my face, but it gripped my soul, and ripped it from me!<br>
I can sense the other souls around here. If you want, I can send you to where these souls are located.<br>
Also, using the <font color="LEVEL">Will of Antharas</font> that you have, I can break the <font color="LEVEL">seal on the Blood Crystal</font>. How about it?<br>
<a action="bypass -h Quest SeparatedSoul 7">Entrance of Dragon Valley</a><br>
<a action="bypass -h Quest SeparatedSoul 2">The Center of Dragon Valley</a><br>
<a action="bypass -h Quest SeparatedSoul 3">Deep inside Dragon Valley(North)</a><br>
<a action="bypass -h Quest SeparatedSoul 4">Deep inside Dragon Valley(South)</a><br>
<a action="bypass -h Quest SeparatedSoul 8">Entrance of Antharas' Lair</a><br>
<a action="bypass -h Quest SeparatedSoul 5">Antharas' Lair - Magic Force Field Bridge</a><br>
<a action="bypass -h Quest SeparatedSoul 6">Deep inside Antharas' Lair</a><br>
<a action="bypass -h Quest SeparatedSoul 23242">Hear about Blood Crystal of Antharas</a><br>
<a action="bypass -h Quest SeparatedSoul 23241">Request item synthesis</a><br>
<a action="bypass -h npc_%objectId%_Quest">Quest</a>
</body></html>
\ No newline at end of file
<html><body>Separated Soul:<br>
The Claw of Antharas barely touched my face, but it gripped my soul, and ripped it from me!<br>
I can sense the other souls around here. If you want, I can send you to where these souls are located.<br>
Also, using the <font color="LEVEL">Will of Antharas</font> that you have, I can break the <font color="LEVEL">seal on the Blood Crystal</font>. How about it?<br>
<a action="bypass -h Quest SeparatedSoul 1">Hunter's Village</a><br>
<a action="bypass -h Quest SeparatedSoul 7">Entrance to Dragon Valley</a><br>
<a action="bypass -h Quest SeparatedSoul 3">Deep inside Dragon Valley(North)</a><br>
<a action="bypass -h Quest SeparatedSoul 4">Deep inside Dragon Valley(South)</a><br>
<a action="bypass -h Quest SeparatedSoul 8">Entrance of Antharas' Lair</a><br>
<a action="bypass -h Quest SeparatedSoul 5">Antharas' Lair - Magic Force Field Bridge</a><br>
<a action="bypass -h Quest SeparatedSoul 6">Deep inside Antharas' Lair</a><br>
<a action="bypass -h Quest SeparatedSoul 23242">Hear about Blood Crystal of Antharas</a><br>
<a action="bypass -h Quest SeparatedSoul 23241">Request item synthesis</a><br>
<a action="bypass -h npc_%objectId%_Quest">Quest</a>
</body></html>
\ No newline at end of file
<html><body>Separated Soul:<br>
The Claw of Antharas barely touched my face, but it gripped my soul, and ripped it from me!<br>
I can sense the other souls around here. If you want, I can send you to where these souls are located.<br>
Also, using the <font color="LEVEL">Will of Antharas</font> that you have, I can break the <font color="LEVEL">seal on the Blood Crystal</font>. How about it?<br>
<a action="bypass -h Quest SeparatedSoul 1">Hunter's Village</a><br>
<a action="bypass -h Quest SeparatedSoul 7">Entrance of Dragon Valley</a><br>
<a action="bypass -h Quest SeparatedSoul 2">The Center of Dragon Valley</a><br>
<a action="bypass -h Quest SeparatedSoul 4">Deep inside Dragon Valley(South)</a><br>
<a action="bypass -h Quest SeparatedSoul 8">Entrance of Antharas' Lair</a><br>
<a action="bypass -h Quest SeparatedSoul 5">Antharas' Lair - Magic Force Field Bridge</a><br>
<a action="bypass -h Quest SeparatedSoul 6">Deep inside Antharas' Lair</a><br>
<a action="bypass -h Quest SeparatedSoul 23242">Hear about Blood Crystal of Antharas</a><br>
<a action="bypass -h Quest SeparatedSoul 23241">Request item synthesis</a><br>
<a action="bypass -h npc_%objectId%_Quest">Quest</a>
</body></html>
\ No newline at end of file
<html><body>Separated Soul:<br>
The Claw of Antharas barely touched my face, but it gripped my soul, and ripped it from me!<br>
I can sense the other souls around here. If you want, I can send you to where these souls are located.<br>
Also, using the <font color="LEVEL">Will of Antharas</font> that you have, I can break the <font color="LEVEL">seal on the Blood Crystal</font>. How about it?<br>
<a action="bypass -h Quest SeparatedSoul 1">Hunter's Village</a><br>
<a action="bypass -h Quest SeparatedSoul 7">Entrance of Dragon Valley</a><br>
<a action="bypass -h Quest SeparatedSoul 2">The Center of Dragon Valley</a><br>
<a action="bypass -h Quest SeparatedSoul 3">Deep inside Dragon Valley(North)</a><br>
<a action="bypass -h Quest SeparatedSoul 8">Entrance of Antharas' Lair</a><br>
<a action="bypass -h Quest SeparatedSoul 5">Antharas' Lair - Magic Force Field Bridge</a><br>
<a action="bypass -h Quest SeparatedSoul 6">Deep inside Antharas' Lair</a><br>
<a action="bypass -h Quest SeparatedSoul 23242">Hear about Blood Crystal of Antharas</a><br>
<a action="bypass -h Quest SeparatedSoul 23241">Request item synthesis</a><br>
<a action="bypass -h npc_%objectId%_Quest">Quest</a>
</body></html>
\ No newline at end of file
<html><body>Separated Soul:<br>
The Claw of Antharas barely touched my face, but it gripped my soul, and ripped it from me!<br>
I can sense the other souls around here. If you want, I can send you to where these souls are located.<br>
Also, using the <font color="LEVEL">Will of Antharas</font> that you have, I can break the <font color="LEVEL">seal on the Blood Crystal</font>. How about it?<br>
<a action="bypass -h Quest SeparatedSoul 1">Hunter's Village</a><br>
<a action="bypass -h Quest SeparatedSoul 7">Entrance to Dragon Valley</a><br>
<a action="bypass -h Quest SeparatedSoul 2">The Center of Dragon Valley</a><br>
<a action="bypass -h Quest SeparatedSoul 3">Deep inside Dragon Valley(North)</a><br>
<a action="bypass -h Quest SeparatedSoul 4">Deep inside Dragon Valley(South)</a><br>
<a action="bypass -h Quest SeparatedSoul 8">Entrance of Antharas' Lair</a><br>
<a action="bypass -h Quest SeparatedSoul 5">Antharas' Lair - Magic Force Field Bridge</a><br>
<a action="bypass -h Quest SeparatedSoul 23242">Hear about Blood Crystal of Antharas</a><br>
<a action="bypass -h Quest SeparatedSoul 23241">Request item synthesis</a><br>
<a action="bypass -h npc_%objectId%_Quest">Quest</a>
</body></html>
\ No newline at end of file
<html><body>Separated Soul:<br>
The Claw of Antharas barely touched my face, but it gripped my soul, and ripped it from me!<br>
I can sense the other souls around here. If you want, I can send you to where these souls are located.<br>
Also, using the <font color="LEVEL">Will of Antharas</font> that you have, I can break the <font color="LEVEL">seal on the Blood Crystal</font>. How about it?<br>
<a action="bypass -h Quest SeparatedSoul 1">Hunter's Village</a><br>
<a action="bypass -h Quest SeparatedSoul 7">Entrance to Dragon Valley</a><br>
<a action="bypass -h Quest SeparatedSoul 2">The Center of Dragon Valley</a><br>
<a action="bypass -h Quest SeparatedSoul 3">Deep inside Dragon Valley(North)</a><br>
<a action="bypass -h Quest SeparatedSoul 4">Deep inside Dragon Valley(South)</a><br>
<a action="bypass -h Quest SeparatedSoul 8">Entrance of Antharas' Lair</a><br>
<a action="bypass -h Quest SeparatedSoul 6">Deep inside Antharas' Lair</a><br>
<a action="bypass -h Quest SeparatedSoul 23242">Hear about Blood Crystal of Antharas</a><br>
<a action="bypass -h Quest SeparatedSoul 23241">Request item synthesis</a><br>
<a action="bypass -h npc_%objectId%_Quest">Quest</a>
</body></html>
\ No newline at end of file
<html><body>Separated Soul:<br>
The Claw of Antharas barely touched my face, but my soul was still ripped apart!<br>
Now I can't gather the scattered souls in the area, but I can sense them. If you want, I can send you to where my souls are located.<br>
Also, using the <font color="LEVEL">Will of Antharas</font> that you have, I can break the <font color="LEVEL">the Sealed Blood Crystal</font>. How about it?<br>
<a action="bypass -h Quest SeparatedSoul 1">Hunter's Village</a><br>
<a action="bypass -h Quest SeparatedSoul 2">The Center of Dragon Valley</a><br>
<a action="bypass -h Quest SeparatedSoul 3">Deep inside Dragon Valley(North)</a><br>
<a action="bypass -h Quest SeparatedSoul 4">Deep inside Dragon Valley(South)</a><br>
<a action="bypass -h Quest SeparatedSoul 8">Entrance of Antharas' Lair</a><br>
<a action="bypass -h Quest SeparatedSoul 5">Antharas' Lair - Magic Force Field Bridge</a><br>
<a action="bypass -h Quest SeparatedSoul 6">Deep inside Antharas' Lair</a><br>
<a action="bypass -h Quest SeparatedSoul 23242">Hear about Blood Crystal of Antharas</a><br>
<a action="bypass -h Quest SeparatedSoul 23241">Request item synthesis</a><br>
<a action="bypass -h npc_%objectId%_Quest">Quest</a>
</body></html>
\ No newline at end of file
<html><body>Separated Soul:<br>
The Claw of Antharas barely touched my face, but it gripped my soul, and ripped it from me!<br>
I can sense the other souls around here. If you want, I can send you to where these souls are located.<br>
Also, using the <font color="LEVEL">Will of Antharas</font> that you have, I can break the <font color="LEVEL">seal on the Blood Crystal</font>. How about it?<br>
<a action="bypass -h Quest SeparatedSoul 1">Hunter's Village</a><br>
<a action="bypass -h Quest SeparatedSoul 7">Entrance to Dragon Valley</a><br>
<a action="bypass -h Quest SeparatedSoul 2">The Center of Dragon Valley</a><br>
<a action="bypass -h Quest SeparatedSoul 3">Deep inside Dragon Valley(North)</a><br>
<a action="bypass -h Quest SeparatedSoul 4">Deep inside Dragon Valley(South)</a><br>
<a action="bypass -h Quest SeparatedSoul 5">Antharas' Lair - Magic Force Field Bridge</a><br>
<a action="bypass -h Quest SeparatedSoul 6">Deep inside Antharas' Lair</a><br>
<a action="bypass -h Quest SeparatedSoul 23242">Hear about Blood Crystal of Antharas</a><br>
<a action="bypass -h Quest SeparatedSoul 23241">Request item synthesis</a><br>
<a action="bypass -h npc_%objectId%_Quest">Quest</a>
</body></html>
\ No newline at end of file
......@@ -21,15 +21,15 @@ package ai.npc.Teleports.SeparatedSoul;
import java.util.HashMap;
import java.util.Map;
import ai.npc.AbstractNpcAI;
import com.l2jserver.gameserver.model.Location;
import com.l2jserver.gameserver.model.actor.L2Npc;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import ai.npc.AbstractNpcAI;
/**
* Separated Soul teleport AI.
* @author UnAfraid, improved by Adry_85
* @author UnAfraid, improved by Adry_85, Zealar
*/
public final class SeparatedSoul extends AbstractNpcAI
{
......@@ -53,17 +53,18 @@ 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 +72,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)
{
player.teleToLocation(LOCATIONS.get(event), true);
}
else
case 1:
case 2:
case 3:
case 4:
case 5:
case 6:
case 7:
case 8:
{
return "no-level.htm";
if (player.getLevel() >= MIN_LEVEL)
{
player.teleToLocation(LOCATIONS.get(ask), false);
}
else
{
return "no-level.htm";
}
break;
}
}
else if ("Synthesis".equals(event)) // Request Item Synthesis
{
if (hasQuestItems(player, WILL_OF_ANTHARAS, SEALED_BLOOD_CRYSTAL))
case 23241:
{
takeItems(player, WILL_OF_ANTHARAS, 1);
takeItems(player, SEALED_BLOOD_CRYSTAL, 1);
giveItems(player, ANTHARAS_BLOOD_CRYSTAL, 1);
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
case 23242:
{
return "no-items.htm";
return "separatedsoul.htm";
}
}
return super.onAdvEvent(event, npc, player);
......
<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>
\ No newline at end of file
<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>
\ No newline at end of file
<html><body>Separated Soul:<br>
<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' blood was split 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' blood has a high concentration of regenaration 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.
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>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment