Addition of default values for CheckLevel skill condition.

This commit is contained in:
MobiusDevelopment
2021-02-02 00:47:13 +00:00
parent 99141bc80a
commit 5c4787386a
256 changed files with 61 additions and 1707 deletions

View File

@@ -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

View File

@@ -1342,8 +1342,6 @@
<passiveConditions>
<condition name="CheckLevel">
<minLevel>81</minLevel>
<maxLevel>85</maxLevel>
<affectType>CASTER</affectType>
</condition>
</passiveConditions>
<effects>

View File

@@ -133,8 +133,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>76</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
</conditions>
<effects>
@@ -158,8 +156,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>61</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
</conditions>
<effects>
@@ -2817,8 +2813,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>52</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
</conditions>
<effects>

View File

@@ -38,8 +38,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>52</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
</conditions>
<effects>
@@ -62,8 +60,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>52</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
</conditions>
<effects>

View File

@@ -3585,8 +3585,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>75</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill">
<skillId>841</skillId> <!-- Aura Bird - Falcon -->
@@ -3614,8 +3612,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>75</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill">
<skillId>842</skillId> <!-- Aura Bird - Owl -->

View File

@@ -1443,8 +1443,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>75</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill">
<skillId>932</skillId> <!-- Star Stone Gathering -->

View File

@@ -569,8 +569,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>95</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpCanNotUseAirship" />
<condition name="OpCheckClassList">
@@ -767,8 +765,6 @@
<condition name="OpMainjob" />
<condition name="CheckLevel">
<minLevel>99</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill">
<skillId>19115</skillId> <!-- Air Bike -->

View File

@@ -287,8 +287,6 @@
</condition>
<condition name="CheckLevel">
<minLevel>40</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
</conditions>
<effects>
@@ -375,8 +373,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>52</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill">
<skillId>1405</skillId> <!-- Divine Inspiration -->
@@ -404,8 +400,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>61</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill">
<skillId>1405</skillId> <!-- Divine Inspiration -->
@@ -433,8 +427,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>76</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill">
<skillId>1405</skillId> <!-- Divine Inspiration -->
@@ -462,8 +454,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>76</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill">
<skillId>1405</skillId> <!-- Divine Inspiration -->

View File

@@ -37,8 +37,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>85</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpMainjob" />
</conditions>
@@ -63,8 +61,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>90</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpMainjob" />
</conditions>
@@ -89,8 +85,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>95</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpMainjob" />
</conditions>
@@ -115,8 +109,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>60</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpMainjob" />
</conditions>
@@ -141,8 +133,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>76</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpMainjob" />
</conditions>
@@ -2119,9 +2109,7 @@
<affectScope>SINGLE</affectScope>
<conditions>
<condition name="CheckLevel">
<minLevel>1</minLevel>
<maxLevel>90</maxLevel>
<affectType>CASTER</affectType>
<maxLevel>89</maxLevel>
</condition>
<condition name="OpCheckAbnormal">
<type>INSTANT_EV_BUFF1</type>

View File

@@ -1805,8 +1805,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>85</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpMainjob" />
</conditions>
@@ -1840,8 +1838,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>76</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpAlignment">
<affectType>CASTER</affectType>

View File

@@ -428,8 +428,6 @@
<condition name="OpMainjob" />
<condition name="CheckLevel">
<minLevel>99</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill">
<skillId>19116</skillId> <!-- Summon Lyn Draco -->

View File

@@ -660,8 +660,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>99</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill">
<skillId>19229</skillId> <!-- Fate of the Exalted -->

View File

@@ -19,8 +19,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>99</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill">
<skillId>19222</skillId> <!-- Dignity of the Exalted -->
@@ -50,8 +48,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>99</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill">
<skillId>19222</skillId> <!-- Dignity of the Exalted -->
@@ -80,8 +76,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>99</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill">
<skillId>19222</skillId> <!-- Dignity of the Exalted -->
@@ -109,8 +103,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>99</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill">
<skillId>19223</skillId> <!-- Belief of the Exalted -->
@@ -138,8 +130,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>99</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill">
<skillId>19224</skillId> <!-- Blessing of the Exalted -->
@@ -167,8 +157,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>99</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill">
<skillId>19225</skillId> <!-- Summon Battle Potion -->
@@ -199,8 +187,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>99</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill">
<skillId>19226</skillId> <!-- Favor of the Exalted -->

View File

@@ -498,9 +498,7 @@
<affectScope>SINGLE</affectScope>
<conditions>
<condition name="CheckLevel">
<minLevel>1</minLevel>
<maxLevel>84</maxLevel>
<affectType>CASTER</affectType>
</condition>
</conditions>
</skill>
@@ -524,8 +522,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>85</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
</conditions>
</skill>

View File

@@ -182,8 +182,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>85</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
</conditions>
<effects>
@@ -205,8 +203,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>85</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
</conditions>
<effects>
@@ -228,8 +224,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>85</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
</conditions>
<effects>

View File

@@ -37,8 +37,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>95</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpAlignment">
<affectType>CASTER</affectType>

View File

@@ -4279,8 +4279,6 @@
<condition name="OpMainjob" />
<condition name="CheckLevel">
<minLevel>99</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill">
<skillId>27596</skillId> <!-- Riding Wolf -->