Package lineage2.gameserver.model.instances

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


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

    {
      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.