Changeset 8630 for trunk/L2J_DataPack/dist/game/data/scripts/ai/group_template/SeeThroughSilentMove.java
- 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/group_template/SeeThroughSilentMove.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/group_template/SeeThroughSilentMove.java
r8406 r8630 23 23 public class SeeThroughSilentMove extends L2AttackableAIScript 24 24 { 25 private static final int[] MOBIDS = {18001,18002,22199,22215,22216,22217,22327,22746,22747,22748,22749,22750,22751,22752,22753,22754,22755,22756,22757,22758,22759,22760,22761,22762,22763,22764,22765,22794,22795,22796,22797,22798,22799,22800,29009,29010,29011,29012,29013}; 25 //@formatter:off 26 private static final int[] MOBIDS = 27 { 28 18001, 29 18002, 30 22199, 31 22215, 32 22216, 33 22217, 34 22327, 35 22746, 36 22747, 37 22748, 38 22749, 39 22750, 40 22751, 41 22752, 42 22753, 43 22754, 44 22755, 45 22756, 46 22757, 47 22758, 48 22759, 49 22760, 50 22761, 51 22762, 52 22763, 53 22764, 54 22765, 55 22794, 56 22795, 57 22796, 58 22797, 59 22798, 60 22799, 61 22800, 62 29009, 63 29010, 64 29011, 65 29012, 66 29013 67 }; 68 //@formatter:on 26 69 27 70 public SeeThroughSilentMove(int questId, String name, String descr) … … 29 72 super(questId, name, descr); 30 73 for (L2Spawn npc : SpawnTable.getInstance().getSpawnTable()) 31 if (Util.contains(MOBIDS, npc.getNpcid()) && npc.getLastSpawn() != null && npc.getLastSpawn() instanceof L2Attackable)32 ((L2Attackable) npc.getLastSpawn()).setSeeThroughSilentMove(true);74 if (Util.contains(MOBIDS, npc.getNpcid()) && npc.getLastSpawn() != null && npc.getLastSpawn() instanceof L2Attackable) 75 ((L2Attackable) npc.getLastSpawn()).setSeeThroughSilentMove(true); 33 76 registerMobs(MOBIDS, QuestEventType.ON_SPAWN); 34 77 } … … 38 81 { 39 82 if (npc instanceof L2Attackable) 40 ((L2Attackable) npc).setSeeThroughSilentMove(true);83 ((L2Attackable) npc).setSeeThroughSilentMove(true); 41 84 return super.onSpawn(npc); 42 85 }
Note: See TracChangeset
for help on using the changeset viewer.
