Fix for null variation options.

Contributed by quangnguyen.
This commit is contained in:
MobiusDev 2018-03-15 18:28:48 +00:00
parent f1b6d63cbe
commit 601b35d6f0
8 changed files with 4944 additions and 98 deletions

View File

@ -5,9 +5,7 @@
<variation mineralId="90012">
<optionGroup weaponType="warrior" order="0">
<optionCategory chance="100.0">
<optionRange from="7294" to="7368" chance="1.37" />
<optionRange from="274" to="286" chance="1.37" />
<optionRange from="40000" to="40004" chance="1.37" />
<optionRange from="40000" to="40072" chance="1.37" />
</optionCategory>
</optionGroup>
<optionGroup weaponType="warrior" order="1">
@ -23,9 +21,7 @@
</optionGroup>
<optionGroup weaponType="mage" order="0">
<optionCategory chance="100.0">
<optionRange from="7294" to="7368" chance="1.37" />
<optionRange from="274" to="286" chance="1.37" />
<optionRange from="40000" to="40004" chance="1.37" />
<optionRange from="40000" to="40072" chance="1.37" />
</optionCategory>
</optionGroup>
<optionGroup weaponType="mage" order="1">
@ -44,9 +40,7 @@
<variation mineralId="90013">
<optionGroup weaponType="warrior" order="0">
<optionCategory chance="100.0">
<optionRange from="7658" to="7732" chance="1.37" />
<optionRange from="40443" to="40510" chance="1.37" />
<optionRange from="40073" to="40077" chance="1.37" />
<optionRange from="40073" to="40145" chance="1.37" />
</optionCategory>
</optionGroup>
<optionGroup weaponType="warrior" order="1">
@ -54,21 +48,15 @@
<optionRange from="15807" to="15823" chance="5.89" />
</optionCategory>
<optionCategory chance="35.0">
<optionRange from="15824" to="15881" chance="0.93" />
<optionRange from="15882" to="15930" chance="0.94" />
<optionRange from="15824" to="15930" chance="0.94" />
</optionCategory>
<optionCategory chance="7.0">
<optionRange from="15931" to="15974" chance="1.85" />
</optionCategory>
<optionCategory chance="3.0">
<optionRange from="15975" to="15984" chance="1.86" />
<optionCategory chance="10.0">
<optionRange from="15931" to="15984" chance="1.85" />
</optionCategory>
</optionGroup>
<optionGroup weaponType="mage" order="0">
<optionCategory chance="100.0">
<optionRange from="7658" to="7732" chance="1.37" />
<optionRange from="40443" to="40510" chance="1.37" />
<optionRange from="40073" to="40077" chance="1.37" />
<optionRange from="40073" to="40145" chance="1.37" />
</optionCategory>
</optionGroup>
<optionGroup weaponType="mage" order="1">
@ -76,14 +64,10 @@
<optionRange from="15807" to="15823" chance="5.89" />
</optionCategory>
<optionCategory chance="35.0">
<optionRange from="15824" to="15881" chance="0.93" />
<optionRange from="15882" to="15930" chance="0.94" />
<optionRange from="15824" to="15930" chance="0.94" />
</optionCategory>
<optionCategory chance="7.0">
<optionRange from="15931" to="15974" chance="1.85" />
</optionCategory>
<optionCategory chance="3.0">
<optionRange from="15975" to="15984" chance="1.86" />
<optionCategory chance="10.0">
<optionRange from="15931" to="15984" chance="1.85" />
</optionCategory>
</optionGroup>
</variation>
@ -91,33 +75,24 @@
<variation mineralId="90014">
<optionGroup weaponType="warrior" order="0">
<optionCategory chance="100.0">
<optionRange from="8022" to="8096" chance="1.37" />
<optionRange from="820" to="832" chance="1.37" />
<optionRange from="40146" to="40150" chance="1.37" />
<optionRange from="50161" to="50166" chance="1.05" />
<optionRange from="40146" to="40218" chance="1.37" />
</optionCategory>
</optionGroup>
<optionGroup weaponType="warrior" order="1">
<optionCategory chance="55.0">
<optionRange from="16163" to="16179" chance="5.88" />
<optionRange from="16163" to="16179" chance="5.89" />
</optionCategory>
<optionCategory chance="35.0">
<optionRange from="16180" to="16237" chance="0.93" />
<optionRange from="16238" to="16286" chance="0.94" />
<optionRange from="16180" to="16286" chance="0.94" />
</optionCategory>
<optionCategory chance="7.0">
<optionRange from="16287" to="16320" chance="1.72" />
</optionCategory>
<optionCategory chance="3.0">
<optionRange from="16321" to="16380" chance="1.73" />
<optionCategory chance="10.0">
<optionRange from="16287" to="16340" chance="1.73" />
<optionRange from="16377" to="16380" chance="1.72" />
</optionCategory>
</optionGroup>
<optionGroup weaponType="mage" order="0">
<optionCategory chance="100.0">
<optionRange from="8022" to="8096" chance="1.37" />
<optionRange from="820" to="832" chance="1.37" />
<optionRange from="40146" to="40150" chance="1.37" />
<optionRange from="50161" to="50166" chance="1.05" />
<optionRange from="40146" to="40218" chance="1.37" />
</optionCategory>
</optionGroup>
<optionGroup weaponType="mage" order="1">
@ -125,14 +100,11 @@
<optionRange from="16163" to="16179" chance="5.88" />
</optionCategory>
<optionCategory chance="35.0">
<optionRange from="16180" to="16237" chance="0.93" />
<optionRange from="16238" to="16286" chance="0.94" />
<optionRange from="16180" to="16286" chance="0.94" />
</optionCategory>
<optionCategory chance="7.0">
<optionRange from="16287" to="16320" chance="1.72" />
</optionCategory>
<optionCategory chance="3.0">
<optionRange from="16321" to="16380" chance="1.73" />
<optionCategory chance="10.0">
<optionRange from="16287" to="16340" chance="1.73" />
<optionRange from="16377" to="16380" chance="1.72" />
</optionCategory>
</optionGroup>
</variation>

View File

@ -0,0 +1,231 @@
<?xml version="1.0" encoding="UTF-8"?>
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../xsd/optionsData.xsd">
<option id="40200" name="o_s_cl_hg">
<effects>
<effect name="MagicCriticalDamage">
<amount>10.91</amount>
<mode>DIFF</mode>
</effect>
<effect name="Accuracy">
<amount>0.2</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40201" name="o_s_cl_hg">
<effects>
<effect name="MagicCriticalDamage">
<amount>10.91</amount>
<mode>DIFF</mode>
</effect>
<effect name="CriticalRate">
<amount>0.2</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40202" name="o_s_cl_hg">
<effects>
<effect name="MagicCriticalDamage">
<amount>10.91</amount>
<mode>DIFF</mode>
</effect>
<effect name="PhysicalEvasion">
<amount>1.0</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40203" name="o_s_cl_hg">
<effects>
<effect name="MagicCriticalDamage">
<amount>10.91</amount>
<mode>DIFF</mode>
</effect>
<effect name="MagicAccuracy">
<amount>1.0</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40204" name="o_s_cl_hg">
<effects>
<effect name="MagicCriticalDamage">
<amount>10.91</amount>
<mode>DIFF</mode>
</effect>
<effect name="MagicCriticalRate">
<amount>11.3</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40205" name="o_s_cl_hg">
<effects>
<effect name="HpRegen">
<amount>0.22</amount>
<mode>DIFF</mode>
</effect>
<effect name="PhysicalEvasion">
<amount>1.0</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40206" name="o_s_cl_hg">
<effects>
<effect name="HpRegen">
<amount>0.22</amount>
<mode>DIFF</mode>
</effect>
<effect name="MagicAccuracy">
<amount>1.0</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40207" name="o_s_cl_hg">
<effects>
<effect name="HpRegen">
<amount>0.22</amount>
<mode>DIFF</mode>
</effect>
<effect name="MagicCriticalRate">
<amount>11.3</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40208" name="o_s_cl_hg">
<effects>
<effect name="MpRegen">
<amount>0.09</amount>
<mode>DIFF</mode>
</effect>
<effect name="PhysicalEvasion">
<amount>1.0</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40209" name="o_s_cl_hg">
<effects>
<effect name="MpRegen">
<amount>0.09</amount>
<mode>DIFF</mode>
</effect>
<effect name="MagicAccuracy">
<amount>1.0</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40210" name="o_s_cl_hg">
<effects>
<effect name="MpRegen">
<amount>0.09</amount>
<mode>DIFF</mode>
</effect>
<effect name="MagicCriticalRate">
<amount>11.3</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40211" name="o_s_cl_hg">
<effects>
<effect name="CpRegen">
<amount>0.22</amount>
<mode>DIFF</mode>
</effect>
<effect name="PhysicalEvasion">
<amount>1.0</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40212" name="o_s_cl_hg">
<effects>
<effect name="CpRegen">
<amount>0.22</amount>
<mode>DIFF</mode>
</effect>
<effect name="MagicAccuracy">
<amount>1.0</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40213" name="o_s_cl_hg">
<effects>
<effect name="CpRegen">
<amount>0.22</amount>
<mode>DIFF</mode>
</effect>
<effect name="MagicCriticalRate">
<amount>11.3</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40214" name="o_s_cl_hg">
<effects>
<effect name="PhysicalEvasion">
<amount>1.1</amount>
<mode>DIFF</mode>
</effect>
<effect name="PhysicalEvasion">
<amount>1.1</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40215" name="o_s_cl_hg">
<effects>
<effect name="PhysicalEvasion">
<amount>1.1</amount>
<mode>DIFF</mode>
</effect>
<effect name="MagicAccuracy">
<amount>1.1</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40216" name="o_s_cl_hg">
<effects>
<effect name="PhysicalEvasion">
<amount>1.1</amount>
<mode>DIFF</mode>
</effect>
<effect name="MagicCriticalRate">
<amount>11.3</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40217" name="o_s_cl_hg">
<effects>
<effect name="Accuracy">
<amount>1.1</amount>
<mode>DIFF</mode>
</effect>
<effect name="MagicCriticalRate">
<amount>11.3</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40218" name="o_s_cl_hg">
<effects>
<effect name="MagicAccuracy">
<amount>1.1</amount>
<mode>DIFF</mode>
</effect>
<effect name="MagicCriticalRate">
<amount>11.3</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
</list>

View File

@ -5,9 +5,7 @@
<variation mineralId="90012">
<optionGroup weaponType="warrior" order="0">
<optionCategory chance="100.0">
<optionRange from="7294" to="7368" chance="1.37" />
<optionRange from="274" to="286" chance="1.37" />
<optionRange from="40000" to="40004" chance="1.37" />
<optionRange from="40000" to="40072" chance="1.37" />
</optionCategory>
</optionGroup>
<optionGroup weaponType="warrior" order="1">
@ -23,9 +21,7 @@
</optionGroup>
<optionGroup weaponType="mage" order="0">
<optionCategory chance="100.0">
<optionRange from="7294" to="7368" chance="1.37" />
<optionRange from="274" to="286" chance="1.37" />
<optionRange from="40000" to="40004" chance="1.37" />
<optionRange from="40000" to="40072" chance="1.37" />
</optionCategory>
</optionGroup>
<optionGroup weaponType="mage" order="1">
@ -44,9 +40,7 @@
<variation mineralId="90013">
<optionGroup weaponType="warrior" order="0">
<optionCategory chance="100.0">
<optionRange from="7658" to="7732" chance="1.37" />
<optionRange from="40443" to="40510" chance="1.37" />
<optionRange from="40073" to="40077" chance="1.37" />
<optionRange from="40073" to="40145" chance="1.37" />
</optionCategory>
</optionGroup>
<optionGroup weaponType="warrior" order="1">
@ -54,21 +48,15 @@
<optionRange from="15807" to="15823" chance="5.89" />
</optionCategory>
<optionCategory chance="35.0">
<optionRange from="15824" to="15881" chance="0.93" />
<optionRange from="15882" to="15930" chance="0.94" />
<optionRange from="15824" to="15930" chance="0.94" />
</optionCategory>
<optionCategory chance="7.0">
<optionRange from="15931" to="15974" chance="1.85" />
</optionCategory>
<optionCategory chance="3.0">
<optionRange from="15975" to="15984" chance="1.86" />
<optionCategory chance="10.0">
<optionRange from="15931" to="15984" chance="1.85" />
</optionCategory>
</optionGroup>
<optionGroup weaponType="mage" order="0">
<optionCategory chance="100.0">
<optionRange from="7658" to="7732" chance="1.37" />
<optionRange from="40443" to="40510" chance="1.37" />
<optionRange from="40073" to="40077" chance="1.37" />
<optionRange from="40073" to="40145" chance="1.37" />
</optionCategory>
</optionGroup>
<optionGroup weaponType="mage" order="1">
@ -76,14 +64,10 @@
<optionRange from="15807" to="15823" chance="5.89" />
</optionCategory>
<optionCategory chance="35.0">
<optionRange from="15824" to="15881" chance="0.93" />
<optionRange from="15882" to="15930" chance="0.94" />
<optionRange from="15824" to="15930" chance="0.94" />
</optionCategory>
<optionCategory chance="7.0">
<optionRange from="15931" to="15974" chance="1.85" />
</optionCategory>
<optionCategory chance="3.0">
<optionRange from="15975" to="15984" chance="1.86" />
<optionCategory chance="10.0">
<optionRange from="15931" to="15984" chance="1.85" />
</optionCategory>
</optionGroup>
</variation>
@ -91,33 +75,24 @@
<variation mineralId="90014">
<optionGroup weaponType="warrior" order="0">
<optionCategory chance="100.0">
<optionRange from="8022" to="8096" chance="1.37" />
<optionRange from="820" to="832" chance="1.37" />
<optionRange from="40146" to="40150" chance="1.37" />
<optionRange from="50161" to="50166" chance="1.05" />
<optionRange from="40146" to="40218" chance="1.37" />
</optionCategory>
</optionGroup>
<optionGroup weaponType="warrior" order="1">
<optionCategory chance="55.0">
<optionRange from="16163" to="16179" chance="5.88" />
<optionRange from="16163" to="16179" chance="5.89" />
</optionCategory>
<optionCategory chance="35.0">
<optionRange from="16180" to="16237" chance="0.93" />
<optionRange from="16238" to="16286" chance="0.94" />
<optionRange from="16180" to="16286" chance="0.94" />
</optionCategory>
<optionCategory chance="7.0">
<optionRange from="16287" to="16320" chance="1.72" />
</optionCategory>
<optionCategory chance="3.0">
<optionRange from="16321" to="16380" chance="1.73" />
<optionCategory chance="10.0">
<optionRange from="16287" to="16340" chance="1.73" />
<optionRange from="16377" to="16380" chance="1.72" />
</optionCategory>
</optionGroup>
<optionGroup weaponType="mage" order="0">
<optionCategory chance="100.0">
<optionRange from="8022" to="8096" chance="1.37" />
<optionRange from="820" to="832" chance="1.37" />
<optionRange from="40146" to="40150" chance="1.37" />
<optionRange from="50161" to="50166" chance="1.05" />
<optionRange from="40146" to="40218" chance="1.37" />
</optionCategory>
</optionGroup>
<optionGroup weaponType="mage" order="1">
@ -125,14 +100,11 @@
<optionRange from="16163" to="16179" chance="5.88" />
</optionCategory>
<optionCategory chance="35.0">
<optionRange from="16180" to="16237" chance="0.93" />
<optionRange from="16238" to="16286" chance="0.94" />
<optionRange from="16180" to="16286" chance="0.94" />
</optionCategory>
<optionCategory chance="7.0">
<optionRange from="16287" to="16320" chance="1.72" />
</optionCategory>
<optionCategory chance="3.0">
<optionRange from="16321" to="16380" chance="1.73" />
<optionCategory chance="10.0">
<optionRange from="16287" to="16340" chance="1.73" />
<optionRange from="16377" to="16380" chance="1.72" />
</optionCategory>
</optionGroup>
</variation>

View File

@ -0,0 +1,231 @@
<?xml version="1.0" encoding="UTF-8"?>
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../xsd/optionsData.xsd">
<option id="40200" name="o_s_cl_hg">
<effects>
<effect name="MagicCriticalDamage">
<amount>10.91</amount>
<mode>DIFF</mode>
</effect>
<effect name="Accuracy">
<amount>0.2</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40201" name="o_s_cl_hg">
<effects>
<effect name="MagicCriticalDamage">
<amount>10.91</amount>
<mode>DIFF</mode>
</effect>
<effect name="CriticalRate">
<amount>0.2</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40202" name="o_s_cl_hg">
<effects>
<effect name="MagicCriticalDamage">
<amount>10.91</amount>
<mode>DIFF</mode>
</effect>
<effect name="PhysicalEvasion">
<amount>1.0</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40203" name="o_s_cl_hg">
<effects>
<effect name="MagicCriticalDamage">
<amount>10.91</amount>
<mode>DIFF</mode>
</effect>
<effect name="MagicAccuracy">
<amount>1.0</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40204" name="o_s_cl_hg">
<effects>
<effect name="MagicCriticalDamage">
<amount>10.91</amount>
<mode>DIFF</mode>
</effect>
<effect name="MagicCriticalRate">
<amount>11.3</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40205" name="o_s_cl_hg">
<effects>
<effect name="HpRegen">
<amount>0.22</amount>
<mode>DIFF</mode>
</effect>
<effect name="PhysicalEvasion">
<amount>1.0</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40206" name="o_s_cl_hg">
<effects>
<effect name="HpRegen">
<amount>0.22</amount>
<mode>DIFF</mode>
</effect>
<effect name="MagicAccuracy">
<amount>1.0</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40207" name="o_s_cl_hg">
<effects>
<effect name="HpRegen">
<amount>0.22</amount>
<mode>DIFF</mode>
</effect>
<effect name="MagicCriticalRate">
<amount>11.3</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40208" name="o_s_cl_hg">
<effects>
<effect name="MpRegen">
<amount>0.09</amount>
<mode>DIFF</mode>
</effect>
<effect name="PhysicalEvasion">
<amount>1.0</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40209" name="o_s_cl_hg">
<effects>
<effect name="MpRegen">
<amount>0.09</amount>
<mode>DIFF</mode>
</effect>
<effect name="MagicAccuracy">
<amount>1.0</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40210" name="o_s_cl_hg">
<effects>
<effect name="MpRegen">
<amount>0.09</amount>
<mode>DIFF</mode>
</effect>
<effect name="MagicCriticalRate">
<amount>11.3</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40211" name="o_s_cl_hg">
<effects>
<effect name="CpRegen">
<amount>0.22</amount>
<mode>DIFF</mode>
</effect>
<effect name="PhysicalEvasion">
<amount>1.0</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40212" name="o_s_cl_hg">
<effects>
<effect name="CpRegen">
<amount>0.22</amount>
<mode>DIFF</mode>
</effect>
<effect name="MagicAccuracy">
<amount>1.0</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40213" name="o_s_cl_hg">
<effects>
<effect name="CpRegen">
<amount>0.22</amount>
<mode>DIFF</mode>
</effect>
<effect name="MagicCriticalRate">
<amount>11.3</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40214" name="o_s_cl_hg">
<effects>
<effect name="PhysicalEvasion">
<amount>1.1</amount>
<mode>DIFF</mode>
</effect>
<effect name="PhysicalEvasion">
<amount>1.1</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40215" name="o_s_cl_hg">
<effects>
<effect name="PhysicalEvasion">
<amount>1.1</amount>
<mode>DIFF</mode>
</effect>
<effect name="MagicAccuracy">
<amount>1.1</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40216" name="o_s_cl_hg">
<effects>
<effect name="PhysicalEvasion">
<amount>1.1</amount>
<mode>DIFF</mode>
</effect>
<effect name="MagicCriticalRate">
<amount>11.3</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40217" name="o_s_cl_hg">
<effects>
<effect name="Accuracy">
<amount>1.1</amount>
<mode>DIFF</mode>
</effect>
<effect name="MagicCriticalRate">
<amount>11.3</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
<option id="40218" name="o_s_cl_hg">
<effects>
<effect name="MagicAccuracy">
<amount>1.1</amount>
<mode>DIFF</mode>
</effect>
<effect name="MagicCriticalRate">
<amount>11.3</amount>
<mode>DIFF</mode>
</effect>
</effects>
</option>
</list>