- Timestamp:
- Jan 16, 2012 7:56:19 AM (4 months ago)
- Location:
- trunk/L2J_DataPack
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
dist/game/data/scripts/ai/individual/FleeNpc.java (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/L2J_DataPack
- Property svn:mergeinfo changed
/branches/unstable/L2J_DataPack_BETA merged: 8407-8426,8428-8480,8482-8491,8493-8588,8590-8629
- Property svn:mergeinfo changed
-
trunk/L2J_DataPack/dist/game/data/scripts/ai/individual/FleeNpc.java
r8406 r8630 25 25 public class FleeNpc extends L2AttackableAIScript 26 26 { 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 }; 28 31 29 32 public FleeNpc(int questId, String name, String descr) … … 39 42 if (npc.getNpcId() >= 18150 && npc.getNpcId() <= 18157) 40 43 { 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())); 42 45 npc.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE, null, null); 43 46 return null; … … 46 49 { 47 50 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())); 49 52 npc.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE, null, null); 50 53 return null;
Note: See TracChangeset
for help on using the changeset viewer.
