More skill enchant improvements.
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
<chance value="87" type="BLESSED" />
|
||||
</chances>
|
||||
<items>
|
||||
<item id="30297" count="0" type="NORMAL" /> <!-- Superior Giant's Codex -->
|
||||
<item id="30297" count="1" type="NORMAL" /> <!-- Superior Giant's Codex -->
|
||||
<item id="57" count="2540000" type="NORMAL" /> <!-- Adena -->
|
||||
<item id="30298" count="1" type="BLESSED" /> <!-- Superior Giant's Codex - Mastery -->
|
||||
<item id="57" count="2540000" type="BLESSED" /> <!-- Adena -->
|
||||
@@ -51,7 +51,7 @@
|
||||
<chance value="84" type="BLESSED" />
|
||||
</chances>
|
||||
<items>
|
||||
<item id="30297" count="0" type="NORMAL" /> <!-- Superior Giant's Codex -->
|
||||
<item id="30297" count="1" type="NORMAL" /> <!-- Superior Giant's Codex -->
|
||||
<item id="57" count="2720000" type="NORMAL" /> <!-- Adena -->
|
||||
<item id="30298" count="1" type="BLESSED" /> <!-- Superior Giant's Codex - Mastery -->
|
||||
<item id="57" count="2720000" type="BLESSED" /> <!-- Adena -->
|
||||
@@ -71,7 +71,7 @@
|
||||
<chance value="81" type="BLESSED" />
|
||||
</chances>
|
||||
<items>
|
||||
<item id="30297" count="0" type="NORMAL" /> <!-- Superior Giant's Codex -->
|
||||
<item id="30297" count="1" type="NORMAL" /> <!-- Superior Giant's Codex -->
|
||||
<item id="57" count="2890000" type="NORMAL" /> <!-- Adena -->
|
||||
<item id="30298" count="1" type="BLESSED" /> <!-- Superior Giant's Codex - Mastery -->
|
||||
<item id="57" count="2890000" type="BLESSED" /> <!-- Adena -->
|
||||
@@ -91,7 +91,7 @@
|
||||
<chance value="78" type="BLESSED" />
|
||||
</chances>
|
||||
<items>
|
||||
<item id="30297" count="0" type="NORMAL" /> <!-- Superior Giant's Codex -->
|
||||
<item id="30297" count="1" type="NORMAL" /> <!-- Superior Giant's Codex -->
|
||||
<item id="57" count="3030000" type="NORMAL" /> <!-- Adena -->
|
||||
<item id="30298" count="1" type="BLESSED" /> <!-- Superior Giant's Codex - Mastery -->
|
||||
<item id="57" count="3030000" type="BLESSED" /> <!-- Adena -->
|
||||
@@ -111,7 +111,7 @@
|
||||
<chance value="75" type="BLESSED" />
|
||||
</chances>
|
||||
<items>
|
||||
<item id="30297" count="0" type="NORMAL" /> <!-- Superior Giant's Codex -->
|
||||
<item id="30297" count="1" type="NORMAL" /> <!-- Superior Giant's Codex -->
|
||||
<item id="57" count="3290000" type="NORMAL" /> <!-- Adena -->
|
||||
<item id="30298" count="1" type="BLESSED" /> <!-- Superior Giant's Codex - Mastery -->
|
||||
<item id="57" count="3290000" type="BLESSED" /> <!-- Adena -->
|
||||
@@ -131,7 +131,7 @@
|
||||
<chance value="72" type="BLESSED" />
|
||||
</chances>
|
||||
<items>
|
||||
<item id="30297" count="0" type="NORMAL" /> <!-- Superior Giant's Codex -->
|
||||
<item id="30297" count="1" type="NORMAL" /> <!-- Superior Giant's Codex -->
|
||||
<item id="57" count="3670000" type="NORMAL" /> <!-- Adena -->
|
||||
<item id="30298" count="1" type="BLESSED" /> <!-- Superior Giant's Codex - Mastery -->
|
||||
<item id="57" count="3670000" type="BLESSED" /> <!-- Adena -->
|
||||
@@ -151,7 +151,7 @@
|
||||
<chance value="68" type="BLESSED" />
|
||||
</chances>
|
||||
<items>
|
||||
<item id="30297" count="0" type="NORMAL" /> <!-- Superior Giant's Codex -->
|
||||
<item id="30297" count="1" type="NORMAL" /> <!-- Superior Giant's Codex -->
|
||||
<item id="57" count="7470000" type="NORMAL" /> <!-- Adena -->
|
||||
<item id="30298" count="1" type="BLESSED" /> <!-- Superior Giant's Codex - Mastery -->
|
||||
<item id="57" count="7470000" type="BLESSED" /> <!-- Adena -->
|
||||
@@ -171,7 +171,7 @@
|
||||
<chance value="64" type="BLESSED" />
|
||||
</chances>
|
||||
<items>
|
||||
<item id="30297" count="0" type="NORMAL" /> <!-- Superior Giant's Codex -->
|
||||
<item id="30297" count="1" type="NORMAL" /> <!-- Superior Giant's Codex -->
|
||||
<item id="57" count="10400000" type="NORMAL" /> <!-- Adena -->
|
||||
<item id="30298" count="1" type="BLESSED" /> <!-- Superior Giant's Codex - Mastery -->
|
||||
<item id="57" count="10400000" type="BLESSED" /> <!-- Adena -->
|
||||
@@ -191,7 +191,7 @@
|
||||
<chance value="60" type="BLESSED" />
|
||||
</chances>
|
||||
<items>
|
||||
<item id="30297" count="0" type="NORMAL" /> <!-- Superior Giant's Codex -->
|
||||
<item id="30297" count="1" type="NORMAL" /> <!-- Superior Giant's Codex -->
|
||||
<item id="57" count="20700000" type="NORMAL" /> <!-- Adena -->
|
||||
<item id="30298" count="1" type="BLESSED" /> <!-- Superior Giant's Codex - Mastery -->
|
||||
<item id="57" count="20700000" type="BLESSED" /> <!-- Adena -->
|
||||
|
@@ -24,30 +24,11 @@ public class SkillEnchantConverter
|
||||
{
|
||||
public static int levelToErtheia(int enchantLevel)
|
||||
{
|
||||
final String original = "" + enchantLevel;
|
||||
String output = "";
|
||||
for (int i = 0; i < original.length(); i++)
|
||||
{
|
||||
if (i != 1) // skip extra digit
|
||||
{
|
||||
output += original.charAt(i);
|
||||
}
|
||||
}
|
||||
return Integer.valueOf(output);
|
||||
return ((enchantLevel % 1000) + ((enchantLevel / 1000) * 100));
|
||||
}
|
||||
|
||||
public static int levelToUnderground(int enchantLevel)
|
||||
{
|
||||
final String original = "" + enchantLevel;
|
||||
String output = "";
|
||||
for (int i = 0; i < original.length(); i++)
|
||||
{
|
||||
output += original.charAt(i);
|
||||
if (i == 0) // add extra digit
|
||||
{
|
||||
output += "0";
|
||||
}
|
||||
}
|
||||
return Integer.valueOf(output);
|
||||
return ((enchantLevel % 100) + ((enchantLevel / 100) * 1000));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user