Examples of startAttackStanceTask()


Examples of l2p.gameserver.model.L2Character.startAttackStanceTask()

  protected void onEvtAttacked(L2Character attacker, int damage)
  {
    L2Character actor = getActor();
    if(actor != null)
    {
      actor.startAttackStanceTask();
    }
    if(attacker != null)
    {
      attacker.startAttackStanceTask();
    }
View Full Code Here

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

    L2NpcInstance actor = getActor();
    if(actor == null || attacker == null || attacker.getPlayer() == null)
    {
      return;
    }
    actor.startAttackStanceTask();
    // Ругаемся и кастуем скилл не чаще, чем раз в 3 секунды
    if(System.currentTimeMillis() - _lastAction > 3000)
    {
      int chance = Rnd.get(0, 100);
      if(chance < 2)
View Full Code Here

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

    L2NpcInstance actor = getActor();
    if(actor == null || attacker == null || attacker.getPlayer() == null)
    {
      return;
    }
    actor.startAttackStanceTask();

    if(System.currentTimeMillis() - _lastAction > 3000)
    {
      int chance = Rnd.get(0, 100);
      if(chance < 2)
View Full Code Here

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

        L2NpcInstance actor = getActor();
        if (actor == null || attacker == null || attacker.getPlayer() == null)
        {
            return;
        }
        actor.startAttackStanceTask();

        if (System.currentTimeMillis() - lastAction > 30000)
        {
            int chance = Rnd.get(0, 100);
            if (chance < 50)
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.