Addition of default values for CheckLevel skill condition.
This commit is contained in:
@@ -34,9 +34,9 @@ public class CheckLevelSkillCondition implements ISkillCondition
|
||||
|
||||
public CheckLevelSkillCondition(StatSet params)
|
||||
{
|
||||
_minLevel = params.getInt("minLevel");
|
||||
_maxLevel = params.getInt("maxLevel");
|
||||
_affectType = params.getEnum("affectType", SkillConditionAffectType.class);
|
||||
_minLevel = params.getInt("minLevel", 1);
|
||||
_maxLevel = params.getInt("maxLevel", Integer.MAX_VALUE);
|
||||
_affectType = params.getEnum("affectType", SkillConditionAffectType.class, SkillConditionAffectType.CASTER);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@@ -1348,8 +1348,6 @@
|
||||
<passiveConditions>
|
||||
<condition name="CheckLevel">
|
||||
<minLevel>81</minLevel>
|
||||
<maxLevel>85</maxLevel>
|
||||
<affectType>CASTER</affectType>
|
||||
</condition>
|
||||
</passiveConditions>
|
||||
<effects>
|
||||
|
@@ -915,7 +915,6 @@
|
||||
<value level="3">51</value>
|
||||
<value level="4">60</value>
|
||||
</maxLevel>
|
||||
<affectType>CASTER</affectType>
|
||||
</condition>
|
||||
</conditions>
|
||||
<effects>
|
||||
|
@@ -16,13 +16,6 @@
|
||||
<isMagic>4</isMagic>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<passiveConditions>
|
||||
<condition name="CheckLevel">
|
||||
<minLevel>1</minLevel>
|
||||
<maxLevel>85</maxLevel>
|
||||
<affectType>CASTER</affectType>
|
||||
</condition>
|
||||
</passiveConditions>
|
||||
<effects>
|
||||
<effect name="MaxHp">
|
||||
<amount>5</amount>
|
||||
|
@@ -14,13 +14,6 @@
|
||||
<stayAfterDeath>true</stayAfterDeath>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<passiveConditions>
|
||||
<condition name="CheckLevel">
|
||||
<minLevel>1</minLevel>
|
||||
<maxLevel>85</maxLevel>
|
||||
<affectType>CASTER</affectType>
|
||||
</condition>
|
||||
</passiveConditions>
|
||||
<effects>
|
||||
<effect name="ExpModify">
|
||||
<amount>20</amount>
|
||||
@@ -44,13 +37,6 @@
|
||||
<stayAfterDeath>true</stayAfterDeath>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<passiveConditions>
|
||||
<condition name="CheckLevel">
|
||||
<minLevel>1</minLevel>
|
||||
<maxLevel>85</maxLevel>
|
||||
<affectType>CASTER</affectType>
|
||||
</condition>
|
||||
</passiveConditions>
|
||||
<effects>
|
||||
<effect name="ExpModify">
|
||||
<amount>20</amount>
|
||||
@@ -74,13 +60,6 @@
|
||||
<stayAfterDeath>true</stayAfterDeath>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<passiveConditions>
|
||||
<condition name="CheckLevel">
|
||||
<minLevel>1</minLevel>
|
||||
<maxLevel>85</maxLevel>
|
||||
<affectType>CASTER</affectType>
|
||||
</condition>
|
||||
</passiveConditions>
|
||||
<effects>
|
||||
<effect name="ExpModify">
|
||||
<amount>30</amount>
|
||||
|
@@ -796,13 +796,6 @@
|
||||
<magicCriticalRate>5</magicCriticalRate>
|
||||
<magicLevel>1</magicLevel>
|
||||
<stayAfterDeath>true</stayAfterDeath>
|
||||
<passiveConditions>
|
||||
<condition name="CheckLevel">
|
||||
<minLevel>1</minLevel>
|
||||
<maxLevel>85</maxLevel>
|
||||
<affectType>CASTER</affectType>
|
||||
</condition>
|
||||
</passiveConditions>
|
||||
<effects>
|
||||
<effect name="ExpModify">
|
||||
<amount>20</amount>
|
||||
@@ -1191,13 +1184,6 @@
|
||||
<isMagic>4</isMagic>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<passiveConditions>
|
||||
<condition name="CheckLevel">
|
||||
<minLevel>1</minLevel>
|
||||
<maxLevel>85</maxLevel>
|
||||
<affectType>CASTER</affectType>
|
||||
</condition>
|
||||
</passiveConditions>
|
||||
<effects>
|
||||
<effect name="MaxHp">
|
||||
<amount>5</amount>
|
||||
|
@@ -137,13 +137,6 @@
|
||||
<stayAfterDeath>true</stayAfterDeath>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<passiveConditions>
|
||||
<condition name="CheckLevel">
|
||||
<minLevel>1</minLevel>
|
||||
<maxLevel>85</maxLevel>
|
||||
<affectType>CASTER</affectType>
|
||||
</condition>
|
||||
</passiveConditions>
|
||||
<effects>
|
||||
<effect name="ExpModify">
|
||||
<amount>50</amount>
|
||||
@@ -667,13 +660,6 @@
|
||||
<stayAfterDeath>true</stayAfterDeath>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<passiveConditions>
|
||||
<condition name="CheckLevel">
|
||||
<minLevel>1</minLevel>
|
||||
<maxLevel>85</maxLevel>
|
||||
<affectType>CASTER</affectType>
|
||||
</condition>
|
||||
</passiveConditions>
|
||||
<effects>
|
||||
<effect name="ExpModify">
|
||||
<amount>30</amount>
|
||||
@@ -1310,8 +1296,6 @@
|
||||
<passiveConditions>
|
||||
<condition name="CheckLevel">
|
||||
<minLevel>20</minLevel>
|
||||
<maxLevel>85</maxLevel>
|
||||
<affectType>CASTER</affectType>
|
||||
</condition>
|
||||
</passiveConditions>
|
||||
<effects>
|
||||
|
@@ -1075,8 +1075,6 @@
|
||||
<passiveConditions>
|
||||
<condition name="CheckLevel">
|
||||
<minLevel>20</minLevel>
|
||||
<maxLevel>85</maxLevel>
|
||||
<affectType>CASTER</affectType>
|
||||
</condition>
|
||||
</passiveConditions>
|
||||
<effects>
|
||||
|
@@ -20,13 +20,6 @@
|
||||
<stayAfterDeath>true</stayAfterDeath>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<passiveConditions>
|
||||
<condition name="CheckLevel">
|
||||
<minLevel>1</minLevel>
|
||||
<maxLevel>85</maxLevel>
|
||||
<affectType>CASTER</affectType>
|
||||
</condition>
|
||||
</passiveConditions>
|
||||
<effects>
|
||||
<effect name="ExpModify">
|
||||
<amount>
|
||||
@@ -591,13 +584,6 @@
|
||||
<stayAfterDeath>true</stayAfterDeath>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<passiveConditions>
|
||||
<condition name="CheckLevel">
|
||||
<minLevel>1</minLevel>
|
||||
<maxLevel>85</maxLevel>
|
||||
<affectType>CASTER</affectType>
|
||||
</condition>
|
||||
</passiveConditions>
|
||||
<effects>
|
||||
<effect name="ExpModify">
|
||||
<amount>20</amount>
|
||||
@@ -614,13 +600,6 @@
|
||||
<magicCriticalRate>5</magicCriticalRate>
|
||||
<magicLevel>1</magicLevel>
|
||||
<stayAfterDeath>true</stayAfterDeath>
|
||||
<passiveConditions>
|
||||
<condition name="CheckLevel">
|
||||
<minLevel>1</minLevel>
|
||||
<maxLevel>85</maxLevel>
|
||||
<affectType>CASTER</affectType>
|
||||
</condition>
|
||||
</passiveConditions>
|
||||
<effects>
|
||||
<effect name="ExpModify">
|
||||
<amount>10</amount>
|
||||
@@ -1180,13 +1159,6 @@
|
||||
<stayAfterDeath>true</stayAfterDeath>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<passiveConditions>
|
||||
<condition name="CheckLevel">
|
||||
<minLevel>1</minLevel>
|
||||
<maxLevel>85</maxLevel>
|
||||
<affectType>CASTER</affectType>
|
||||
</condition>
|
||||
</passiveConditions>
|
||||
<effects>
|
||||
<effect name="ExpModify">
|
||||
<amount>30</amount>
|
||||
@@ -1428,13 +1400,6 @@
|
||||
<stayAfterDeath>true</stayAfterDeath>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<passiveConditions>
|
||||
<condition name="CheckLevel">
|
||||
<minLevel>1</minLevel>
|
||||
<maxLevel>85</maxLevel>
|
||||
<affectType>CASTER</affectType>
|
||||
</condition>
|
||||
</passiveConditions>
|
||||
<effects>
|
||||
<effect name="ExpModify">
|
||||
<amount>
|
||||
@@ -1468,13 +1433,6 @@
|
||||
<stayAfterDeath>true</stayAfterDeath>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<passiveConditions>
|
||||
<condition name="CheckLevel">
|
||||
<minLevel>1</minLevel>
|
||||
<maxLevel>85</maxLevel>
|
||||
<affectType>CASTER</affectType>
|
||||
</condition>
|
||||
</passiveConditions>
|
||||
<effects>
|
||||
<effect name="ExpModify">
|
||||
<amount>
|
||||
|
@@ -457,9 +457,7 @@
|
||||
<stayAfterDeath>true</stayAfterDeath>
|
||||
<passiveConditions>
|
||||
<condition name="CheckLevel">
|
||||
<minLevel>1</minLevel>
|
||||
<maxLevel>85</maxLevel>
|
||||
<affectType>CASTER</affectType>
|
||||
</condition>
|
||||
</passiveConditions>
|
||||
<effects>
|
||||
|
Reference in New Issue
Block a user