Package lineage2.gameserver.model.instances

Examples of lineage2.gameserver.model.instances.DoorInstance.addListener()


      for (Player player : getPlayers())
      {
        player.sendPacket(new ExShowScreenMessage(NpcString.KONYAR, 6000, ExShowScreenMessage.ScreenMessageAlign.BOTTOM_RIGHT, true, 1, -1, true, new String[0]));
      }
      NpcInstance konyarraid = addSpawnWithoutRespawn(25843, new Location(42104, -175320, -7974, 15956), 0);
      konyarraid.addListener(_deathListener);
    }
  }
 
  private class FiveStageMainMob8SubStage extends RunnableImpl
  {
View Full Code Here


   public void onPlayerEnter(Player player) {
        super.onPlayerEnter(player);
    _savedTime = System.currentTimeMillis();
    player.sendPacket(new ExSendUIEvent(player, 0, 1, (int) (System.currentTimeMillis() - _savedTime) / 1000, 0, NpcString.ELAPSED_TIME));
    NpcInstance can8 = addSpawnWithoutRespawn(Cannon8, Cannon8Loc, 0);
    can8.addListener(_deathListener);
    NpcInstance can1 = addSpawnWithoutRespawn(Cannon1, Cannon1Loc, 0);
    can1.addListener(_deathListener);
    NpcInstance can2 = addSpawnWithoutRespawn(Cannon2, Cannon2Loc, 0);
    can2.addListener(_deathListener);
    NpcInstance can3 = addSpawnWithoutRespawn(Cannon3, Cannon3Loc, 0);
View Full Code Here

    _savedTime = System.currentTimeMillis();
    player.sendPacket(new ExSendUIEvent(player, 0, 1, (int) (System.currentTimeMillis() - _savedTime) / 1000, 0, NpcString.ELAPSED_TIME));
    NpcInstance can8 = addSpawnWithoutRespawn(Cannon8, Cannon8Loc, 0);
    can8.addListener(_deathListener);
    NpcInstance can1 = addSpawnWithoutRespawn(Cannon1, Cannon1Loc, 0);
    can1.addListener(_deathListener);
    NpcInstance can2 = addSpawnWithoutRespawn(Cannon2, Cannon2Loc, 0);
    can2.addListener(_deathListener);
    NpcInstance can3 = addSpawnWithoutRespawn(Cannon3, Cannon3Loc, 0);
    can3.addListener(_deathListener);
    NpcInstance can4 = addSpawnWithoutRespawn(Cannon4, Cannon4Loc, 0);
View Full Code Here

    NpcInstance can8 = addSpawnWithoutRespawn(Cannon8, Cannon8Loc, 0);
    can8.addListener(_deathListener);
    NpcInstance can1 = addSpawnWithoutRespawn(Cannon1, Cannon1Loc, 0);
    can1.addListener(_deathListener);
    NpcInstance can2 = addSpawnWithoutRespawn(Cannon2, Cannon2Loc, 0);
    can2.addListener(_deathListener);
    NpcInstance can3 = addSpawnWithoutRespawn(Cannon3, Cannon3Loc, 0);
    can3.addListener(_deathListener);
    NpcInstance can4 = addSpawnWithoutRespawn(Cannon4, Cannon4Loc, 0);
    can4.addListener(_deathListener);
    NpcInstance can5 = addSpawnWithoutRespawn(Cannon5, Cannon5Loc, 0);
View Full Code Here

    NpcInstance can1 = addSpawnWithoutRespawn(Cannon1, Cannon1Loc, 0);
    can1.addListener(_deathListener);
    NpcInstance can2 = addSpawnWithoutRespawn(Cannon2, Cannon2Loc, 0);
    can2.addListener(_deathListener);
    NpcInstance can3 = addSpawnWithoutRespawn(Cannon3, Cannon3Loc, 0);
    can3.addListener(_deathListener);
    NpcInstance can4 = addSpawnWithoutRespawn(Cannon4, Cannon4Loc, 0);
    can4.addListener(_deathListener);
    NpcInstance can5 = addSpawnWithoutRespawn(Cannon5, Cannon5Loc, 0);
    can5.addListener(_deathListener);
    NpcInstance can6 = addSpawnWithoutRespawn(Cannon6, Cannon6Loc, 0);
View Full Code Here

    NpcInstance can2 = addSpawnWithoutRespawn(Cannon2, Cannon2Loc, 0);
    can2.addListener(_deathListener);
    NpcInstance can3 = addSpawnWithoutRespawn(Cannon3, Cannon3Loc, 0);
    can3.addListener(_deathListener);
    NpcInstance can4 = addSpawnWithoutRespawn(Cannon4, Cannon4Loc, 0);
    can4.addListener(_deathListener);
    NpcInstance can5 = addSpawnWithoutRespawn(Cannon5, Cannon5Loc, 0);
    can5.addListener(_deathListener);
    NpcInstance can6 = addSpawnWithoutRespawn(Cannon6, Cannon6Loc, 0);
    can6.addListener(_deathListener);
    NpcInstance can7 = addSpawnWithoutRespawn(Cannon7, Cannon7Loc, 0);
View Full Code Here

    NpcInstance can3 = addSpawnWithoutRespawn(Cannon3, Cannon3Loc, 0);
    can3.addListener(_deathListener);
    NpcInstance can4 = addSpawnWithoutRespawn(Cannon4, Cannon4Loc, 0);
    can4.addListener(_deathListener);
    NpcInstance can5 = addSpawnWithoutRespawn(Cannon5, Cannon5Loc, 0);
    can5.addListener(_deathListener);
    NpcInstance can6 = addSpawnWithoutRespawn(Cannon6, Cannon6Loc, 0);
    can6.addListener(_deathListener);
    NpcInstance can7 = addSpawnWithoutRespawn(Cannon7, Cannon7Loc, 0);
    can7.addListener(_deathListener);
    NpcInstance RB1N = addSpawnWithoutRespawn(RB1, RB1Loc, 0);
View Full Code Here

    NpcInstance can4 = addSpawnWithoutRespawn(Cannon4, Cannon4Loc, 0);
    can4.addListener(_deathListener);
    NpcInstance can5 = addSpawnWithoutRespawn(Cannon5, Cannon5Loc, 0);
    can5.addListener(_deathListener);
    NpcInstance can6 = addSpawnWithoutRespawn(Cannon6, Cannon6Loc, 0);
    can6.addListener(_deathListener);
    NpcInstance can7 = addSpawnWithoutRespawn(Cannon7, Cannon7Loc, 0);
    can7.addListener(_deathListener);
    NpcInstance RB1N = addSpawnWithoutRespawn(RB1, RB1Loc, 0);
    RB1N.addListener(_deathListener);
    NpcInstance RB2N = addSpawnWithoutRespawn(RB2, RB2Loc, 0);
View Full Code Here

    NpcInstance can5 = addSpawnWithoutRespawn(Cannon5, Cannon5Loc, 0);
    can5.addListener(_deathListener);
    NpcInstance can6 = addSpawnWithoutRespawn(Cannon6, Cannon6Loc, 0);
    can6.addListener(_deathListener);
    NpcInstance can7 = addSpawnWithoutRespawn(Cannon7, Cannon7Loc, 0);
    can7.addListener(_deathListener);
    NpcInstance RB1N = addSpawnWithoutRespawn(RB1, RB1Loc, 0);
    RB1N.addListener(_deathListener);
    NpcInstance RB2N = addSpawnWithoutRespawn(RB2, RB2Loc, 0);
    RB2N.addListener(_deathListener);
    }
View Full Code Here

    NpcInstance can6 = addSpawnWithoutRespawn(Cannon6, Cannon6Loc, 0);
    can6.addListener(_deathListener);
    NpcInstance can7 = addSpawnWithoutRespawn(Cannon7, Cannon7Loc, 0);
    can7.addListener(_deathListener);
    NpcInstance RB1N = addSpawnWithoutRespawn(RB1, RB1Loc, 0);
    RB1N.addListener(_deathListener);
    NpcInstance RB2N = addSpawnWithoutRespawn(RB2, RB2Loc, 0);
    RB2N.addListener(_deathListener);
    }
 
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.