- 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/AurabirdFalcon.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/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 */ 1 15 package transformations; 2 16 … … 7 21 public class AurabirdFalcon extends L2Transformation 8 22 { 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 }; 10 27 11 28 public AurabirdFalcon() … … 18 35 public void onTransform() 19 36 { 20 if (getPlayer().getTransformationId() != 8 || getPlayer().isCursedWeaponEquipped()) 37 if ((getPlayer().getTransformationId() != 8) || getPlayer().isCursedWeaponEquipped()) 38 { 21 39 return; 40 } 22 41 getPlayer().setIsFlyingMounted(true); 23 42 … … 29 48 // Air Blink 30 49 if (getPlayer().getLevel() >= 75) 50 { 31 51 getPlayer().addSkill(SkillTable.getInstance().getInfo(885, 1), false); 52 } 32 53 33 54 // Exhilarate 34 55 if (getPlayer().getLevel() >= 83) 56 { 35 57 getPlayer().addSkill(SkillTable.getInstance().getInfo(894, 1), false); 58 } 36 59 37 int lvl = getPlayer().getLevel() - 74;60 int lvl = getPlayer().getLevel() - 74; 38 61 39 62 if (lvl > 0) … … 74 97 getPlayer().removeSkill(SkillTable.getInstance().getInfo(894, 1), false); 75 98 76 int lvl = getPlayer().getLevel() - 74;99 int lvl = getPlayer().getLevel() - 74; 77 100 78 101 if (lvl > 0)
Note: See TracChangeset
for help on using the changeset viewer.
