Game Assistant enchants.
Contributed by manax182.
This commit is contained in:
parent
b9eb5b2d83
commit
050bc685b2
56
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/multisell/3247839.xml
vendored
Normal file
56
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/multisell/3247839.xml
vendored
Normal file
@ -0,0 +1,56 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<list isChanceMultisell="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
|
||||
<npcs>
|
||||
<npc>-1</npc> <!-- Dimensional Merchant / Everywhere -->
|
||||
</npcs>
|
||||
<!-- Enchant Rare Accesories -->
|
||||
<item>
|
||||
<ingredient id="6660" count="1" /> <!-- Queen Ant's Ring -->
|
||||
<ingredient id="57" count="5000000" /> <!-- Adena -->
|
||||
<production id="6660" count="1" chance="0" /> <!-- Queen Ant's Ring -->
|
||||
<production id="94383" count="1" chance="50" /> <!-- Scroll: Enchant Rare Accessories -->
|
||||
<production id="94184" count="1" chance="50" /> <!-- Scroll of Blessing -->
|
||||
</item>
|
||||
<item>
|
||||
<ingredient id="6661" count="1" /> <!-- Orfens Earring -->
|
||||
<ingredient id="57" count="5000000" /> <!-- Adena -->
|
||||
<production id="6661" count="1" chance="0" /> <!-- Orfen's Earring -->
|
||||
<production id="94383" count="1" chance="50" /> <!-- Scroll: Enchant Rare Accessories -->
|
||||
<production id="94184" count="1" chance="50" /> <!-- Scroll of Blessing -->
|
||||
</item>
|
||||
<item>
|
||||
<ingredient id="6662" count="1" /> <!-- Ring of Core -->
|
||||
<ingredient id="57" count="2000000" /> <!-- Adena -->
|
||||
<production id="6662" count="1" chance="0" /> <!-- Ring of Core -->
|
||||
<production id="94383" count="1" chance="20" /> <!-- Scroll: Enchant Rare Accessories -->
|
||||
<production id="94184" count="1" chance="80" /> <!-- Scroll of Blessing -->
|
||||
</item>
|
||||
<item>
|
||||
<ingredient id="49580" count="1" /> <!-- Baium's Ring -->
|
||||
<ingredient id="57" count="7500000" /> <!-- Adena -->
|
||||
<production id="49580" count="1" chance="0" /> <!-- Baium's Ring -->
|
||||
<production id="94383" count="1" chance="77" /> <!-- Scroll: Enchant Rare Accessories -->
|
||||
<production id="94385" count="1" chance="23" /> <!-- Improved Scroll: Enchant Rare Accessories -->
|
||||
</item>
|
||||
<item>
|
||||
<ingredient id="90763" count="1" /> <!-- Zaken's Earring -->
|
||||
<ingredient id="57" count="75000000" /> <!-- Adena -->
|
||||
<production id="90763" count="1" chance="0" /> <!-- Zaken's Earring -->
|
||||
<production id="94383" count="1" chance="80" /> <!-- Scroll: Enchant Rare Accessories -->
|
||||
<production id="94184" count="1" chance="20" /> <!-- Scroll of Blessing -->
|
||||
</item>
|
||||
<item>
|
||||
<ingredient id="90992" count="1" /> <!-- Antharas' Earring -->
|
||||
<ingredient id="57" count="10000000" /> <!-- Adena -->
|
||||
<production id="90992" count="1" chance="0" /> <!-- Antharas' Earring -->
|
||||
<production id="94383" count="1" chance="60" /> <!-- Scroll: Enchant Rare Accessories -->
|
||||
<production id="94385" count="1" chance="40" /> <!-- Improved Scroll: Enchant Rare Accessories -->
|
||||
</item>
|
||||
<item>
|
||||
<ingredient id="91550" count="1" /> <!-- Frintezza's Necklace -->
|
||||
<ingredient id="57" count="10000000" /> <!-- Adena -->
|
||||
<production id="91550" count="1" chance="0" /> <!-- Frintezza's Necklace -->
|
||||
<production id="94383" count="1" chance="60" /> <!-- Scroll: Enchant Rare Accessories -->
|
||||
<production id="94385" count="1" chance="40" /> <!-- Improved Scroll: Enchant Rare Accessories -->
|
||||
</item>
|
||||
</list>
|
@ -97,6 +97,7 @@ public class GameAssistant extends AbstractNpcAI
|
||||
private static final int EX_PENDANT = 3247836;
|
||||
private static final int EX_BUFF_SCROLL = 3247837;
|
||||
private static final int EX_SOULSHOT = 3247838;
|
||||
private static final int EX_ENCHANTS = 3247839;
|
||||
// Others
|
||||
private static final String COMMAND_BYPASS = "Quest GameAssistant ";
|
||||
|
||||
@ -261,6 +262,11 @@ public class GameAssistant extends AbstractNpcAI
|
||||
player.sendPacket(new ExPremiumManagerShowHtml(HtmCache.getInstance().getHtm(player, "data/scripts/ai/others/GameAssistant/soulshots.html")));
|
||||
break;
|
||||
}
|
||||
case "Chat_Enchants":
|
||||
{
|
||||
player.sendPacket(new ExPremiumManagerShowHtml(HtmCache.getInstance().getHtm(player, "data/scripts/ai/others/GameAssistant/enchants.html")));
|
||||
break;
|
||||
}
|
||||
// Actions
|
||||
case "removeAug":
|
||||
{
|
||||
@ -470,6 +476,11 @@ public class GameAssistant extends AbstractNpcAI
|
||||
MultisellData.getInstance().separateAndSend(EX_SOULSHOT, player, null, false);
|
||||
break;
|
||||
}
|
||||
case "Ex_Enchants":
|
||||
{
|
||||
MultisellData.getInstance().separateAndSend(EX_ENCHANTS, player, null, false);
|
||||
break;
|
||||
}
|
||||
case "exc_black_sayha_cloak":
|
||||
{
|
||||
final long itemCount = getQuestItemsCount(player, SAYHA_CLOAK_COUPON);
|
||||
|
49
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/others/GameAssistant/enchants.html
vendored
Normal file
49
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/ai/others/GameAssistant/enchants.html
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
<html>
|
||||
<head>
|
||||
<body scroll="no">
|
||||
<table border=0 cellpadding=0 cellspacing=0 width=292 height=493
|
||||
background="L2UI_CH3.refinewnd_back_Pattern">
|
||||
<tr>
|
||||
<td height=25></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" align="center">
|
||||
<table border=0 cellpadding=0 cellspacing=0 width="250">
|
||||
<tr>
|
||||
<td align="center" height="30"><br>
|
||||
<font color="af9878">Enchant Scrolls are used to improve items stats.</font></td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<table border=0 cellpadding=0 cellspacing=0 width="200">
|
||||
<tr>
|
||||
<td height="5"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" height="15">Exchange Enchant Scroll you need according to your item grade.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="20"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table border=0 cellpadding=0 cellspacing=0 width="250">
|
||||
<tr>
|
||||
<td align="left" height="30"><br>
|
||||
<font color="af9878">Get Enchant Scrolls</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="10"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table border=0 cellpadding=0 cellspacing=0 width="270">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<button action="bypass -h Quest GameAssistant Ex_Enchants" value="Get Enchant Scrolls" width="135" height="31" back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></Button>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
@ -79,6 +79,14 @@
|
||||
<tr>
|
||||
<td height="10"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<button action="bypass -h Quest GameAssistant Ex_Enchants" value="Enchants" width="230" height="29" back="L2UI_NewTex.Button.Button29_Down" fore="L2UI_NewTex.Button.Button29_DF">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="10"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="50"></td>
|
||||
</tr>
|
||||
|
Loading…
Reference in New Issue
Block a user