826827828829830831832833834835836
{ return; } if(!npc.isDead() && !npc.isMoving) { npc.onRandomAnimation(); } ThreadPoolManager.getInstance().scheduleAi(this, interval, false); } }
357358359360361362363364365366367
{ L2NpcInstance actor = getActor(); if(actor != null && !actor.isMoving && actor.hasRandomAnimation() && Rnd.chance(Config.RND_ANIMATION_RATE)) { setIsInRandomAnimation(3000); actor.onRandomAnimation(); return true; } return false; }
2930313233343536373839
{ randomWalk(); } else if(val < 20) { actor.onRandomAnimation(); } return false; } @Override
662663664665666667668669670671672
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; }
5657585960616263646566
{ randomWalk(); } else if (val < 20) { actor.onRandomAnimation(); } return false; } /**
7677787980818283848586