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

@@ -1344,8 +1344,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

@@ -571,8 +571,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>95</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpCanNotUseAirship" />
<condition name="OpCheckClassList">
@@ -782,8 +780,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 -->
@@ -813,8 +809,6 @@
<condition name="OpMainjob" />
<condition name="CheckLevel">
<minLevel>99</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill">
<skillId>8906</skillId> <!-- Riding the Hell Hound -->
@@ -843,8 +837,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>99</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill">
<skillId>8907</skillId> <!-- Riding the Pegasus -->
@@ -873,8 +865,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>99</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill">
<skillId>8908</skillId> <!-- Riding the Wing Hound -->
@@ -903,8 +893,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>99</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill">
<skillId>8909</skillId> <!-- Riding the War Horse -->
@@ -933,8 +921,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>99</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill">
<skillId>8910</skillId> <!-- Mount Griffin -->

View File

@@ -291,8 +291,6 @@
</condition>
<condition name="CheckLevel">
<minLevel>40</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
</conditions>
<effects>
@@ -379,8 +377,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>52</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill">
<skillId>1405</skillId> <!-- Divine Inspiration -->
@@ -408,8 +404,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>61</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill">
<skillId>1405</skillId> <!-- Divine Inspiration -->
@@ -437,8 +431,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>76</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill">
<skillId>1405</skillId> <!-- Divine Inspiration -->
@@ -466,8 +458,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>
@@ -2084,9 +2074,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

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

View File

@@ -455,8 +455,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

@@ -666,8 +666,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

@@ -26,8 +26,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>99</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill" fromLevel="1" toLevel="1">
<skillId>19222</skillId> <!-- Dignity of the Exalted -->
@@ -150,8 +148,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 -->
@@ -179,8 +175,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 -->
@@ -208,8 +202,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>99</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill">
<skillId>19225</skillId> <!-- Summon Battle Potion -->
@@ -240,8 +232,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

@@ -2241,8 +2241,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>99</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill">
<skillId>19290</skillId> <!-- Vitality 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

@@ -4324,8 +4324,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 -->

View File

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

View File

@@ -678,8 +678,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>105</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill">
<skillId>30820</skillId> <!-- Dual Class - Renewed Energy of Power -->
@@ -779,7 +777,6 @@
<condition name="CheckLevel">
<minLevel>100</minLevel>
<maxLevel>120</maxLevel>
<affectType>CASTER</affectType>
</condition>
</conditions>
<effects>
@@ -803,7 +800,6 @@
<condition name="CheckLevel">
<minLevel>105</minLevel>
<maxLevel>120</maxLevel>
<affectType>CASTER</affectType>
</condition>
</conditions>
<effects>
@@ -828,7 +824,6 @@
<condition name="CheckLevel">
<minLevel>107</minLevel>
<maxLevel>120</maxLevel>
<affectType>CASTER</affectType>
</condition>
</conditions>
<effects>

View File

@@ -178,7 +178,6 @@
<condition name="CheckLevel">
<minLevel>99</minLevel>
<maxLevel>105</maxLevel>
<affectType>CASTER</affectType>
</condition>
</conditions>
<effects>
@@ -625,7 +624,6 @@
<condition name="CheckLevel">
<minLevel>110</minLevel>
<maxLevel>120</maxLevel>
<affectType>CASTER</affectType>
</condition>
</conditions>
<effects>