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/mods/eventmodRabbits/eventmodRabbits.java

    r7665 r8630  
    5959        public static final int _skill_magic_eye = 629; 
    6060         
    61         // Drop data 
     61        /** 
     62         * Drop data:<br /> 
     63         * Higher the chance harder the item.<br /> 
     64         * ItemId, chance in percent, min amount, max amount 
     65         */ 
    6266        private static final int[][] DROPLIST = 
    6367        { 
     
    141145                _eventTask = ThreadPoolManager.getInstance().scheduleGeneral(new Runnable() 
    142146                { 
     147                        @Override 
    143148                        public void run() 
    144149                        { 
     
    257262                final int chance = Rnd.get(100); 
    258263                 
    259                 for (int i = 0; i < droplist.length; i++) 
    260                 { 
    261                         int[] drop = droplist[i]; 
     264                for (int[] drop : droplist) 
     265                { 
    262266                        if (chance > drop[1]) 
    263267                        { 
Note: See TracChangeset for help on using the changeset viewer.