Changeset 8630 for trunk/L2J_DataPack/dist/game/data/scripts/transformations/InquisitorShilienElder.java
- Timestamp:
- Jan 16, 2012 7:56:19 AM (4 months ago)
- Location:
- trunk/L2J_DataPack
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
dist/game/data/scripts/transformations/InquisitorShilienElder.java (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/L2J_DataPack
- Property svn:mergeinfo changed
/branches/unstable/L2J_DataPack_BETA merged: 8407-8426,8428-8480,8482-8491,8493-8588,8590-8629
- Property svn:mergeinfo changed
-
trunk/L2J_DataPack/dist/game/data/scripts/transformations/InquisitorShilienElder.java
r8255 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 */ 1 15 package transformations; 2 16 … … 16 30 public void onTransform() 17 31 { 18 if (getPlayer().getTransformationId() != 318 || getPlayer().isCursedWeaponEquipped()) 32 if ((getPlayer().getTransformationId() != 318) || getPlayer().isCursedWeaponEquipped()) 33 { 19 34 return; 35 } 20 36 21 37 transformedSkills(); … … 26 42 int lvl = 1; 27 43 if (getPlayer().getLevel() > 43) 44 { 28 45 lvl = (getPlayer().getLevel() - 43); 46 } 29 47 30 48 // Divine Punishment … … 39 57 getPlayer().addSkill(SkillTable.getInstance().getInfo(1525, lvl), false); 40 58 // Set allowed skills 41 getPlayer().setTransformAllowedSkills(new int[]{838,1523,1528,1524,1525,1430,1303,1059,1043}); 59 getPlayer().setTransformAllowedSkills(new int[] 60 { 61 838, 1523, 1528, 1524, 1525, 1430, 1303, 1059, 1043 62 }); 42 63 // Switch Stance 43 64 getPlayer().addSkill(SkillTable.getInstance().getInfo(838, 1), false); … … 54 75 int lvl = 1; 55 76 if (getPlayer().getLevel() > 43) 77 { 56 78 lvl = (getPlayer().getLevel() - 43); 79 } 57 80 58 81 // Divine Punishment
Note: See TracChangeset
for help on using the changeset viewer.
