Skip to content
Snippets Groups Projects
Commit 0958bf87 authored by MELERIX's avatar MELERIX
Browse files

BETA/STABLE: Retail Like '''"Shadow Weapons Buy System"''' by Adry_85.

parent 9f24e786
No related branches found
No related tags found
No related merge requests found
<html><body><br>
A Shadow Weapon is a special weapon made in cooperation between the Ivory Tower and the Black Anvil Guild following the signing of the Giran Treaty. It is created by magically projecting the power of a weapon onto another catalytic object. <font color="LEVEL">It can only be used while magical charges remain</font>. Because of that, it can be purchased at a significantly lower price than the original weapon.<br>
Also, its performance is no different than if you used the original weapon, except that it <font color="LEVEL">cannot possess the special abilities such as absorbing souls or be augmented through a Stone of Life</font>.<br>
The weapon can only act as a true weapon when a proper adventurer holds it. In other words, <font color="LEVEL">if it is not equipped, its magic charge is not consumed. When its magic is fully depleted, the object turns to dust</font>. To preserve the weapon for as long as possible, you should only use it when absolutely necessary. Projectile weapons will not be sold to unqualified users, so be careful to purchase only what is appropriate for your level.<br>
Additionally, it cannot be sold, since it is impossible for anyone but the weapon's owner to determine how much magic power is left in it. The weapons are difficult to price as a result, so don't forget that <font color="LEVEL">no store will purchase this Shadow Weapon</font>.<br>
Would you like to purchase a Shadow Weapon?<br>
<a action="bypass -h npc_%objectId%_multisell 319463003">Purchase a Shadow Weapon.</a>
</body></html>
\ No newline at end of file
<html><body><br>
A Shadow Weapon is a special weapon made in cooperation between the Ivory Tower and the Black Anvil Guild following the signing of the Giran Treaty. It is created by magically projecting the power of a weapon onto another catalytic object. <font color="LEVEL">It can only be used while magical charges remain</font>. Because of that, it can be purchased at a significantly lower price than the original weapon.<br>
Also, its performance is no different than if you used the original weapon, except that it <font color="LEVEL">cannot possess the special abilities such as absorbing souls or be augmented through a Stone of Life</font>.<br>
The weapon can only act as a true weapon when a proper adventurer holds it. In other words, <font color="LEVEL">if it is not equipped, its magic charge is not consumed. When its magic is fully depleted, the object turns to dust</font>. To preserve the weapon for as long as possible, you should only use it when absolutely necessary. Projectile weapons will not be sold to unqualified users, so be careful to purchase only what is appropriate for your level.<br>
Additionally, it cannot be sold, since it is impossible for anyone but the weapon's owner to determine how much magic power is left in it. The weapons are difficult to price as a result, so don't forget that <font color="LEVEL">no store will purchase this Shadow Weapon</font>.<br>
Would you like to purchase a Shadow Weapon?<br>
<a action="bypass -h npc_%objectId%_multisell 319463002">Purchase a Shadow Weapon.</a>
</body></html>
\ No newline at end of file
......@@ -72,172 +72,4 @@
<!-- Shadow Item: Knuckle Duster -->
<production count="1" id="8838" />
</item>
<item id="10">
<!-- Adena -->
<ingredient count="84500" id="57" />
<!-- Adena -->
<ingredient count="84500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Sword of Delusion -->
<production count="1" id="8839" />
</item>
<item id="11">
<!-- Adena -->
<ingredient count="84500" id="57" />
<!-- Adena -->
<ingredient count="84500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Poleaxe -->
<production count="1" id="8840" />
</item>
<item id="12">
<!-- Adena -->
<ingredient count="84500" id="57" />
<!-- Adena -->
<ingredient count="84500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Stick of Eternity -->
<production count="1" id="8841" />
</item>
<item id="13">
<!-- Adena -->
<ingredient count="84500" id="57" />
<!-- Adena -->
<ingredient count="84500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Inferno Staff -->
<production count="1" id="8842" />
</item>
<item id="14">
<!-- Adena -->
<ingredient count="84500" id="57" />
<!-- Adena -->
<ingredient count="84500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Pa'agrian Hammer -->
<production count="1" id="8843" />
</item>
<item id="15">
<!-- Adena -->
<ingredient count="84500" id="57" />
<!-- Adena -->
<ingredient count="84500" id="57" isTaxIngredient="true" />
<!-- Shadow Item - War Axe -->
<production count="1" id="10125" />
</item>
<item id="16">
<!-- Adena -->
<ingredient count="84500" id="57" />
<!-- Adena -->
<ingredient count="84500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Dark Screamer -->
<production count="1" id="8844" />
</item>
<item id="17">
<!-- Adena -->
<ingredient count="84500" id="57" />
<!-- Adena -->
<ingredient count="84500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Akat Long Bow -->
<production count="1" id="8845" />
</item>
<item id="18">
<!-- Adena -->
<ingredient count="84500" id="57" />
<!-- Adena -->
<ingredient count="84500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Pa'agrian Sword -->
<production count="1" id="8846" />
</item>
<item id="19">
<!-- Adena -->
<ingredient count="84500" id="57" />
<!-- Adena -->
<ingredient count="84500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Fisted Blade -->
<production count="1" id="8847" />
</item>
<item id="20">
<!-- Adena -->
<ingredient count="102235" id="57" />
<!-- Adena -->
<ingredient count="102235" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Stormbringer -->
<production count="1" id="8848" />
</item>
<item id="21">
<!-- Adena -->
<ingredient count="93500" id="57" />
<!-- Adena -->
<ingredient count="93500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Great Sword -->
<production count="1" id="8849" />
</item>
<item id="22">
<!-- Adena -->
<ingredient count="93500" id="57" />
<!-- Adena -->
<ingredient count="93500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Heavy War Axe -->
<production count="1" id="8850" />
</item>
<item id="23">
<!-- Adena -->
<ingredient count="93500" id="57" />
<!-- Adena -->
<ingredient count="93500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Sprite's Staff -->
<production count="1" id="8851" />
</item>
<item id="24">
<!-- Adena -->
<ingredient count="93500" id="57" />
<!-- Adena -->
<ingredient count="93500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Keshanberk -->
<production count="1" id="8852" />
</item>
<item id="25">
<!-- Adena -->
<ingredient count="93500" id="57" />
<!-- Adena -->
<ingredient count="93500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Sword of Valhalla -->
<production count="1" id="8853" />
</item>
<item id="26">
<!-- Adena -->
<ingredient count="93500" id="57" />
<!-- Adena -->
<ingredient count="93500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Kris -->
<production count="1" id="8854" />
</item>
<item id="27">
<!-- Adena -->
<ingredient count="93500" id="57" />
<!-- Adena -->
<ingredient count="93500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Arthro Nail -->
<production count="1" id="8855" />
</item>
<item id="28">
<!-- Adena -->
<ingredient count="93500" id="57" />
<!-- Adena -->
<ingredient count="93500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Dark Elven Long Bow -->
<production count="1" id="8856" />
</item>
<item id="29">
<!-- Adena -->
<ingredient count="93500" id="57" />
<!-- Adena -->
<ingredient count="93500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Swords of Delusion -->
<production count="1" id="8857" />
</item>
<item id="30">
<!-- Adena -->
<ingredient count="93500" id="57" />
<!-- Adena -->
<ingredient count="93500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Great Axe -->
<production count="1" id="8858" />
</item>
</list>
</list>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<list applyTaxes="true" xmlns:ns0="http://www.w3.org/2001/XMLSchema-instance" ns0:noNamespaceSchemaLocation="multisell.xsd">
<item id="1">
<!-- Adena -->
<ingredient count="87600" id="57" />
<!-- Adena -->
<ingredient count="87600" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Katana -->
<production count="1" id="8830" />
</item>
<item id="2">
<!-- Adena -->
<ingredient count="87600" id="57" />
<!-- Adena -->
<ingredient count="87600" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Bec de Corbin -->
<production count="1" id="8831" />
</item>
<item id="3">
<!-- Adena -->
<ingredient count="87600" id="57" />
<!-- Adena -->
<ingredient count="87600" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Cursed Staff -->
<production count="1" id="8832" />
</item>
<item id="4">
<!-- Adena -->
<ingredient count="87600" id="57" />
<!-- Adena -->
<ingredient count="87600" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Stiletto -->
<production count="1" id="8833" />
</item>
<item id="5">
<!-- Adena -->
<ingredient count="87600" id="57" />
<!-- Adena -->
<ingredient count="87600" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Soulfire Dirk -->
<production count="1" id="8834" />
</item>
<item id="6">
<!-- Adena -->
<ingredient count="87600" id="57" />
<!-- Adena -->
<ingredient count="87600" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Elemental Bow -->
<production count="1" id="8835" />
</item>
<item id="7">
<!-- Adena -->
<ingredient count="87600" id="57" />
<!-- Adena -->
<ingredient count="87600" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Dwarven War Hammer -->
<production count="1" id="8836" />
</item>
<item id="8">
<!-- Adena -->
<ingredient count="87600" id="57" />
<!-- Adena -->
<ingredient count="87600" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Sword of Revolution -->
<production count="1" id="8837" />
</item>
<item id="9">
<!-- Adena -->
<ingredient count="87600" id="57" />
<!-- Adena -->
<ingredient count="87600" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Knuckle Duster -->
<production count="1" id="8838" />
</item>
<item id="10">
<!-- Adena -->
<ingredient count="84500" id="57" />
<!-- Adena -->
<ingredient count="84500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Sword of Delusion -->
<production count="1" id="8839" />
</item>
<item id="11">
<!-- Adena -->
<ingredient count="84500" id="57" />
<!-- Adena -->
<ingredient count="84500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Poleaxe -->
<production count="1" id="8840" />
</item>
<item id="12">
<!-- Adena -->
<ingredient count="84500" id="57" />
<!-- Adena -->
<ingredient count="84500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Stick of Eternity -->
<production count="1" id="8841" />
</item>
<item id="13">
<!-- Adena -->
<ingredient count="84500" id="57" />
<!-- Adena -->
<ingredient count="84500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Inferno Staff -->
<production count="1" id="8842" />
</item>
<item id="14">
<!-- Adena -->
<ingredient count="84500" id="57" />
<!-- Adena -->
<ingredient count="84500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Pa'agrian Hammer -->
<production count="1" id="8843" />
</item>
<item id="15">
<!-- Adena -->
<ingredient count="84500" id="57" />
<!-- Adena -->
<ingredient count="84500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Dark Screamer -->
<production count="1" id="8844" />
</item>
<item id="16">
<!-- Adena -->
<ingredient count="84500" id="57" />
<!-- Adena -->
<ingredient count="84500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Akat Long Bow -->
<production count="1" id="8845" />
</item>
<item id="17">
<!-- Adena -->
<ingredient count="84500" id="57" />
<!-- Adena -->
<ingredient count="84500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Pa'agrian Sword -->
<production count="1" id="8846" />
</item>
<item id="18">
<!-- Adena -->
<ingredient count="84500" id="57" />
<!-- Adena -->
<ingredient count="84500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Fisted Blade -->
<production count="1" id="8847" />
</item>
<item id="19">
<!-- Adena -->
<ingredient count="84500" id="57" />
<!-- Adena -->
<ingredient count="84500" id="57" isTaxIngredient="true" />
<!-- Shadow Item - War Axe -->
<production count="1" id="10125" />
</item>
<item id="20">
<!-- Adena -->
<ingredient count="88900" id="57" />
<!-- Adena -->
<ingredient count="88900" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Stormbringer -->
<production count="1" id="8848" />
</item>
</list>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<list applyTaxes="true" xmlns:ns0="http://www.w3.org/2001/XMLSchema-instance" ns0:noNamespaceSchemaLocation="multisell.xsd">
<item id="1">
<!-- Adena -->
<ingredient count="87600" id="57" />
<!-- Adena -->
<ingredient count="87600" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Katana -->
<production count="1" id="8830" />
</item>
<item id="2">
<!-- Adena -->
<ingredient count="87600" id="57" />
<!-- Adena -->
<ingredient count="87600" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Bec de Corbin -->
<production count="1" id="8831" />
</item>
<item id="3">
<!-- Adena -->
<ingredient count="87600" id="57" />
<!-- Adena -->
<ingredient count="87600" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Cursed Staff -->
<production count="1" id="8832" />
</item>
<item id="4">
<!-- Adena -->
<ingredient count="87600" id="57" />
<!-- Adena -->
<ingredient count="87600" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Stiletto -->
<production count="1" id="8833" />
</item>
<item id="5">
<!-- Adena -->
<ingredient count="87600" id="57" />
<!-- Adena -->
<ingredient count="87600" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Soulfire Dirk -->
<production count="1" id="8834" />
</item>
<item id="6">
<!-- Adena -->
<ingredient count="87600" id="57" />
<!-- Adena -->
<ingredient count="87600" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Elemental Bow -->
<production count="1" id="8835" />
</item>
<item id="7">
<!-- Adena -->
<ingredient count="87600" id="57" />
<!-- Adena -->
<ingredient count="87600" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Dwarven War Hammer -->
<production count="1" id="8836" />
</item>
<item id="8">
<!-- Adena -->
<ingredient count="87600" id="57" />
<!-- Adena -->
<ingredient count="87600" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Sword of Revolution -->
<production count="1" id="8837" />
</item>
<item id="9">
<!-- Adena -->
<ingredient count="87600" id="57" />
<!-- Adena -->
<ingredient count="87600" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Knuckle Duster -->
<production count="1" id="8838" />
</item>
<item id="10">
<!-- Adena -->
<ingredient count="84500" id="57" />
<!-- Adena -->
<ingredient count="84500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Sword of Delusion -->
<production count="1" id="8839" />
</item>
<item id="11">
<!-- Adena -->
<ingredient count="84500" id="57" />
<!-- Adena -->
<ingredient count="84500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Poleaxe -->
<production count="1" id="8840" />
</item>
<item id="12">
<!-- Adena -->
<ingredient count="84500" id="57" />
<!-- Adena -->
<ingredient count="84500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Stick of Eternity -->
<production count="1" id="8841" />
</item>
<item id="13">
<!-- Adena -->
<ingredient count="84500" id="57" />
<!-- Adena -->
<ingredient count="84500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Inferno Staff -->
<production count="1" id="8842" />
</item>
<item id="14">
<!-- Adena -->
<ingredient count="84500" id="57" />
<!-- Adena -->
<ingredient count="84500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Pa'agrian Hammer -->
<production count="1" id="8843" />
</item>
<item id="15">
<!-- Adena -->
<ingredient count="84500" id="57" />
<!-- Adena -->
<ingredient count="84500" id="57" isTaxIngredient="true" />
<!-- Shadow Item - War Axe -->
<production count="1" id="10125" />
</item>
<item id="16">
<!-- Adena -->
<ingredient count="84500" id="57" />
<!-- Adena -->
<ingredient count="84500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Dark Screamer -->
<production count="1" id="8844" />
</item>
<item id="17">
<!-- Adena -->
<ingredient count="84500" id="57" />
<!-- Adena -->
<ingredient count="84500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Akat Long Bow -->
<production count="1" id="8845" />
</item>
<item id="18">
<!-- Adena -->
<ingredient count="84500" id="57" />
<!-- Adena -->
<ingredient count="84500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Pa'agrian Sword -->
<production count="1" id="8846" />
</item>
<item id="19">
<!-- Adena -->
<ingredient count="84500" id="57" />
<!-- Adena -->
<ingredient count="84500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Fisted Blade -->
<production count="1" id="8847" />
</item>
<item id="20">
<!-- Adena -->
<ingredient count="88900" id="57" />
<!-- Adena -->
<ingredient count="88900" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Stormbringer -->
<production count="1" id="8848" />
</item>
<item id="21">
<!-- Adena -->
<ingredient count="93500" id="57" />
<!-- Adena -->
<ingredient count="93500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Great Sword -->
<production count="1" id="8849" />
</item>
<item id="22">
<!-- Adena -->
<ingredient count="93500" id="57" />
<!-- Adena -->
<ingredient count="93500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Heavy War Axe -->
<production count="1" id="8850" />
</item>
<item id="23">
<!-- Adena -->
<ingredient count="93500" id="57" />
<!-- Adena -->
<ingredient count="93500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Sprite's Staff -->
<production count="1" id="8851" />
</item>
<item id="24">
<!-- Adena -->
<ingredient count="93500" id="57" />
<!-- Adena -->
<ingredient count="93500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Keshanberk -->
<production count="1" id="8852" />
</item>
<item id="25">
<!-- Adena -->
<ingredient count="93500" id="57" />
<!-- Adena -->
<ingredient count="93500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Sword of Valhalla -->
<production count="1" id="8853" />
</item>
<item id="26">
<!-- Adena -->
<ingredient count="93500" id="57" />
<!-- Adena -->
<ingredient count="93500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Kris -->
<production count="1" id="8854" />
</item>
<item id="27">
<!-- Adena -->
<ingredient count="93500" id="57" />
<!-- Adena -->
<ingredient count="93500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Arthro Nail -->
<production count="1" id="8855" />
</item>
<item id="28">
<!-- Adena -->
<ingredient count="93500" id="57" />
<!-- Adena -->
<ingredient count="93500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Dark Elven Long Bow -->
<production count="1" id="8856" />
</item>
<item id="29">
<!-- Adena -->
<ingredient count="93500" id="57" />
<!-- Adena -->
<ingredient count="93500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Swords of Delusion -->
<production count="1" id="8857" />
</item>
<item id="30">
<!-- Adena -->
<ingredient count="93500" id="57" />
<!-- Adena -->
<ingredient count="93500" id="57" isTaxIngredient="true" />
<!-- Shadow Item: Great Axe -->
<production count="1" id="8858" />
</item>
</list>
\ No newline at end of file
......@@ -78,7 +78,9 @@ of this directory a little bit.
306893001.xml -> Shadow weaponry system. D-grade coupons exchange
306893002.xml -> Shadow weaponry system. C-grade coupons exchange
306893003.xml -> Shadow weaponry system. D/C-grade coupons exchange
319463001.xml -> Shadow weaponry system. Adena exchange
319463001.xml -> Shadow weaponry system. D-grade adena exchange
319463002.xml -> Shadow weaponry system. C-grade adena exchange
319463003.xml -> Shadow weaponry system. B-grade adena exchange
300974001.xml -> Prestigious Items Hall: Galladucci (weapons)
300984001.xml -> Prestigious Items Hall: Alexandria (armors)
......
......@@ -34,10 +34,14 @@ public class BuyShadowItem implements IBypassHandler
return false;
NpcHtmlMessage html = new NpcHtmlMessage(((L2Npc)target).getObjectId());
if (activeChar.getLevel() >= 40)
html.setFile(activeChar.getHtmlPrefix(), "data/html/merchant/shadow_item.htm");
else
html.setFile(activeChar.getHtmlPrefix(), "data/html/merchant/shadow_item-lowlevel.htm");
if (activeChar.getLevel() < 40)
html.setFile(activeChar.getHtmlPrefix(), "data/html/common/shadow_item-lowlevel.htm");
else if ((activeChar.getLevel() >= 40) && (activeChar.getLevel() < 46))
html.setFile(activeChar.getHtmlPrefix(), "data/html/common/shadow_item_d.htm");
else if ((activeChar.getLevel() >= 46) && (activeChar.getLevel() < 52))
html.setFile(activeChar.getHtmlPrefix(), "data/html/common/shadow_item_c.htm");
else if (activeChar.getLevel() >= 52)
html.setFile(activeChar.getHtmlPrefix(), "data/html/common/shadow_item_b.htm");
html.replace("%objectId%", String.valueOf(((L2Npc)target).getObjectId()));
activeChar.sendPacket(html);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment