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/VanguardTempleKnight.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 
     
    1630        public void onTransform() 
    1731        { 
    18                 if (getPlayer().getTransformationId() != 314 || getPlayer().isCursedWeaponEquipped()) 
     32                if ((getPlayer().getTransformationId() != 314) || getPlayer().isCursedWeaponEquipped()) 
     33                { 
    1934                        return; 
     35                } 
    2036                 
    2137                transformedSkills(); 
     
    2642                int lvl = 1; 
    2743                if (getPlayer().getLevel() > 42) 
     44                { 
    2845                        lvl = (getPlayer().getLevel() - 42); 
     46                } 
    2947                 
    3048                // Two handed mastery 
     
    4159                getPlayer().addSkill(SkillTable.getInstance().getInfo(838, 1), false); 
    4260                // Set allowed skills 
    43                 getPlayer().setTransformAllowedSkills(new int[]{10,18,28,67,197,293,400,449,814,816,838,956,957}); 
     61                getPlayer().setTransformAllowedSkills(new int[] 
     62                { 
     63                        10, 18, 28, 67, 197, 293, 400, 449, 814, 816, 838, 956, 957 
     64                }); 
    4465        } 
    4566         
     
    5475                int lvl = 1; 
    5576                if (getPlayer().getLevel() > 42) 
     77                { 
    5678                        lvl = (getPlayer().getLevel() - 42); 
     79                } 
    5780                 
    5881                // Two handed mastery 
Note: See TracChangeset for help on using the changeset viewer.