Examples of stopMove()


Examples of lineage2.gameserver.model.Player.stopMove()

        if ((residence != null) && (player.getClan() != null) && (residence.getOwner() == player.getClan()))
        {
        }
        else
        {
          player.stopMove();
          player.sendPacket(SystemMsg.THIS_AREA_CANNOT_BE_ENTERED_WHILE_MOUNTED_ATOP_OF_A_WYVERN);
          player.setMount(0, 0, 0);
        }
      }
    }
View Full Code Here

Examples of lineage2.gameserver.model.Player.stopMove()

  {
    super.onStart();
    Player player = _effected.getPlayer();
    if (player.isMoving)
    {
      player.stopMove();
    }
    _isWereSitting = player.isSitting();
    player.sitDown(null);
  }
 
View Full Code Here

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

        }
      }
    }
    if (mob != null)
    {
      actor.stopMove();
      actor.setRunning();
      getActor().getAI().notifyEvent(CtrlEvent.EVT_AGGRESSION, mob, 1);
      return true;
    }
    return false;
View Full Code Here

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

        }
      }
    }
    if (mob != null)
    {
      actor.stopMove();
      actor.setRunning();
      getActor().getAI().notifyEvent(CtrlEvent.EVT_AGGRESSION, mob, 1);
      return true;
    }
    return false;
View Full Code Here

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

        }
      }
    }
    if (mob != null)
    {
      actor.stopMove();
      actor.setRunning();
      getActor().getAI().notifyEvent(CtrlEvent.EVT_AGGRESSION, mob, 1);
      return true;
    }
    return false;
View Full Code Here

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

              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, actor, 5));
View Full Code Here

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

  @Override
  protected void onIntentionIdle()
  {
    NpcInstance actor = getActor();
    clearTasks();
    actor.stopMove();
    actor.getAggroList().clear(true);
    setAttackTimeout(Long.MAX_VALUE);
    setAttackTarget(null);
    changeIntention(CtrlIntention.AI_INTENTION_IDLE, null, null);
  }
View Full Code Here

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

   */
  @Override
  protected void onIntentionActive()
  {
    NpcInstance actor = getActor();
    actor.stopMove();
    setAttackTimeout(Long.MAX_VALUE);
    if (getIntention() != CtrlIntention.AI_INTENTION_ACTIVE)
    {
      switchAITask(AI_TASK_ACTIVE_DELAY);
      changeIntention(CtrlIntention.AI_INTENTION_ACTIVE, null, null);
View Full Code Here

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

  @Override
  protected void onIntentionAttack(Creature target)
  {
    NpcInstance actor = getActor();
    clearTasks();
    actor.stopMove();
    setAttackTarget(target);
    setAttackTimeout(getMaxAttackTimeout() + System.currentTimeMillis());
    setGlobalAggro(0);
    if (getIntention() != CtrlIntention.AI_INTENTION_ATTACK)
    {
View Full Code Here

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

        }
      }
    }
    if (mob != null)
    {
      actor.stopMove();
      actor.setRunning();
      getActor().getAI().notifyEvent(CtrlEvent.EVT_AGGRESSION, mob, 1);
      return true;
    }
    return false;
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.