Package net.sf.l2j.gameserver.ai

Examples of net.sf.l2j.gameserver.ai.L2ControllableMobAI.follow()


                int x = player.getX() + Rnd.nextInt(50);
                int y = player.getY() + Rnd.nextInt(50);

                mobInst.teleToLocation(x, y, player.getZ(), true);
                L2ControllableMobAI ai = (L2ControllableMobAI)mobInst.getAI();
                ai.follow(player);
            }
        }
    }

    public L2ControllableMobInstance getRandomMob()
View Full Code Here


        for (L2ControllableMobInstance mobInst : getMobs())
        {
          if (mobInst == null) continue;

            L2ControllableMobAI ai = (L2ControllableMobAI)mobInst.getAI();
            ai.follow(character);
        }
    }

    public void setCastMode()
    {
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.