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/transformations/DemonRace.java

    r7665 r8630  
     1/* 
     2 * This program is free software: you can redistribute it and/or modify it under 
     3 * the terms of the GNU General Public License as published by the Free Software 
     4 * Foundation, either version 3 of the License, or (at your option) any later 
     5 * version. 
     6 *  
     7 * This program is distributed in the hope that it will be useful, but WITHOUT 
     8 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 
     9 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more 
     10 * details. 
     11 *  
     12 * You should have received a copy of the GNU General Public License along with 
     13 * this program. If not, see <http://www.gnu.org/licenses/>. 
     14 */ 
    115package transformations; 
    216 
     
    1024public class DemonRace extends L2Transformation 
    1125{ 
    12         private static final int[] SKILLS = {901,902,903,904,905,5491,619}; 
     26        private static final int[] SKILLS = 
     27        { 
     28                901, 902, 903, 904, 905, 5491, 619 
     29        }; 
     30         
    1331        public DemonRace() 
    1432        { 
     
    2038        public void onTransform() 
    2139        { 
    22                 if (getPlayer().getTransformationId() != 221 || getPlayer().isCursedWeaponEquipped()) 
     40                if ((getPlayer().getTransformationId() != 221) || getPlayer().isCursedWeaponEquipped()) 
     41                { 
    2342                        return; 
     43                } 
    2444                 
    2545                if (getPlayer().getPet() != null) 
     46                { 
    2647                        getPlayer().getPet().unSummon(getPlayer()); 
     48                } 
    2749                 
    2850                transformedSkills(); 
Note: See TracChangeset for help on using the changeset viewer.