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/ScrollRed.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 */ 
    115package transformations; 
    216 
     
    620 
    721/** 
    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 
    1627 */ 
    1728public class ScrollRed extends L2Transformation 
    1829{ 
    19         private static final int[] SKILLS = {5853,5491,619}; 
     30        private static final int[] SKILLS = 
     31        { 
     32                5853, 5491, 619 
     33        }; 
     34         
    2035        public ScrollRed() 
    2136        { 
     
    2742        public void onTransform() 
    2843        { 
    29                 if (getPlayer().getTransformationId() != 121 || getPlayer().isCursedWeaponEquipped()) 
     44                if ((getPlayer().getTransformationId() != 121) || getPlayer().isCursedWeaponEquipped()) 
     45                { 
    3046                        return; 
     47                } 
    3148                 
    3249                transformedSkills(); 
     
    4057                getPlayer().addSkill(SkillTable.getInstance().getInfo(5491, 1), false); 
    4158                // Transform Dispel 
    42                 //getPlayer().addSkill(SkillTable.getInstance().getInfo(619, 1), false); 
     59                // getPlayer().addSkill(SkillTable.getInstance().getInfo(619, 1), false); 
    4360                 
    4461                getPlayer().setTransformAllowedSkills(SKILLS); 
     
    5875                getPlayer().removeSkill(SkillTable.getInstance().getInfo(5491, 1), false); 
    5976                // Transform Dispel 
    60                 //getPlayer().removeSkill(SkillTable.getInstance().getInfo(619, 1), false); 
     77                // getPlayer().removeSkill(SkillTable.getInstance().getInfo(619, 1), false); 
    6178                 
    6279                getPlayer().setTransformAllowedSkills(EMPTY_ARRAY); 
Note: See TracChangeset for help on using the changeset viewer.