Examples of decayMe()


Examples of lineage2.gameserver.model.instances.NpcInstance.decayMe()

    for (long[] list : world.SecondRoom.monolith)
    {
      NpcInstance npc = GameObjectsStorage.getAsNpc(list[0]);
      if (npc != null)
      {
        npc.decayMe();
      }
    }
  }
 
  private boolean allStonesDone(World world)
View Full Code Here

Examples of lineage2.gameserver.model.instances.NpcInstance.decayMe()

          activeChar.sendMessage("Target is incorrect!");
          return false;
        }
        npc = (NpcInstance) obj;
        npc.setHeading(activeChar.getHeading());
        npc.decayMe();
        npc.spawnMe();
        activeChar.sendMessage("New heading : " + activeChar.getHeading());
        spawn = npc.getSpawn();
        if (spawn == null)
        {
View Full Code Here

Examples of net.sf.l2j.gameserver.model.L2ItemInstance.decayMe()

      while ( i<getDroppedTickets().size() )
      {
        L2ItemInstance item = getDroppedTickets().get(i);
        if ((item != null) && (getTicketCastleId(item.getItemId()) == castleId))
        {
          item.decayMe();
          L2World.getInstance().removeObject(item);

          // remove from the list
          getDroppedTickets().remove(i);
        }
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.instance.L2DoorInstance.decayMe()

      for (int i = 0; i < getDoors().size(); i++)
        {
            L2DoorInstance door = getDoors().get(i);
            if (door.getCurrentHp() <= 0)
            {
                door.decayMe()// Kill current if not killed already
                door = DoorTable.parseList(_doorDefault.get(i));
                if (isDoorWeak)
                    door.setCurrentHp(door.getMaxHp() / 2);
          door.spawnMe(door.getX(), door.getY(),door.getZ());
          getDoors().set(i, door);
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.instance.L2DoorInstance.decayMe()

      for (int i = 0; i < getDoors().size(); i++)
        {
            L2DoorInstance door = getDoors().get(i);
            if (door.getCurrentHp() <= 0)
            {
                door.decayMe()// Kill current if not killed already
                door = DoorTable.parseList(_doorDefault.get(i));
                if (isDoorWeak) door.setCurrentHp(door.getMaxHp() / 2);
          door.spawnMe(door.getX(), door.getY(),door.getZ());
          getDoors().set(i, door);
            }
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.decayMe()

       Iterator<String> it = linked.iterator();
       while(it.hasNext()){
          try{ L2PcInstance target = L2World.getInstance().getPlayer(it.next().toString());

           target.getPoly().setPolyInfo(null, "1");
        target.decayMe();
        target.spawnMe(target.getX(),target.getY(),target.getZ());
        CharInfo info1 = new CharInfo(target);
        target.broadcastPacket(info1);
            UserInfo info2 = new UserInfo(target);
            target.sendPacket(info2);}catch(Exception e){}
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.decayMe()

        return false;
      }
      player.getAppearance().setSex(player.getAppearance().getSex()? false : true);
      player.sendMessage("Your gender has been changed by a GM");
      player.broadcastUserInfo();
      player.decayMe();
      player.spawnMe(player.getX(),player.getY(),player.getZ());
    }
    else if (command.startsWith("admin_setcolor"))
    {
      try
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.decayMe()

    showCharacterInfo(activeChar, null); //Back to start

    player.broadcastPacket(new CharInfo(player));
    player.sendPacket(new UserInfo(player));
    player.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
    player.decayMe();
    player.spawnMe(activeChar.getX(),activeChar.getY(),activeChar.getZ());
  }

  private void editCharacter(L2PcInstance activeChar)
  {
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.