Examples of onRandomAnimation()


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

      {
        return;
      }
      if(!npc.isDead() && !npc.isMoving)
      {
        npc.onRandomAnimation();
      }
      ThreadPoolManager.getInstance().scheduleAi(this, interval, false);
    }
  }
View Full Code Here

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

  {
    L2NpcInstance actor = getActor();
    if(actor != null && !actor.isMoving && actor.hasRandomAnimation() && Rnd.chance(Config.RND_ANIMATION_RATE))
    {
      setIsInRandomAnimation(3000);
      actor.onRandomAnimation();
      return true;
    }
    return false;
  }
View Full Code Here

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

    {
      randomWalk();
    }
    else if(val < 20)
    {
      actor.onRandomAnimation();
    }
    return false;
  }

  @Override
View Full Code Here

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

      return false;
    }
    if (actor.hasRandomAnimation() && !actor.isActionsDisabled() && !actor.isMoving && !actor.isInCombat() && Rnd.chance(Config.RND_ANIMATION_RATE))
    {
      setIsInRandomAnimation(3000);
      actor.onRandomAnimation();
      return true;
    }
    return false;
  }
 
View Full Code Here

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

    {
      randomWalk();
    }
    else if (val < 20)
    {
      actor.onRandomAnimation();
    }
    return false;
  }
 
  /**
 
View Full Code Here

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

    {
      randomWalk();
    }
    else if (val < 20)
    {
      actor.onRandomAnimation();
    }
    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.