Ignore:
Timestamp:
Jan 16, 2012 7:56:19 AM (4 months ago)
Author:
MELERIX
Message:

STABLE: Sync with BETA [8629]

Location:
trunk/L2J_DataPack
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/L2J_DataPack

  • trunk/L2J_DataPack/dist/game/data/scripts/ai/individual/FleeNpc.java

    r8406 r8630  
    2525public class FleeNpc extends L2AttackableAIScript 
    2626{ 
    27         private final int[] _npcId = { 20432, 22228 ,18150,18151,18152,18153,18154,18155,18156,18157}; 
     27        private final int[] _npcId = 
     28        { 
     29                20432, 22228, 18150, 18151, 18152, 18153, 18154, 18155, 18156, 18157 
     30        }; 
    2831         
    2932        public FleeNpc(int questId, String name, String descr) 
     
    3942                if (npc.getNpcId() >= 18150 && npc.getNpcId() <= 18157) 
    4043                { 
    41                         npc.getAI().setIntention( CtrlIntention.AI_INTENTION_MOVE_TO, new L2CharPosition((npc.getX() + Rnd.get(-40, 40)), (npc.getY()+ Rnd.get(-40, 40)), npc.getZ(), npc.getHeading())); 
     44                        npc.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, new L2CharPosition((npc.getX() + Rnd.get(-40, 40)), (npc.getY() + Rnd.get(-40, 40)), npc.getZ(), npc.getHeading())); 
    4245                        npc.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE, null, null); 
    4346                        return null; 
     
    4649                { 
    4750                        if (Rnd.get(3) == 2) 
    48                                 npc.getAI().setIntention( CtrlIntention.AI_INTENTION_MOVE_TO, new L2CharPosition((npc.getX() + Rnd.get(-200, 200)), (npc.getY()+ Rnd.get(-200, 200)), npc.getZ(), npc.getHeading())); 
     51                                npc.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, new L2CharPosition((npc.getX() + Rnd.get(-200, 200)), (npc.getY() + Rnd.get(-200, 200)), npc.getZ(), npc.getHeading())); 
    4952                        npc.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE, null, null); 
    5053                        return null; 
Note: See TracChangeset for help on using the changeset viewer.