Package l2p.gameserver.model.instances

Examples of l2p.gameserver.model.instances.L2NpcInstance.stopMove()


    else if(_brother.getCurrentHpPercents() > 20 && actor.getCurrentHp() - damage < actor.getMaxHp() / 10)
    {
      // Если у брата > 20% ХП, то невозможно опустить ХП ниже 10%
      actor.abortAttack(true, false);
      actor.abortCast(true);
      actor.stopMove();
      clearTasks();
      addTaskBuff(actor, SKILL_DEFEAT);
      addTaskBuff(actor, SKILL_ARISE);
      for(L2Playable playable : L2World.getAroundPlayables(actor))
      {
View Full Code Here


              doTask();
              step_stage2 = 2;
              return true;
            case 2:
              actor.setHeading(0);
              actor.stopMove();
              actor.broadcastPacketToOthers(new MagicSkillUse(actor, actor, 454, 1, 3000, 0));
              step_stage2 = 3;
              return true;
            case 3:
              actor.addStatFunc(new FuncMul(Stats.MAGIC_ATTACK_SPEED, 0x40, this, 5));
View Full Code Here

      L2WorldRegion region = npc.getCurrentRegion();
      L2CharacterAI ai = npc.getAI();
      if(ai instanceof DefaultAI && ai.isActive() && !ai.isGlobalAI() && (region == null || region.areNeighborsEmpty()))
      {
        npc.setTarget(null);
        npc.stopMove();
        npc.getAI().stopAITask();
      }
    }
    L2GameServerPacket result = (packet == null ? new DeleteObject(object) : packet);
    //if(object.isNpc)
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.