- 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/ScrollBlue.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/ScrollBlue.java
r7670 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 … … 6 20 7 21 /** 8 * TODO: Buffs disappear once you get transformed, but reappear after the transformed state wears off. 9 * Skills involved in the minigame but are not assigned directly to players: 10 * Flip Nearby Blocks - 5847 - For Flip Block, there are two skills, one for each side (makes sense). For this, there is only one skill. Thus it is probably not assigned to the transformation. 11 * Block Trigger Slow - 5848 - This may be assigned to players, unsure. 12 * Decrease Speed - 5849 - This is possibly assigned to all players to set all players to the same running speed for the duration of the game. 13 * Block Trigger Stun - 5849 - From L2Vault: "The squares gives drops of "bond" and "landmine". I wasn't able to figure out what the bond did as it wasn't anything that seemed to go into your inventory. However, Landmine did appear in your inventory which allows you to use it before flipping a square which will give the other team a state of stun when they attempt to flip the same square (from what I can gather, it all happens so quickly ;) " 14 * Shock - 5851 - Stun effect from 5849 15 * More Info: http://l2vault.ign.com/wiki/index.php/Handy%E2%80%99s_Block_Checker 22 * TODO: Buffs disappear once you get transformed, but reappear after the transformed state wears off. Skills involved in the minigame but are not assigned directly to players: Flip Nearby Blocks - 5847 - For Flip Block, there are two skills, one for each side (makes sense). For this, there is only 23 * one skill. Thus it is probably not assigned to the transformation. Block Trigger Slow - 5848 - This may be assigned to players, unsure. Decrease Speed - 5849 - This is possibly assigned to all players to set all players to the same running speed for the duration of the game. Block Trigger Stun - 24 * 5849 - From L2Vault: "The squares gives drops of "bond" and "landmine 25 * ". I wasn't able to figure out what the bond did as it wasn't anything that seemed to go into your inventory. However, Landmine did appear in your inventory which allows you to use it before flipping a square which will give the other team a state of stun when they attempt to flip the same square (from what I can gather, it all happens so quickly ;) " 26 * Shock - 5851 - Stun effect from 5849 More Info: http://l2vault.ign.com/wiki/index.php/Handy%E2%80%99s_Block_Checker 16 27 */ 17 28 public class ScrollBlue extends L2Transformation 18 29 { 19 private static final int[] SKILLS = {5852,5491,619}; 30 private static final int[] SKILLS = 31 { 32 5852, 5491, 619 33 }; 34 20 35 public ScrollBlue() 21 36 { … … 27 42 public void onTransform() 28 43 { 29 if (getPlayer().getTransformationId() != 122 || getPlayer().isCursedWeaponEquipped()) 44 if ((getPlayer().getTransformationId() != 122) || getPlayer().isCursedWeaponEquipped()) 45 { 30 46 return; 47 } 31 48 32 49 transformedSkills(); … … 40 57 getPlayer().addSkill(SkillTable.getInstance().getInfo(5491, 1), false); 41 58 // Transform Dispel 42 // getPlayer().addSkill(SkillTable.getInstance().getInfo(619, 1), false);59 // getPlayer().addSkill(SkillTable.getInstance().getInfo(619, 1), false); 43 60 44 61 getPlayer().setTransformAllowedSkills(SKILLS); … … 58 75 getPlayer().removeSkill(SkillTable.getInstance().getInfo(5491, 1), false); 59 76 // Transform Dispel 60 // getPlayer().removeSkill(SkillTable.getInstance().getInfo(619, 1), false);77 // getPlayer().removeSkill(SkillTable.getInstance().getInfo(619, 1), false); 61 78 62 79 getPlayer().setTransformAllowedSkills(EMPTY_ARRAY);
Note: See TracChangeset
for help on using the changeset viewer.
