Examples of decayMe()


Examples of com.l2jfrozen.gameserver.model.L2Attackable.decayMe()

      synchronized(Minions){
        for (int i = 0; i < Minions.size(); i++)
        {
        L2Attackable mob = Minions.get(i);
        if (mob != null)
        mob.decayMe();
        }
        Minions.clear();
      }
    }
    else if (event.equalsIgnoreCase("spawn_minion"))
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.L2Attackable.decayMe()

      for(int i = 0; i < Minions.size(); i++)
      {
        L2Attackable mob = Minions.get(i);
        if(mob != null)
        {
          mob.decayMe();
        }
      }
      Minions.clear();
    }
    return super.onAdvEvent(event, npc, player);
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.L2Attackable.decayMe()

            break;
            case DESPAWN_MINIONS: {
                for (int i = 0; i < _Minions.size(); i++) {
                    L2Attackable mob = _Minions.get(i);
                    if (mob != null) {
                        mob.decayMe();
                    }
                }
                for (int k = 0; k < _Nurses.size(); k++) {
                    L2MonsterInstance _nurse = _Nurses.get(k);
                    if (_nurse != null)
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2DoorInstance.decayMe()

    {
      L2DoorInstance door = getDoors().get(i);

      if(door.getCurrentHp() <= 0)
      {
        door.decayMe(); // Kill current if not killed already
        door = DoorTable.parseList(_doorDefault.get(i));

        door.spawnMe(door.getX(), door.getY(), door.getZ());
        getDoors().set(i, door);
      }
View Full Code Here

Examples of com.l2jfrozen.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.setCurrentHpDirect(door.getMaxHp() / 2);
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2DoorInstance.decayMe()

    {
      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);
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2GrandBossInstance.decayMe()

        {
          npc.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
           
          //delete the actual boss
          L2GrandBossInstance _boss_instance = GrandBossManager.getInstance().deleteBoss(VALAKAS);
          _boss_instance.decayMe();
          GrandBossManager.getInstance().setBossStatus(VALAKAS, DORMANT);
          //npc.setCurrentHpMp(npc.getMaxHp(), npc.getMaxMp());
          _Zone.oustAllPlayers();
          cancelQuestTimer("check_activity_and_do_actions", npc, null);
          i_quest2 = 0;
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.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 com.l2jfrozen.gameserver.model.actor.instance.L2MonsterInstance.decayMe()

                    }
                }
                for (int k = 0; k < _Nurses.size(); k++) {
                    L2MonsterInstance _nurse = _Nurses.get(k);
                    if (_nurse != null)
                        _nurse.decayMe();
                }
                _Nurses.clear();
                _Minions.clear();
            }
            break;
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2NpcInstance.decayMe()

      synchronized(Minions){
        for (int i = 0; i < Minions.size(); i++)
        {
        L2Attackable mob = Minions.get(i);
        if (mob != null)
        mob.decayMe();
        }
        Minions.clear();
      }
    }
    else if (event.equalsIgnoreCase("spawn_minion"))
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.