@Override public void onInstanceCreate(WorldMapInstance instance) { super.onInstanceCreate(instance); doors = instance.getDoors(); spawn(230413, 476.74689f, 523.6272f, 598.8186f, (byte) 13); // GENERATEUR POST (230417) spawn(230414, 524.53607f, 427.29379f, 621.82062f, (byte) 15); // GENERATEUR NORD (230418) spawn(230415, 602.40997f, 556.41998f, 592.16406f, (byte) 113); // GENERATEUR SUD (230419) spawn(230416, 666.76001f, 474.20999f, 601.1673f, (byte) 117); // GENERATEUR Defense (230420) spawn(231050, 317f, 489.04999f, 607.64343f, (byte) 0); }
@Override public void onExitInstance(Player player) { super.onExitInstance(player); player.getController().unregisterListener(); }
@Override public void onInstanceCreate(WorldMapInstance instance) { super.onInstanceCreate(instance); instanceReward = new InstanceReward(mapId, instanceId); }