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/group_template/SeeThroughSilentMove.java

    r8406 r8630  
    2323public class SeeThroughSilentMove extends L2AttackableAIScript 
    2424{ 
    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 
    2669         
    2770        public SeeThroughSilentMove(int questId, String name, String descr) 
     
    2972                super(questId, name, descr); 
    3073                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); 
    3376                registerMobs(MOBIDS, QuestEventType.ON_SPAWN); 
    3477        } 
     
    3881        { 
    3982                if (npc instanceof L2Attackable) 
    40                         ((L2Attackable)npc).setSeeThroughSilentMove(true); 
     83                        ((L2Attackable) npc).setSeeThroughSilentMove(true); 
    4184                return super.onSpawn(npc); 
    4285        } 
Note: See TracChangeset for help on using the changeset viewer.