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/AurabirdFalcon.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 
     
    721public class AurabirdFalcon extends L2Transformation 
    822{ 
    9         private static final int[] SKILLS = new int[]{884,885,886,888,890,891,894,911,932,619}; 
     23        private static final int[] SKILLS = new int[] 
     24        { 
     25                884, 885, 886, 888, 890, 891, 894, 911, 932, 619 
     26        }; 
    1027         
    1128        public AurabirdFalcon() 
     
    1835        public void onTransform() 
    1936        { 
    20                 if (getPlayer().getTransformationId() != 8 || getPlayer().isCursedWeaponEquipped()) 
     37                if ((getPlayer().getTransformationId() != 8) || getPlayer().isCursedWeaponEquipped()) 
     38                { 
    2139                        return; 
     40                } 
    2241                getPlayer().setIsFlyingMounted(true); 
    2342                 
     
    2948                // Air Blink 
    3049                if (getPlayer().getLevel() >= 75) 
     50                { 
    3151                        getPlayer().addSkill(SkillTable.getInstance().getInfo(885, 1), false); 
     52                } 
    3253                 
    3354                // Exhilarate 
    3455                if (getPlayer().getLevel() >= 83) 
     56                { 
    3557                        getPlayer().addSkill(SkillTable.getInstance().getInfo(894, 1), false); 
     58                } 
    3659                 
    37                 int lvl = getPlayer().getLevel() -74; 
     60                int lvl = getPlayer().getLevel() - 74; 
    3861                 
    3962                if (lvl > 0) 
     
    7497                getPlayer().removeSkill(SkillTable.getInstance().getInfo(894, 1), false); 
    7598                 
    76                 int lvl = getPlayer().getLevel() -74; 
     99                int lvl = getPlayer().getLevel() - 74; 
    77100                 
    78101                if (lvl > 0) 
Note: See TracChangeset for help on using the changeset viewer.