Clan Limit Shop implementation.

This commit is contained in:
MobiusDevelopment
2021-04-28 21:01:37 +00:00
parent f81e3d62ce
commit 84e9ea8d34
24 changed files with 540 additions and 274 deletions

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<list enabled="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="xsd/LCoinShop.xsd">
<list enabled="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="xsd/LimitShop.xsd">
<!-- Cat 0 -->
<product id="2" category="0">
<ingredient id="91663" count="200" /> <!-- L-Coin -->

View File

@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<list enabled="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="xsd/LimitShop.xsd">
<product id="300" category="100">
<ingredient id="91663" count="8" /> <!-- L-Coin -->
<production id="91641" accountDailyLimit="15" /> <!-- Sayha's Blessing -->
</product>
<product id="400" category="100">
<ingredient id="91663" count="3" /> <!-- L-Coin -->
<production id="91690" accountDailyLimit="200" /> <!-- Special HP Recovery Potion -->
</product>
<product id="500" category="100">
<ingredient id="91663" count="1012" /> <!-- L-Coin -->
<production id="95583" accountDailyLimit="1" /> <!-- Hardin's Notes - Page 1 -->
</product>
<product id="501" category="100">
<ingredient id="91663" count="200" /> <!-- L-Coin -->
<production id="95636" accountDailyLimit="4" /> <!-- Clan Cloak -->
</product>
<product id="502" category="100">
<ingredient id="91663" count="2" /> <!-- L-Coin -->
<production id="95638" accountDailyLimit="10" /> <!-- Scroll: Enchant Clan Equipment -->
</product>
<product id="600" category="100">
<ingredient id="91663" count="3375" /> <!-- L-Coin -->
<production id="95584" accountDailyLimit="1" /> <!-- Hardin's Notes - Page 2 -->
</product>
<product id="601" category="100">
<ingredient id="91663" count="200" /> <!-- L-Coin -->
<production id="95637" accountDailyLimit="4" /> <!-- Clan Circlet -->
</product>
<product id="700" category="100">
<ingredient id="91663" count="5062" /> <!-- L-Coin -->
<production id="95585" accountDailyLimit="1" /> <!-- Hardin's Notes - Page 3 -->
</product>
</list>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<list enabled="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="xsd/LCoinShop.xsd">
<list enabled="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="xsd/LimitShop.xsd">
<product id="1200" category="0">
<ingredient id="92314" count="63" /> <!-- Giran Seal -->
<production id="93801" chance="15" id2="92314" count2="10" accountBuyLimit="20" /> <!-- Package: Sirra's Blade (Sealed) -->

View File

@@ -40,8 +40,9 @@ import org.l2jmobius.gameserver.data.xml.EquipmentUpgradeData;
import org.l2jmobius.gameserver.data.xml.FakePlayerData;
import org.l2jmobius.gameserver.data.xml.FishingData;
import org.l2jmobius.gameserver.data.xml.ItemCrystallizationData;
import org.l2jmobius.gameserver.data.xml.LCoinShopData;
import org.l2jmobius.gameserver.data.xml.LCoinShopSpecialCraftData;
import org.l2jmobius.gameserver.data.xml.LimitShopClanData;
import org.l2jmobius.gameserver.data.xml.LimitShopData;
import org.l2jmobius.gameserver.data.xml.LimitShopCraftData;
import org.l2jmobius.gameserver.data.xml.MultisellData;
import org.l2jmobius.gameserver.data.xml.NpcData;
import org.l2jmobius.gameserver.data.xml.NpcNameLocalisationData;
@@ -285,8 +286,9 @@ public class AdminReload implements IAdminCommandHandler
}
case "limitshop":
{
LCoinShopData.getInstance().load();
LCoinShopSpecialCraftData.getInstance();
LimitShopData.getInstance().load();
LimitShopCraftData.getInstance().load();
LimitShopClanData.getInstance().load();
AdminData.getInstance().broadcastMessageToGMs(activeChar.getName() + ": Reloaded Limit Shop data.");
break;
}

View File

@@ -642,6 +642,7 @@
<set name="is_destroyable" val="false" />
<set name="is_depositable" val="false" />
<set name="is_sellable" val="false" />
<set name="is_stackable" val="true" />
</item>
<item id="95571" name="Enchanted C-grade Armor Coupon" type="EtcItem">
<!-- Can be exchanged for a C-grade armor through the Game Assistant. -->

View File

@@ -5,7 +5,7 @@
<xs:element name="product" maxOccurs="unbounded" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ingredient" maxOccurs="unbounded">
<xs:element name="ingredient" maxOccurs="5">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">