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 -->
@@ -798,8 +794,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 -->
@@ -828,8 +822,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>99</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill">
<skillId>8907</skillId> <!-- Riding the Pegasus -->
@@ -858,8 +850,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 -->
@@ -888,8 +878,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 -->
@@ -918,8 +906,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>99</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill">
<skillId>8910</skillId> <!-- Riding the 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

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

View File

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

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

@@ -25,8 +25,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 -->
@@ -130,8 +128,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 -->
@@ -159,8 +155,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 -->
@@ -188,8 +182,6 @@
<conditions>
<condition name="CheckLevel">
<minLevel>99</minLevel>
<maxLevel>127</maxLevel>
<affectType>CASTER</affectType>
</condition>
<condition name="OpSkill">
<skillId>19225</skillId> <!-- Summon Battle Potion -->
@@ -220,8 +212,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

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