1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2025-12-10 09:22:49 +00:00

Teleporter implementation

Signed-off-by: Rogiel <rogiel@rogiel.com>
This commit is contained in:
2011-05-22 02:04:35 -03:00
parent b3ff0795ec
commit 87ce7bb987
31 changed files with 900 additions and 31 deletions

View File

@@ -99,5 +99,19 @@ public class L2JGameServerMain {
npc.setPoint(Point.fromXYZ(-71301, 258259, -3134));
spawnService.spawn(npc, null);
// close spawn gatekepper
final NPCTemplateID gid = templateProvider.createID(30006);
final NPC gatekeeper = gid.getTemplate().create();
gatekeeper.setID(provider.createID());
gatekeeper.setPoint(Point.fromXYZ(-71301, 258559, -3134));
spawnService.spawn(gatekeeper, null);
// spawn tamil - orc village
final NPCTemplateID tamilId = templateProvider.createID(30576);
final NPC tamil = tamilId.getTemplate().create();
tamil.setID(provider.createID());
tamil.setPoint(Point.fromXYZ(-45264, -112512, -240));
spawnService.spawn(tamil, null);
}
}