Match Vip.xml naming with other data files.
This commit is contained in:
@@ -27,10 +27,8 @@ product_name_begin id=2090048 outer_name=[Normal VIP Gain Scroll] description=[]
|
||||
product_name_begin id=2090049 outer_name=[Medium VIP Gain Scroll] description=[] icon=[BranchIcon.Icon.g_bm_vip_potion_i00] icon_panel=[None] mainsubject=[] product_name_end
|
||||
product_name_begin id=2090050 outer_name=[Good VIP Gain Scroll] description=[] icon=[BranchIcon.Icon.g_bm_vip_potion_i00] icon_panel=[None] mainsubject=[] product_name_end
|
||||
product_name_begin id=2090051 outer_name=[Perfect VIP Gain Scroll] description=[] icon=[BranchIcon.Icon.g_bm_vip_potion_i00] icon_panel=[None] mainsubject=[] product_name_end
|
||||
-->
|
||||
|
||||
|
||||
-->
|
||||
|
||||
<vip tier="0" points-required="0" points-lose="0">
|
||||
<bonus/>
|
||||
</vip>
|
@@ -51,7 +51,7 @@ public class VipData implements IXmlReader
|
||||
return;
|
||||
}
|
||||
_vipTiers.clear();
|
||||
parseDatapackFile("data/vip.xml");
|
||||
parseDatapackFile("data/Vip.xml");
|
||||
LOGGER.info(getClass().getSimpleName() + ": Loaded " + _vipTiers.size() + " vips.");
|
||||
}
|
||||
|
||||
@@ -86,7 +86,6 @@ public class VipData implements IXmlReader
|
||||
LOGGER.severe(getClass().getSimpleName() + ": Missing points-required for vip: " + tier + ", skipping");
|
||||
continue;
|
||||
}
|
||||
|
||||
required = Integer.parseInt(att.getNodeValue());
|
||||
|
||||
att = attrs.getNamedItem("points-lose");
|
||||
@@ -95,11 +94,9 @@ public class VipData implements IXmlReader
|
||||
LOGGER.severe(getClass().getSimpleName() + ": Missing points-lose for vip: " + tier + ", skipping");
|
||||
continue;
|
||||
}
|
||||
|
||||
lose = Integer.parseInt(att.getNodeValue());
|
||||
|
||||
final VipInfo vipInfo = new VipInfo(tier, required, lose);
|
||||
|
||||
for (Node c = d.getFirstChild(); c != null; c = c.getNextSibling())
|
||||
{
|
||||
if ("bonus".equalsIgnoreCase(c.getNodeName()))
|
||||
|
Reference in New Issue
Block a user