Removed unused alter skill holder.

This commit is contained in:
MobiusDev 2017-11-08 14:10:00 +00:00
parent e89e44883b
commit d8005c98c1
41 changed files with 0 additions and 596 deletions

View File

@ -510,11 +510,6 @@
<value level="10">-719</value>
<value level="11">-722</value>
</effectPoint>
<alterSkill>
<item id="10250" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10249" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>
@ -2882,11 +2877,6 @@
<abnormalTime>10</abnormalTime>
<irreplacableBuff>true</irreplacableBuff>
<isDebuff>true</isDebuff>
<alterSkill>
<item id="10250" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10249" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>
@ -2956,11 +2946,6 @@
<abnormalTime>10</abnormalTime>
<irreplacableBuff>true</irreplacableBuff>
<isDebuff>true</isDebuff>
<alterSkill>
<item id="10250" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10249" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>
@ -3030,11 +3015,6 @@
<abnormalTime>10</abnormalTime>
<irreplacableBuff>true</irreplacableBuff>
<isDebuff>true</isDebuff>
<alterSkill>
<item id="10250" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10249" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>
@ -3104,11 +3084,6 @@
<abnormalTime>10</abnormalTime>
<irreplacableBuff>true</irreplacableBuff>
<isDebuff>true</isDebuff>
<alterSkill>
<item id="10250" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10249" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>
@ -3178,11 +3153,6 @@
<abnormalTime>10</abnormalTime>
<irreplacableBuff>true</irreplacableBuff>
<isDebuff>true</isDebuff>
<alterSkill>
<item id="10250" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10249" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>
@ -3252,11 +3222,6 @@
<abnormalTime>10</abnormalTime>
<irreplacableBuff>true</irreplacableBuff>
<isDebuff>true</isDebuff>
<alterSkill>
<item id="10250" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10249" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>
@ -3704,11 +3669,6 @@
<isDebuff>true</isDebuff>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<alterSkill>
<item id="10250" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10249" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<conditions>
<condition name="EquipShield" />
</conditions>

View File

@ -705,11 +705,6 @@
</effectPoint>
<basicProperty>NONE</basicProperty>
<isDebuff>true</isDebuff>
<alterSkill>
<item id="10500" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10499" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>

View File

@ -578,11 +578,6 @@
<basicProperty>NONE</basicProperty>
<rideState>NONE</rideState>
<reuseDelay>5000</reuseDelay>
<alterSkill>
<item id="10750" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10749" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>

View File

@ -1066,11 +1066,6 @@
<value level="11">0;0;700;50</value>
</fanRange>
<rideState>NONE</rideState>
<alterSkill>
<item id="11000" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10999" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SQUARE</affectScope>
<affectObject>NOT_FRIEND</affectObject>

View File

@ -358,11 +358,6 @@
<value fromLevel="7" toLevel="11" fromSubLevel="2001" toSubLevel="2030">{base + base / 100 * subIndex}</value>
</magicCriticalRate>
<isMagic>1</isMagic>
<alterSkill>
<item id="11250" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="11249" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<attachSkillList>
<item>
<requiredSkillId>11007</requiredSkillId> <!-- Fire Stance -->

View File

@ -869,11 +869,6 @@
<lvlBonusRate>20</lvlBonusRate>
<abnormalVisualEffect>DOT_POISON</abnormalVisualEffect>
<isDebuff>true</isDebuff>
<alterSkill>
<item id="11500" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="11499" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<effects>

View File

@ -527,11 +527,6 @@
<basicProperty>NONE</basicProperty>
<magicCriticalRate>5</magicCriticalRate>
<isDebuff>true</isDebuff>
<alterSkill>
<item id="10750" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10749" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>

View File

@ -1328,11 +1328,6 @@
<value fromLevel="7" toLevel="11" fromSubLevel="2001" toSubLevel="2030">{base + base / 100 * subIndex}</value>
</magicCriticalRate>
<isMagic>1</isMagic>
<alterSkill>
<item id="12000" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="11999" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<effects>

View File

@ -2544,11 +2544,6 @@
<magicLvl>85</magicLvl>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<alterSkill>
<item id="14581" level="1" chance="100" abnormalType="NPC_ATTACK1" /> <!-- Cry of Destiny - Shield Charge -->
<item id="14582" level="1" chance="100" abnormalType="NPC_ATTACK2" /> <!-- Cry of Destiny - Chain Strike -->
<item id="14583" level="1" chance="100" abnormalType="NPC_ATTACK3" /> <!-- Cry of Destiny - Last Judgment -->
</alterSkill>
</skill>
<skill id="14581" toLevel="1" name="Cry of Destiny - Shield Charge">
<!-- Glory Days confirmed -->
@ -2691,11 +2686,6 @@
<magicLvl>85</magicLvl>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<alterSkill>
<item id="14584" level="1" chance="100" abnormalType="NPC_ATTACK1" /> <!-- Cry of Destiny - Armor Destruction -->
<item id="14585" level="1" chance="100" abnormalType="NPC_ATTACK2" /> <!-- Cry of Destiny - Giant Punch -->
<item id="14586" level="1" chance="100" abnormalType="NPC_ATTACK3" /> <!-- Cry of Destiny - Power Bomber -->
</alterSkill>
</skill>
<skill id="14585" toLevel="1" name="Cry of Destiny - Armor Destruction">
<!-- Glory Days confirmed -->
@ -2854,11 +2844,6 @@
<magicLvl>85</magicLvl>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<alterSkill>
<item id="14589" level="1" chance="100" abnormalType="NPC_ATTACK1" /> <!-- Cry of Destiny - Heart Breaker -->
<item id="14590" level="1" chance="100" abnormalType="NPC_ATTACK2" /> <!-- Cry of Destiny - Dark Paralysis -->
<item id="14591" level="1" chance="100" abnormalType="NPC_ATTACK3" /> <!-- Cry of Destiny - Throwing Sand -->
</alterSkill>
</skill>
<skill id="14589" toLevel="1" name="Cry of Destiny - Heart Breaker">
<!-- Glory Days confirmed -->
@ -2998,11 +2983,6 @@
<magicLvl>85</magicLvl>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<alterSkill>
<item id="14593" level="1" chance="100" abnormalType="NPC_ATTACK1" /> <!-- Cry of Destiny - Pinpoint Shot -->
<item id="14594" level="1" chance="100" abnormalType="NPC_ATTACK2" /> <!-- Cry of Destiny - Quick Fire -->
<item id="14595" level="1" chance="100" abnormalType="NPC_ATTACK3" /> <!-- Cry of Destiny - Recoil Shot -->
</alterSkill>
</skill>
<skill id="14593" toLevel="1" name="Cry of Destiny - Pinpoint Shot">
<!-- Glory Days confirmed -->
@ -3138,11 +3118,6 @@
<magicLvl>85</magicLvl>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<alterSkill>
<item id="14597" level="1" chance="100" abnormalType="NPC_ATTACK1" /> <!-- Cry of Destiny - Elemental Spike -->
<item id="14598" level="1" chance="100" abnormalType="NPC_ATTACK2" /> <!-- Cry of Destiny - Elemental Crash -->
<item id="14599" level="1" chance="100" abnormalType="NPC_ATTACK3" /> <!-- Cry of Destiny - Hell Binding -->
</alterSkill>
</skill>
<skill id="14597" toLevel="1" name="Cry of Destiny - Elemental Spike">
<!-- Glory Days confirmed -->

View File

@ -11,11 +11,6 @@
<magicLvl>85</magicLvl>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<alterSkill>
<item id="14597" level="1" chance="100" abnormalType="NPC_ATTACK1" /> <!-- Cry of Destiny - Mark of Weakness -->
<item id="14598" level="1" chance="100" abnormalType="NPC_ATTACK2" /> <!-- Cry of Destiny - Mark of Plague -->
<item id="14599" level="1" chance="100" abnormalType="NPC_ATTACK3" /> <!-- Cry of Destiny - Exile -->
</alterSkill>
</skill>
<skill id="14601" toLevel="1" name="Cry of Destiny - Mark of Weakness">
<!-- Glory Days confirmed -->
@ -155,11 +150,6 @@
<magicLvl>85</magicLvl>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<alterSkill>
<item id="14605" level="1" chance="100" abnormalType="NPC_ATTACK1" /> <!-- Cry of Destiny - Crippling Attack -->
<item id="14606" level="1" chance="100" abnormalType="NPC_ATTACK2" /> <!-- Cry of Destiny - Death Strike -->
<item id="14607" level="1" chance="100" abnormalType="NPC_ATTACK3" /> <!-- Cry of Destiny - Pipe Organ Melody -->
</alterSkill>
</skill>
<skill id="14605" toLevel="1" name="Cry of Destiny - Crippling Attack">
<!-- Glory Days confirmed -->
@ -301,11 +291,6 @@
<magicLvl>85</magicLvl>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<alterSkill>
<item id="14609" level="1" chance="100" abnormalType="NPC_ATTACK1" /> <!-- Cry of Destiny - Dark Blast -->
<item id="14610" level="1" chance="100" abnormalType="NPC_ATTACK2" /> <!-- Cry of Destiny - Radiant Heal -->
<item id="14611" level="1" chance="100" abnormalType="NPC_ATTACK3" /> <!-- Cry of Destiny - Dark Force -->
</alterSkill>
</skill>
<skill id="14609" toLevel="1" name="Cry of Destiny - Dark Blast">
<!-- Glory Days confirmed -->

View File

@ -2138,11 +2138,6 @@
<basicProperty>NONE</basicProperty>
<magicCriticalRate>5</magicCriticalRate>
<isDebuff>true</isDebuff>
<alterSkill>
<item id="10750" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10749" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>

View File

@ -1,51 +0,0 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jmobius.gameserver.model.holders;
import com.l2jmobius.gameserver.model.StatsSet;
import com.l2jmobius.gameserver.model.skills.AbnormalType;
/**
* @author UnAfraid
*/
public class AlterSkillHolder extends SkillHolder
{
private final int _chance;
private final AbnormalType _abnormalType;
public AlterSkillHolder(int skillId, int skillLevel, int chance, AbnormalType abnormalType)
{
super(skillId, skillLevel);
_chance = chance;
_abnormalType = abnormalType;
}
public int getChance()
{
return _chance;
}
public AbnormalType getAbnormalType()
{
return _abnormalType;
}
public static AlterSkillHolder fromStatsSet(StatsSet set)
{
return new AlterSkillHolder(set.getInt(".id"), set.getInt(".level", 1), set.getInt(".chance"), set.getEnum(".abnormalType", AbnormalType.class));
}
}

View File

@ -53,7 +53,6 @@ import com.l2jmobius.gameserver.model.cubic.CubicInstance;
import com.l2jmobius.gameserver.model.effects.AbstractEffect;
import com.l2jmobius.gameserver.model.effects.EffectFlag;
import com.l2jmobius.gameserver.model.effects.L2EffectType;
import com.l2jmobius.gameserver.model.holders.AlterSkillHolder;
import com.l2jmobius.gameserver.model.holders.AttachSkillHolder;
import com.l2jmobius.gameserver.model.interfaces.IIdentifiable;
import com.l2jmobius.gameserver.model.items.instance.L2ItemInstance;
@ -205,7 +204,6 @@ public final class Skill implements IIdentifiable
private final int _toggleGroupId;
private final int _attachToggleGroupId;
private final List<AlterSkillHolder> _alterSkills;
private final List<AttachSkillHolder> _attachSkills;
private final Set<AbnormalType> _abnormalResists;
@ -414,7 +412,6 @@ public final class Skill implements IIdentifiable
_toggleGroupId = set.getInt("toggleGroupId", -1);
_attachToggleGroupId = set.getInt("attachToggleGroupId", -1);
_alterSkills = set.getList("alterSkill", StatsSet.class, Collections.emptyList()).stream().map(AlterSkillHolder::fromStatsSet).collect(Collectors.toList());
_attachSkills = set.getList("attachSkillList", StatsSet.class, Collections.emptyList()).stream().map(AttachSkillHolder::fromStatsSet).collect(Collectors.toList());
final String abnormalResist = set.getString("abnormalResists", null);
@ -1833,11 +1830,6 @@ public final class Skill implements IIdentifiable
return _attachToggleGroupId;
}
public List<AlterSkillHolder> getAlterSkills()
{
return _alterSkills;
}
public List<AttachSkillHolder> getAttachSkills()
{
return _attachSkills;

View File

@ -510,11 +510,6 @@
<value level="10">-719</value>
<value level="11">-722</value>
</effectPoint>
<alterSkill>
<item id="10250" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10249" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>
@ -2892,11 +2887,6 @@
<abnormalTime>10</abnormalTime>
<irreplacableBuff>true</irreplacableBuff>
<isDebuff>true</isDebuff>
<alterSkill>
<item id="10250" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10249" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>
@ -2966,11 +2956,6 @@
<abnormalTime>10</abnormalTime>
<irreplacableBuff>true</irreplacableBuff>
<isDebuff>true</isDebuff>
<alterSkill>
<item id="10250" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10249" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>
@ -3040,11 +3025,6 @@
<abnormalTime>10</abnormalTime>
<irreplacableBuff>true</irreplacableBuff>
<isDebuff>true</isDebuff>
<alterSkill>
<item id="10250" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10249" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>
@ -3114,11 +3094,6 @@
<abnormalTime>10</abnormalTime>
<irreplacableBuff>true</irreplacableBuff>
<isDebuff>true</isDebuff>
<alterSkill>
<item id="10250" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10249" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>
@ -3188,11 +3163,6 @@
<abnormalTime>10</abnormalTime>
<irreplacableBuff>true</irreplacableBuff>
<isDebuff>true</isDebuff>
<alterSkill>
<item id="10250" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10249" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>
@ -3262,11 +3232,6 @@
<abnormalTime>10</abnormalTime>
<irreplacableBuff>true</irreplacableBuff>
<isDebuff>true</isDebuff>
<alterSkill>
<item id="10250" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10249" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>
@ -3714,11 +3679,6 @@
<isDebuff>true</isDebuff>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<alterSkill>
<item id="10250" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10249" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<conditions>
<condition name="EquipShield" />
</conditions>

View File

@ -705,11 +705,6 @@
</effectPoint>
<basicProperty>NONE</basicProperty>
<isDebuff>true</isDebuff>
<alterSkill>
<item id="10500" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10499" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>

View File

@ -578,11 +578,6 @@
<basicProperty>NONE</basicProperty>
<rideState>NONE</rideState>
<reuseDelay>5000</reuseDelay>
<alterSkill>
<item id="10750" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10749" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>

View File

@ -1115,11 +1115,6 @@
<value level="11">0;0;700;50</value>
</fanRange>
<rideState>NONE</rideState>
<alterSkill>
<item id="11000" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10999" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SQUARE</affectScope>
<affectObject>NOT_FRIEND</affectObject>

View File

@ -358,11 +358,6 @@
<value fromLevel="7" toLevel="11" fromSubLevel="2001" toSubLevel="2030">{base + base / 100 * subIndex}</value>
</magicCriticalRate>
<isMagic>1</isMagic>
<alterSkill>
<item id="11250" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="11249" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<attachSkillList>
<item>
<requiredSkillId>11007</requiredSkillId> <!-- Fire Stance -->

View File

@ -876,11 +876,6 @@
<lvlBonusRate>20</lvlBonusRate>
<abnormalVisualEffect>DOT_POISON</abnormalVisualEffect>
<isDebuff>true</isDebuff>
<alterSkill>
<item id="11500" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="11499" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<effects>

View File

@ -529,11 +529,6 @@
<basicProperty>NONE</basicProperty>
<magicCriticalRate>5</magicCriticalRate>
<isDebuff>true</isDebuff>
<alterSkill>
<item id="10750" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10749" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>

View File

@ -1450,11 +1450,6 @@
<value fromLevel="7" toLevel="11" fromSubLevel="2001" toSubLevel="2030">{base + base / 100 * subIndex}</value>
</magicCriticalRate>
<isMagic>1</isMagic>
<alterSkill>
<item id="12000" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="11999" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<effects>

View File

@ -2544,11 +2544,6 @@
<magicLvl>85</magicLvl>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<alterSkill>
<item id="14581" level="1" chance="100" abnormalType="NPC_ATTACK1" /> <!-- Cry of Destiny - Shield Charge -->
<item id="14582" level="1" chance="100" abnormalType="NPC_ATTACK2" /> <!-- Cry of Destiny - Chain Strike -->
<item id="14583" level="1" chance="100" abnormalType="NPC_ATTACK3" /> <!-- Cry of Destiny - Last Judgment -->
</alterSkill>
</skill>
<skill id="14581" toLevel="1" name="Cry of Destiny - Shield Charge">
<!-- Glory Days confirmed -->
@ -2691,11 +2686,6 @@
<magicLvl>85</magicLvl>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<alterSkill>
<item id="14584" level="1" chance="100" abnormalType="NPC_ATTACK1" /> <!-- Cry of Destiny - Armor Destruction -->
<item id="14585" level="1" chance="100" abnormalType="NPC_ATTACK2" /> <!-- Cry of Destiny - Giant Punch -->
<item id="14586" level="1" chance="100" abnormalType="NPC_ATTACK3" /> <!-- Cry of Destiny - Power Bomber -->
</alterSkill>
</skill>
<skill id="14585" toLevel="1" name="Cry of Destiny - Armor Destruction">
<!-- Glory Days confirmed -->
@ -2854,11 +2844,6 @@
<magicLvl>85</magicLvl>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<alterSkill>
<item id="14589" level="1" chance="100" abnormalType="NPC_ATTACK1" /> <!-- Cry of Destiny - Heart Breaker -->
<item id="14590" level="1" chance="100" abnormalType="NPC_ATTACK2" /> <!-- Cry of Destiny - Dark Paralysis -->
<item id="14591" level="1" chance="100" abnormalType="NPC_ATTACK3" /> <!-- Cry of Destiny - Throwing Sand -->
</alterSkill>
</skill>
<skill id="14589" toLevel="1" name="Cry of Destiny - Heart Breaker">
<!-- Glory Days confirmed -->
@ -2998,11 +2983,6 @@
<magicLvl>85</magicLvl>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<alterSkill>
<item id="14593" level="1" chance="100" abnormalType="NPC_ATTACK1" /> <!-- Cry of Destiny - Pinpoint Shot -->
<item id="14594" level="1" chance="100" abnormalType="NPC_ATTACK2" /> <!-- Cry of Destiny - Quick Fire -->
<item id="14595" level="1" chance="100" abnormalType="NPC_ATTACK3" /> <!-- Cry of Destiny - Recoil Shot -->
</alterSkill>
</skill>
<skill id="14593" toLevel="1" name="Cry of Destiny - Pinpoint Shot">
<!-- Glory Days confirmed -->
@ -3138,11 +3118,6 @@
<magicLvl>85</magicLvl>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<alterSkill>
<item id="14597" level="1" chance="100" abnormalType="NPC_ATTACK1" /> <!-- Cry of Destiny - Elemental Spike -->
<item id="14598" level="1" chance="100" abnormalType="NPC_ATTACK2" /> <!-- Cry of Destiny - Elemental Crash -->
<item id="14599" level="1" chance="100" abnormalType="NPC_ATTACK3" /> <!-- Cry of Destiny - Hell Binding -->
</alterSkill>
</skill>
<skill id="14597" toLevel="1" name="Cry of Destiny - Elemental Spike">
<!-- Glory Days confirmed -->

View File

@ -11,11 +11,6 @@
<magicLvl>85</magicLvl>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<alterSkill>
<item id="14597" level="1" chance="100" abnormalType="NPC_ATTACK1" /> <!-- Cry of Destiny - Mark of Weakness -->
<item id="14598" level="1" chance="100" abnormalType="NPC_ATTACK2" /> <!-- Cry of Destiny - Mark of Plague -->
<item id="14599" level="1" chance="100" abnormalType="NPC_ATTACK3" /> <!-- Cry of Destiny - Exile -->
</alterSkill>
</skill>
<skill id="14601" toLevel="1" name="Cry of Destiny - Mark of Weakness">
<!-- Glory Days confirmed -->
@ -155,11 +150,6 @@
<magicLvl>85</magicLvl>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<alterSkill>
<item id="14605" level="1" chance="100" abnormalType="NPC_ATTACK1" /> <!-- Cry of Destiny - Crippling Attack -->
<item id="14606" level="1" chance="100" abnormalType="NPC_ATTACK2" /> <!-- Cry of Destiny - Death Strike -->
<item id="14607" level="1" chance="100" abnormalType="NPC_ATTACK3" /> <!-- Cry of Destiny - Pipe Organ Melody -->
</alterSkill>
</skill>
<skill id="14605" toLevel="1" name="Cry of Destiny - Crippling Attack">
<!-- Glory Days confirmed -->
@ -301,11 +291,6 @@
<magicLvl>85</magicLvl>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<alterSkill>
<item id="14609" level="1" chance="100" abnormalType="NPC_ATTACK1" /> <!-- Cry of Destiny - Dark Blast -->
<item id="14610" level="1" chance="100" abnormalType="NPC_ATTACK2" /> <!-- Cry of Destiny - Radiant Heal -->
<item id="14611" level="1" chance="100" abnormalType="NPC_ATTACK3" /> <!-- Cry of Destiny - Dark Force -->
</alterSkill>
</skill>
<skill id="14609" toLevel="1" name="Cry of Destiny - Dark Blast">
<!-- Glory Days confirmed -->

View File

@ -2138,11 +2138,6 @@
<basicProperty>NONE</basicProperty>
<magicCriticalRate>5</magicCriticalRate>
<isDebuff>true</isDebuff>
<alterSkill>
<item id="10750" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10749" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>

View File

@ -1,51 +0,0 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jmobius.gameserver.model.holders;
import com.l2jmobius.gameserver.model.StatsSet;
import com.l2jmobius.gameserver.model.skills.AbnormalType;
/**
* @author UnAfraid
*/
public class AlterSkillHolder extends SkillHolder
{
private final int _chance;
private final AbnormalType _abnormalType;
public AlterSkillHolder(int skillId, int skillLevel, int chance, AbnormalType abnormalType)
{
super(skillId, skillLevel);
_chance = chance;
_abnormalType = abnormalType;
}
public int getChance()
{
return _chance;
}
public AbnormalType getAbnormalType()
{
return _abnormalType;
}
public static AlterSkillHolder fromStatsSet(StatsSet set)
{
return new AlterSkillHolder(set.getInt(".id"), set.getInt(".level", 1), set.getInt(".chance"), set.getEnum(".abnormalType", AbnormalType.class));
}
}

View File

@ -53,7 +53,6 @@ import com.l2jmobius.gameserver.model.cubic.CubicInstance;
import com.l2jmobius.gameserver.model.effects.AbstractEffect;
import com.l2jmobius.gameserver.model.effects.EffectFlag;
import com.l2jmobius.gameserver.model.effects.L2EffectType;
import com.l2jmobius.gameserver.model.holders.AlterSkillHolder;
import com.l2jmobius.gameserver.model.holders.AttachSkillHolder;
import com.l2jmobius.gameserver.model.interfaces.IIdentifiable;
import com.l2jmobius.gameserver.model.items.instance.L2ItemInstance;
@ -205,7 +204,6 @@ public final class Skill implements IIdentifiable
private final int _toggleGroupId;
private final int _attachToggleGroupId;
private final List<AlterSkillHolder> _alterSkills;
private final List<AttachSkillHolder> _attachSkills;
private final Set<AbnormalType> _abnormalResists;
@ -414,7 +412,6 @@ public final class Skill implements IIdentifiable
_toggleGroupId = set.getInt("toggleGroupId", -1);
_attachToggleGroupId = set.getInt("attachToggleGroupId", -1);
_alterSkills = set.getList("alterSkill", StatsSet.class, Collections.emptyList()).stream().map(AlterSkillHolder::fromStatsSet).collect(Collectors.toList());
_attachSkills = set.getList("attachSkillList", StatsSet.class, Collections.emptyList()).stream().map(AttachSkillHolder::fromStatsSet).collect(Collectors.toList());
final String abnormalResist = set.getString("abnormalResists", null);
@ -1833,11 +1830,6 @@ public final class Skill implements IIdentifiable
return _attachToggleGroupId;
}
public List<AlterSkillHolder> getAlterSkills()
{
return _alterSkills;
}
public List<AttachSkillHolder> getAttachSkills()
{
return _attachSkills;

View File

@ -509,11 +509,6 @@
<value level="10">-719</value>
<value level="11">-722</value>
</effectPoint>
<alterSkill>
<item id="10250" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10249" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>
@ -2891,11 +2886,6 @@
<abnormalTime>10</abnormalTime>
<irreplacableBuff>true</irreplacableBuff>
<isDebuff>true</isDebuff>
<alterSkill>
<item id="10250" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10249" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>
@ -2965,11 +2955,6 @@
<abnormalTime>10</abnormalTime>
<irreplacableBuff>true</irreplacableBuff>
<isDebuff>true</isDebuff>
<alterSkill>
<item id="10250" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10249" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>
@ -3039,11 +3024,6 @@
<abnormalTime>10</abnormalTime>
<irreplacableBuff>true</irreplacableBuff>
<isDebuff>true</isDebuff>
<alterSkill>
<item id="10250" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10249" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>
@ -3113,11 +3093,6 @@
<abnormalTime>10</abnormalTime>
<irreplacableBuff>true</irreplacableBuff>
<isDebuff>true</isDebuff>
<alterSkill>
<item id="10250" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10249" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>
@ -3187,11 +3162,6 @@
<abnormalTime>10</abnormalTime>
<irreplacableBuff>true</irreplacableBuff>
<isDebuff>true</isDebuff>
<alterSkill>
<item id="10250" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10249" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>
@ -3261,11 +3231,6 @@
<abnormalTime>10</abnormalTime>
<irreplacableBuff>true</irreplacableBuff>
<isDebuff>true</isDebuff>
<alterSkill>
<item id="10250" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10249" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>
@ -3713,11 +3678,6 @@
<isDebuff>true</isDebuff>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<alterSkill>
<item id="10250" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10249" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<conditions>
<condition name="EquipShield" />
</conditions>

View File

@ -705,11 +705,6 @@
</effectPoint>
<basicProperty>NONE</basicProperty>
<isDebuff>true</isDebuff>
<alterSkill>
<item id="10500" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10499" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>

View File

@ -578,11 +578,6 @@
<basicProperty>NONE</basicProperty>
<rideState>NONE</rideState>
<reuseDelay>5000</reuseDelay>
<alterSkill>
<item id="10750" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10749" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>

View File

@ -1115,11 +1115,6 @@
<value level="11">0;0;700;50</value>
</fanRange>
<rideState>NONE</rideState>
<alterSkill>
<item id="11000" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10999" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SQUARE</affectScope>
<affectObject>NOT_FRIEND</affectObject>

View File

@ -358,11 +358,6 @@
<value fromLevel="7" toLevel="11" fromSubLevel="2001" toSubLevel="2030">{base + base / 100 * subIndex}</value>
</magicCriticalRate>
<isMagic>1</isMagic>
<alterSkill>
<item id="11250" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="11249" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<attachSkillList>
<item>
<requiredSkillId>11007</requiredSkillId> <!-- Fire Stance -->

View File

@ -882,11 +882,6 @@
<lvlBonusRate>20</lvlBonusRate>
<abnormalVisualEffect>DOT_POISON</abnormalVisualEffect>
<isDebuff>true</isDebuff>
<alterSkill>
<item id="11500" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="11499" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<effects>

View File

@ -529,11 +529,6 @@
<basicProperty>NONE</basicProperty>
<magicCriticalRate>5</magicCriticalRate>
<isDebuff>true</isDebuff>
<alterSkill>
<item id="10750" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10749" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>

View File

@ -1450,11 +1450,6 @@
<value fromLevel="7" toLevel="11" fromSubLevel="2001" toSubLevel="2030">{base + base / 100 * subIndex}</value>
</magicCriticalRate>
<isMagic>1</isMagic>
<alterSkill>
<item id="12000" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="11999" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<effects>

View File

@ -2544,11 +2544,6 @@
<magicLvl>85</magicLvl>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<alterSkill>
<item id="14581" level="1" chance="100" abnormalType="NPC_ATTACK1" /> <!-- Cry of Destiny - Shield Charge -->
<item id="14582" level="1" chance="100" abnormalType="NPC_ATTACK2" /> <!-- Cry of Destiny - Chain Strike -->
<item id="14583" level="1" chance="100" abnormalType="NPC_ATTACK3" /> <!-- Cry of Destiny - Last Judgment -->
</alterSkill>
</skill>
<skill id="14581" toLevel="1" name="Cry of Destiny - Shield Charge">
<!-- Glory Days confirmed -->
@ -2691,11 +2686,6 @@
<magicLvl>85</magicLvl>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<alterSkill>
<item id="14584" level="1" chance="100" abnormalType="NPC_ATTACK1" /> <!-- Cry of Destiny - Armor Destruction -->
<item id="14585" level="1" chance="100" abnormalType="NPC_ATTACK2" /> <!-- Cry of Destiny - Giant Punch -->
<item id="14586" level="1" chance="100" abnormalType="NPC_ATTACK3" /> <!-- Cry of Destiny - Power Bomber -->
</alterSkill>
</skill>
<skill id="14585" toLevel="1" name="Cry of Destiny - Armor Destruction">
<!-- Glory Days confirmed -->
@ -2854,11 +2844,6 @@
<magicLvl>85</magicLvl>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<alterSkill>
<item id="14589" level="1" chance="100" abnormalType="NPC_ATTACK1" /> <!-- Cry of Destiny - Heart Breaker -->
<item id="14590" level="1" chance="100" abnormalType="NPC_ATTACK2" /> <!-- Cry of Destiny - Dark Paralysis -->
<item id="14591" level="1" chance="100" abnormalType="NPC_ATTACK3" /> <!-- Cry of Destiny - Throwing Sand -->
</alterSkill>
</skill>
<skill id="14589" toLevel="1" name="Cry of Destiny - Heart Breaker">
<!-- Glory Days confirmed -->
@ -2998,11 +2983,6 @@
<magicLvl>85</magicLvl>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<alterSkill>
<item id="14593" level="1" chance="100" abnormalType="NPC_ATTACK1" /> <!-- Cry of Destiny - Pinpoint Shot -->
<item id="14594" level="1" chance="100" abnormalType="NPC_ATTACK2" /> <!-- Cry of Destiny - Quick Fire -->
<item id="14595" level="1" chance="100" abnormalType="NPC_ATTACK3" /> <!-- Cry of Destiny - Recoil Shot -->
</alterSkill>
</skill>
<skill id="14593" toLevel="1" name="Cry of Destiny - Pinpoint Shot">
<!-- Glory Days confirmed -->
@ -3138,11 +3118,6 @@
<magicLvl>85</magicLvl>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<alterSkill>
<item id="14597" level="1" chance="100" abnormalType="NPC_ATTACK1" /> <!-- Cry of Destiny - Elemental Spike -->
<item id="14598" level="1" chance="100" abnormalType="NPC_ATTACK2" /> <!-- Cry of Destiny - Elemental Crash -->
<item id="14599" level="1" chance="100" abnormalType="NPC_ATTACK3" /> <!-- Cry of Destiny - Hell Binding -->
</alterSkill>
</skill>
<skill id="14597" toLevel="1" name="Cry of Destiny - Elemental Spike">
<!-- Glory Days confirmed -->

View File

@ -11,11 +11,6 @@
<magicLvl>85</magicLvl>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<alterSkill>
<item id="14597" level="1" chance="100" abnormalType="NPC_ATTACK1" /> <!-- Cry of Destiny - Mark of Weakness -->
<item id="14598" level="1" chance="100" abnormalType="NPC_ATTACK2" /> <!-- Cry of Destiny - Mark of Plague -->
<item id="14599" level="1" chance="100" abnormalType="NPC_ATTACK3" /> <!-- Cry of Destiny - Exile -->
</alterSkill>
</skill>
<skill id="14601" toLevel="1" name="Cry of Destiny - Mark of Weakness">
<!-- Glory Days confirmed -->
@ -155,11 +150,6 @@
<magicLvl>85</magicLvl>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<alterSkill>
<item id="14605" level="1" chance="100" abnormalType="NPC_ATTACK1" /> <!-- Cry of Destiny - Crippling Attack -->
<item id="14606" level="1" chance="100" abnormalType="NPC_ATTACK2" /> <!-- Cry of Destiny - Death Strike -->
<item id="14607" level="1" chance="100" abnormalType="NPC_ATTACK3" /> <!-- Cry of Destiny - Pipe Organ Melody -->
</alterSkill>
</skill>
<skill id="14605" toLevel="1" name="Cry of Destiny - Crippling Attack">
<!-- Glory Days confirmed -->
@ -301,11 +291,6 @@
<magicLvl>85</magicLvl>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<alterSkill>
<item id="14609" level="1" chance="100" abnormalType="NPC_ATTACK1" /> <!-- Cry of Destiny - Dark Blast -->
<item id="14610" level="1" chance="100" abnormalType="NPC_ATTACK2" /> <!-- Cry of Destiny - Radiant Heal -->
<item id="14611" level="1" chance="100" abnormalType="NPC_ATTACK3" /> <!-- Cry of Destiny - Dark Force -->
</alterSkill>
</skill>
<skill id="14609" toLevel="1" name="Cry of Destiny - Dark Blast">
<!-- Glory Days confirmed -->

View File

@ -2138,11 +2138,6 @@
<basicProperty>NONE</basicProperty>
<magicCriticalRate>5</magicCriticalRate>
<isDebuff>true</isDebuff>
<alterSkill>
<item id="10750" level="1" chance="100" abnormalType="KNOCKDOWN" /> <!-- Heavy Hit -->
<item id="10749" level="1" chance="100" abnormalType="AIRBIND" /> <!-- Heavy Hit -->
<item id="14579" level="1" chance="100" abnormalType="EARTHWORM_DEBUFF" />
</alterSkill>
<targetType>ENEMY</targetType>
<affectScope>SINGLE</affectScope>
<conditions>

View File

@ -1,51 +0,0 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jmobius.gameserver.model.holders;
import com.l2jmobius.gameserver.model.StatsSet;
import com.l2jmobius.gameserver.model.skills.AbnormalType;
/**
* @author UnAfraid
*/
public class AlterSkillHolder extends SkillHolder
{
private final int _chance;
private final AbnormalType _abnormalType;
public AlterSkillHolder(int skillId, int skillLevel, int chance, AbnormalType abnormalType)
{
super(skillId, skillLevel);
_chance = chance;
_abnormalType = abnormalType;
}
public int getChance()
{
return _chance;
}
public AbnormalType getAbnormalType()
{
return _abnormalType;
}
public static AlterSkillHolder fromStatsSet(StatsSet set)
{
return new AlterSkillHolder(set.getInt(".id"), set.getInt(".level", 1), set.getInt(".chance"), set.getEnum(".abnormalType", AbnormalType.class));
}
}

View File

@ -53,7 +53,6 @@ import com.l2jmobius.gameserver.model.cubic.CubicInstance;
import com.l2jmobius.gameserver.model.effects.AbstractEffect;
import com.l2jmobius.gameserver.model.effects.EffectFlag;
import com.l2jmobius.gameserver.model.effects.L2EffectType;
import com.l2jmobius.gameserver.model.holders.AlterSkillHolder;
import com.l2jmobius.gameserver.model.holders.AttachSkillHolder;
import com.l2jmobius.gameserver.model.interfaces.IIdentifiable;
import com.l2jmobius.gameserver.model.items.instance.L2ItemInstance;
@ -205,7 +204,6 @@ public final class Skill implements IIdentifiable
private final int _toggleGroupId;
private final int _attachToggleGroupId;
private final List<AlterSkillHolder> _alterSkills;
private final List<AttachSkillHolder> _attachSkills;
private final Set<AbnormalType> _abnormalResists;
@ -414,7 +412,6 @@ public final class Skill implements IIdentifiable
_toggleGroupId = set.getInt("toggleGroupId", -1);
_attachToggleGroupId = set.getInt("attachToggleGroupId", -1);
_alterSkills = set.getList("alterSkill", StatsSet.class, Collections.emptyList()).stream().map(AlterSkillHolder::fromStatsSet).collect(Collectors.toList());
_attachSkills = set.getList("attachSkillList", StatsSet.class, Collections.emptyList()).stream().map(AttachSkillHolder::fromStatsSet).collect(Collectors.toList());
final String abnormalResist = set.getString("abnormalResists", null);
@ -1833,11 +1830,6 @@ public final class Skill implements IIdentifiable
return _attachToggleGroupId;
}
public List<AlterSkillHolder> getAlterSkills()
{
return _alterSkills;
}
public List<AttachSkillHolder> getAttachSkills()
{
return _attachSkills;

View File

@ -1,51 +0,0 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jmobius.gameserver.model.holders;
import com.l2jmobius.gameserver.model.StatsSet;
import com.l2jmobius.gameserver.model.skills.AbnormalType;
/**
* @author UnAfraid
*/
public class AlterSkillHolder extends SkillHolder
{
private final int _chance;
private final AbnormalType _abnormalType;
public AlterSkillHolder(int skillId, int skillLevel, int chance, AbnormalType abnormalType)
{
super(skillId, skillLevel);
_chance = chance;
_abnormalType = abnormalType;
}
public int getChance()
{
return _chance;
}
public AbnormalType getAbnormalType()
{
return _abnormalType;
}
public static AlterSkillHolder fromStatsSet(StatsSet set)
{
return new AlterSkillHolder(set.getInt(".id"), set.getInt(".level", 1), set.getInt(".chance"), set.getEnum(".abnormalType", AbnormalType.class));
}
}

View File

@ -53,7 +53,6 @@ import com.l2jmobius.gameserver.model.cubic.CubicInstance;
import com.l2jmobius.gameserver.model.effects.AbstractEffect;
import com.l2jmobius.gameserver.model.effects.EffectFlag;
import com.l2jmobius.gameserver.model.effects.L2EffectType;
import com.l2jmobius.gameserver.model.holders.AlterSkillHolder;
import com.l2jmobius.gameserver.model.holders.AttachSkillHolder;
import com.l2jmobius.gameserver.model.interfaces.IIdentifiable;
import com.l2jmobius.gameserver.model.items.instance.L2ItemInstance;
@ -205,7 +204,6 @@ public final class Skill implements IIdentifiable
private final int _toggleGroupId;
private final int _attachToggleGroupId;
private final List<AlterSkillHolder> _alterSkills;
private final List<AttachSkillHolder> _attachSkills;
private final Set<AbnormalType> _abnormalResists;
@ -414,7 +412,6 @@ public final class Skill implements IIdentifiable
_toggleGroupId = set.getInt("toggleGroupId", -1);
_attachToggleGroupId = set.getInt("attachToggleGroupId", -1);
_alterSkills = set.getList("alterSkill", StatsSet.class, Collections.emptyList()).stream().map(AlterSkillHolder::fromStatsSet).collect(Collectors.toList());
_attachSkills = set.getList("attachSkillList", StatsSet.class, Collections.emptyList()).stream().map(AttachSkillHolder::fromStatsSet).collect(Collectors.toList());
final String abnormalResist = set.getString("abnormalResists", null);
@ -1833,11 +1830,6 @@ public final class Skill implements IIdentifiable
return _attachToggleGroupId;
}
public List<AlterSkillHolder> getAlterSkills()
{
return _alterSkills;
}
public List<AttachSkillHolder> getAttachSkills()
{
return _attachSkills;