- 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/Kadomas.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/Kadomas.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 */ 1 15 package transformations; 2 16 … … 7 21 public class Kadomas extends L2Transformation 8 22 { 9 private static final int[] SKILLS = {23154,619}; 23 private static final int[] SKILLS = 24 { 25 23154, 619 26 }; 27 10 28 public Kadomas() 11 29 { … … 17 35 public void onTransform() 18 36 { 19 if (getPlayer().getTransformationId() != 20000 || getPlayer().isCursedWeaponEquipped()) 37 if ((getPlayer().getTransformationId() != 20000) || getPlayer().isCursedWeaponEquipped()) 38 { 20 39 return; 40 } 21 41 22 42 transformedSkills(); … … 25 45 public void transformedSkills() 26 46 { 27 // Kadomas Special Skill - Fireworks47 // Kadomas Special Skill - Fireworks 28 48 getPlayer().addSkill(SkillTable.getInstance().getInfo(23154, 1), false); 29 49 // Transform Dispel … … 41 61 public void removeSkills() 42 62 { 43 // Kadomas Special Skill - Fireworks63 // Kadomas Special Skill - Fireworks 44 64 getPlayer().removeSkill(SkillTable.getInstance().getInfo(23154, 1), false); 45 65 // Transform Dispel
Note: See TracChangeset
for help on using the changeset viewer.
