Dropped BuyshadowItem bypass.
Contributed by gigilo1968.
This commit is contained in:
parent
528849a7b4
commit
a687598fcd
@ -1,7 +0,0 @@
|
||||
<html><body><br>
|
||||
A Shadow Weapon is a special weapon made in cooperation between the Ivory Tower and Black Anvil Guild following the signing of the Giran Treaty. The weapon magically projects its power onto another object and <font color="LEVEL">can only be used while this magical charge remains</font>. Because of that, it can be purchased at a significantly lower price than the original weapon.<br>
|
||||
In the hands of a properly trained adventurer, however, it acts just like a real weapon. Its magic essentially uses the wielder's strength for its power, so unless the wielder has the appropriate level, the Shadow Weapon is worthless.<br>
|
||||
We don't sell the lowest level projectile weapons, so they became supplies for the Grand Masters; go ask them about it. The weapons sold in the shops have a higher level.<br>
|
||||
It looks to me that you don't have the necessary ability to wield one yet. Come back later after you've developed your skills some more.<br>
|
||||
(Projectile weapons can only be sold to level 40 or higher characters.)
|
||||
</body></html>
|
@ -1,8 +0,0 @@
|
||||
<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>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 319463003">Purchase a Shadow Weapon.</Button>
|
||||
</body></html>
|
@ -1,8 +0,0 @@
|
||||
<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>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 319463002">Purchase a Shadow Weapon.</Button>
|
||||
</body></html>
|
@ -1,8 +0,0 @@
|
||||
<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>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 319463001">Purchase a Shadow Weapon.</Button>
|
||||
</body></html>
|
@ -1,5 +1,4 @@
|
||||
<html><body>Trader Graham:<br>
|
||||
Let's trade! I'm sure we can find an arrangement that suits both our dispositions. What are you offering?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3008400">"I want to trade Warrior Equipment."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">"I want to purchase a Shadow Weapon."</Button>
|
||||
</body></html>
|
@ -1,6 +1,5 @@
|
||||
<html><body>Weapons Trader Stanford:<br>
|
||||
What type of weapon are you looking to buy?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3008500">"I want to trade Wizard Equipment."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">"I want to purchase a Shadow Weapon."</Button>
|
||||
</body></html>
|
||||
|
||||
|
@ -2,5 +2,4 @@
|
||||
Choose whatever you want! Warrior? Wizard? We have it all!<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3017800">Trade Warrior equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3017801">Let's trade some Wizard equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">Do you have Shadow items?</Button>
|
||||
</body></html>
|
@ -2,5 +2,4 @@
|
||||
Hmm, let's see if we have anything in your size... what size did you say you were again?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3068400">Trade Warrior equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3068401">Trade Mage equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">Purchase some Shadow Items</Button>
|
||||
</body></html>
|
@ -2,5 +2,4 @@
|
||||
Can I show you anything in particular? We are sure to have something for everyone.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3083700">Trade Warrior equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3083701">Trade Mage equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">Purchase some Shadow Items</Button>
|
||||
</body></html>
|
@ -2,5 +2,4 @@
|
||||
...324, 325, 326, 327, oh! Hello! No, no, you're not interrupting. Feel free to have a browse. Let me know if I can be of assistance. Now, where was I? 332, 333, 334...<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3089000">"I want to trade Warrior Equipment."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3089001">"Let's trade some Wizard equipment."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">"I'd like to buy some Shadow Items."</Button>
|
||||
</body></html>
|
@ -2,5 +2,4 @@
|
||||
Hmm? Looking to trade something?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3089100">Trade Warrior equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3089101">Trade Mage equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">Purchase some Shadow Items</Button>
|
||||
</body></html>
|
@ -2,5 +2,4 @@
|
||||
Well then, how about this? It's one of our best sellers.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3125700">Trade Warrior equipment.</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3125701">Trade Mage equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">Purchase some Shadow Items</Button>
|
||||
</body></html>
|
@ -2,5 +2,4 @@
|
||||
Well, don't just stand there. Tell me what you want!<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3130000">"I want to trade Warrior Equipment."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3130001">"Let's trade some Wizard equipment."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">"I'd like to buy some Shadow Items."</Button>
|
||||
</body></html>
|
@ -2,5 +2,4 @@
|
||||
What? What do you want? Spit it out... I'm already late for my lunch date.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3130100">"I want to trade Warrior Equipment."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3130101">"Let's trade some Wizard equipment."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">"I'd like to buy some Shadow Items."</Button>
|
||||
</body></html>
|
@ -2,5 +2,4 @@
|
||||
If you want to buy something, I'd be happy to bring it out for you to examine! I have lamps, if you need more light. It's sometimes hard to see those shadow items without a little extra umph of light.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3194500">"I want to trade Warrior Equipment."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3194501">"Let's trade some Wizard equipment."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">"I'd like to buy some Shadow Items."</Button>
|
||||
</body></html>
|
@ -2,5 +2,4 @@
|
||||
Yes? What?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3194600">Trade Warrior equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3194601">Trade Mage equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">Purchase some Shadow Items</Button>
|
||||
</body></html>
|
@ -1,171 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
|
||||
<npcs>
|
||||
<npc>30037</npc> <!-- Levian -->
|
||||
<npc>30066</npc> <!-- Pabris -->
|
||||
<npc>30070</npc> <!-- Sylvain -->
|
||||
<npc>30109</npc> <!-- Hannavalt -->
|
||||
<npc>30115</npc> <!-- Jurek -->
|
||||
<npc>30120</npc> <!-- Maximilian -->
|
||||
<npc>30174</npc> <!-- Arkenias -->
|
||||
<npc>30175</npc> <!-- Fairen -->
|
||||
<npc>30176</npc> <!-- Valleria -->
|
||||
<npc>30187</npc> <!-- Klaus Blackbird -->
|
||||
<npc>30191</npc> <!-- Hollint -->
|
||||
<npc>30195</npc> <!-- Brecson -->
|
||||
<npc>30288</npc> <!-- Rains -->
|
||||
<npc>30289</npc> <!-- Raymond -->
|
||||
<npc>30290</npc> <!-- Xenos -->
|
||||
<npc>30297</npc> <!-- Tobias -->
|
||||
<npc>30373</npc> <!-- Ramos -->
|
||||
<npc>30462</npc> <!-- Tronix -->
|
||||
<npc>30474</npc> <!-- Angus -->
|
||||
<npc>30498</npc> <!-- Moke -->
|
||||
<npc>30499</npc> <!-- Tapoy -->
|
||||
<npc>30500</npc> <!-- Osborn -->
|
||||
<npc>30503</npc> <!-- Rikadio -->
|
||||
<npc>30504</npc> <!-- Mendio -->
|
||||
<npc>30505</npc> <!-- Drikus -->
|
||||
<npc>30508</npc> <!-- Castor -->
|
||||
<npc>30511</npc> <!-- Gesto -->
|
||||
<npc>30512</npc> <!-- Kusto -->
|
||||
<npc>30513</npc> <!-- Penatus -->
|
||||
<npc>30595</npc> <!-- Opix -->
|
||||
<npc>30676</npc> <!-- Croop -->
|
||||
<npc>30677</npc> <!-- Flutter -->
|
||||
<npc>30681</npc> <!-- Karia -->
|
||||
<npc>30685</npc> <!-- Baxt -->
|
||||
<npc>30687</npc> <!-- Vergara -->
|
||||
<npc>30689</npc> <!-- Siria -->
|
||||
<npc>30694</npc> <!-- Scraide -->
|
||||
<npc>30699</npc> <!-- Medown -->
|
||||
<npc>30704</npc> <!-- Garvarentz -->
|
||||
<npc>30845</npc> <!-- Klump -->
|
||||
<npc>30847</npc> <!-- Ferris -->
|
||||
<npc>30849</npc> <!-- Sedrick -->
|
||||
<npc>30854</npc> <!-- Drikiyan -->
|
||||
<npc>30857</npc> <!-- Orven -->
|
||||
<npc>30862</npc> <!-- Oltran -->
|
||||
<npc>30865</npc> <!-- Ladanza -->
|
||||
<npc>30894</npc> <!-- Natools -->
|
||||
<npc>30897</npc> <!-- Roman -->
|
||||
<npc>30900</npc> <!-- Marcus -->
|
||||
<npc>30905</npc> <!-- Squillari -->
|
||||
<npc>30910</npc> <!-- Xairakin -->
|
||||
<npc>30913</npc> <!-- Tushku -->
|
||||
<npc>31269</npc> <!-- Mona -->
|
||||
<npc>31272</npc> <!-- Noel -->
|
||||
<npc>31276</npc> <!-- Bernhard -->
|
||||
<npc>31285</npc> <!-- Samael -->
|
||||
<npc>31288</npc> <!-- Aklan -->
|
||||
<npc>31314</npc> <!-- Donal -->
|
||||
<npc>31317</npc> <!-- Lombert -->
|
||||
<npc>31321</npc> <!-- Siegmund -->
|
||||
<npc>31324</npc> <!-- Andromeda -->
|
||||
<npc>31326</npc> <!-- Lambac -->
|
||||
<npc>31328</npc> <!-- Innocentin -->
|
||||
<npc>31331</npc> <!-- Valdis -->
|
||||
<npc>31334</npc> <!-- Tifaren -->
|
||||
<npc>31336</npc> <!-- Rahorakti -->
|
||||
<npc>31958</npc> <!-- Yasheni -->
|
||||
<npc>31961</npc> <!-- Newyear -->
|
||||
<npc>31965</npc> <!-- Hector -->
|
||||
<npc>31968</npc> <!-- Baryl -->
|
||||
<npc>31974</npc> <!-- Drizzit -->
|
||||
<npc>31977</npc> <!-- Shaka -->
|
||||
<npc>31996</npc> <!-- Javier -->
|
||||
<npc>32092</npc> <!-- Alder -->
|
||||
<npc>32093</npc> <!-- Bolin -->
|
||||
<npc>32094</npc> <!-- Schule -->
|
||||
<npc>32095</npc> <!-- Marie -->
|
||||
<npc>32096</npc> <!-- Helminter -->
|
||||
<npc>32097</npc> <!-- Finker -->
|
||||
<npc>32098</npc> <!-- Celes -->
|
||||
<npc>32193</npc> <!-- Yeniche -->
|
||||
<npc>32196</npc> <!-- Gershwin -->
|
||||
<npc>32199</npc> <!-- Holst -->
|
||||
<npc>32202</npc> <!-- Khadava -->
|
||||
<npc>32205</npc> <!-- Aetonic -->
|
||||
<npc>32206</npc> <!-- Pieche -->
|
||||
<npc>32213</npc> <!-- Vitus -->
|
||||
<npc>32214</npc> <!-- Meldina -->
|
||||
<npc>32221</npc> <!-- Brome -->
|
||||
<npc>32222</npc> <!-- Liane -->
|
||||
<npc>32229</npc> <!-- Hagel -->
|
||||
<npc>32230</npc> <!-- Ceci -->
|
||||
<npc>32233</npc> <!-- Zoldart -->
|
||||
<npc>32234</npc> <!-- Nizer -->
|
||||
</npcs>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Two Handed Sword -->
|
||||
<production count="1" id="8821" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Crimson Sword -->
|
||||
<production count="1" id="8822" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Spiked Club -->
|
||||
<production count="1" id="8823" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Staff of Magic -->
|
||||
<production count="1" id="8824" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Kukuri -->
|
||||
<production count="1" id="8825" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Dagger of Mana -->
|
||||
<production count="1" id="8826" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Triple-Edged Jamadhr -->
|
||||
<production count="1" id="8827" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Gastraphetes -->
|
||||
<production count="1" id="8828" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: War Hammer -->
|
||||
<production count="1" id="8829" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Fleuret -->
|
||||
<production count="1" id="10005" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Military Talwar -->
|
||||
<production count="1" id="10006" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Hand Crossbow -->
|
||||
<production count="1" id="10007" />
|
||||
</item>
|
||||
</list>
|
@ -1,138 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<list applyTaxes="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
|
||||
<npcs>
|
||||
<npc>30084</npc> <!-- Graham -->
|
||||
<npc>30085</npc> <!-- Stanford -->
|
||||
<npc>30178</npc> <!-- Zenkin -->
|
||||
<npc>30684</npc> <!-- Viktor -->
|
||||
<npc>30837</npc> <!-- Woodrow -->
|
||||
<npc>30890</npc> <!-- Espen -->
|
||||
<npc>30891</npc> <!-- Verona -->
|
||||
<npc>31256</npc> <!-- Leon -->
|
||||
<npc>31257</npc> <!-- Veronica -->
|
||||
<npc>31300</npc> <!-- Drumond -->
|
||||
<npc>31301</npc> <!-- Nils -->
|
||||
<npc>31945</npc> <!-- Auzendorff -->
|
||||
<npc>31946</npc> <!-- Hombre -->
|
||||
</npcs>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="87600" id="57" />
|
||||
<!-- Shadow Item: Katana -->
|
||||
<production count="1" id="8830" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="87600" id="57" />
|
||||
<!-- Shadow Item: Bec de Corbin -->
|
||||
<production count="1" id="8831" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="87600" id="57" />
|
||||
<!-- Shadow Item: Cursed Staff -->
|
||||
<production count="1" id="8832" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="87600" id="57" />
|
||||
<!-- Shadow Item: Stiletto -->
|
||||
<production count="1" id="8833" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="87600" id="57" />
|
||||
<!-- Shadow Item: Soulfire Dirk -->
|
||||
<production count="1" id="8834" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="87600" id="57" />
|
||||
<!-- Shadow Item: Elemental Bow -->
|
||||
<production count="1" id="8835" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="87600" id="57" />
|
||||
<!-- Shadow Item: Dwarven War Hammer -->
|
||||
<production count="1" id="8836" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="87600" id="57" />
|
||||
<!-- Shadow Item: Sword of Revolution -->
|
||||
<production count="1" id="8837" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="87600" id="57" />
|
||||
<!-- Shadow Item: Knuckle Duster -->
|
||||
<production count="1" id="8838" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="84500" id="57" />
|
||||
<!-- Shadow Item: Sword of Delusion -->
|
||||
<production count="1" id="8839" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="84500" id="57" />
|
||||
<!-- Shadow Item: Poleaxe -->
|
||||
<production count="1" id="8840" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="84500" id="57" />
|
||||
<!-- Shadow Item: Stick of Eternity -->
|
||||
<production count="1" id="8841" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="84500" id="57" />
|
||||
<!-- Shadow Item: Inferno Staff -->
|
||||
<production count="1" id="8842" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="84500" id="57" />
|
||||
<!-- Shadow Item: Pa'agrian Hammer -->
|
||||
<production count="1" id="8843" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="84500" id="57" />
|
||||
<!-- Shadow Item: Dark Screamer -->
|
||||
<production count="1" id="8844" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="84500" id="57" />
|
||||
<!-- Shadow Item: Akat Long Bow -->
|
||||
<production count="1" id="8845" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="84500" id="57" />
|
||||
<!-- Shadow Item: Pa'agrian Sword -->
|
||||
<production count="1" id="8846" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="84500" id="57" />
|
||||
<!-- Shadow Item: Fisted Blade -->
|
||||
<production count="1" id="8847" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="84500" id="57" />
|
||||
<!-- Shadow Item - War Axe -->
|
||||
<production count="1" id="10125" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="88900" id="57" />
|
||||
<!-- Shadow Item: Stormbringer -->
|
||||
<production count="1" id="8848" />
|
||||
</item>
|
||||
</list>
|
@ -136,7 +136,6 @@ import handlers.admincommandhandlers.AdminZone;
|
||||
import handlers.admincommandhandlers.AdminZones;
|
||||
import handlers.bypasshandlers.Augment;
|
||||
import handlers.bypasshandlers.Buy;
|
||||
import handlers.bypasshandlers.BuyShadowItem;
|
||||
import handlers.bypasshandlers.ChatLink;
|
||||
import handlers.bypasshandlers.ClanWarehouse;
|
||||
import handlers.bypasshandlers.EventEngine;
|
||||
@ -467,7 +466,6 @@ public class MasterHandler
|
||||
// Bypass Handlers
|
||||
Augment.class,
|
||||
Buy.class,
|
||||
BuyShadowItem.class,
|
||||
ChatLink.class,
|
||||
ClanWarehouse.class,
|
||||
EventEngine.class,
|
||||
|
@ -1,68 +0,0 @@
|
||||
/*
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package handlers.bypasshandlers;
|
||||
|
||||
import com.l2jmobius.gameserver.handler.IBypassHandler;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Character;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2MerchantInstance;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
|
||||
|
||||
public class BuyShadowItem implements IBypassHandler
|
||||
{
|
||||
private static final String[] COMMANDS =
|
||||
{
|
||||
"BuyShadowItem"
|
||||
};
|
||||
|
||||
@Override
|
||||
public boolean useBypass(String command, L2PcInstance activeChar, L2Character target)
|
||||
{
|
||||
if (!(target instanceof L2MerchantInstance))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
final NpcHtmlMessage html = new NpcHtmlMessage(target.getObjectId());
|
||||
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(target.getObjectId()));
|
||||
activeChar.sendPacket(html);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String[] getBypassList()
|
||||
{
|
||||
return COMMANDS;
|
||||
}
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
<html><body><br>
|
||||
A Shadow Weapon is a special weapon made in cooperation between the Ivory Tower and Black Anvil Guild following the signing of the Giran Treaty. The weapon magically projects its power onto another object and <font color="LEVEL">can only be used while this magical charge remains</font>. Because of that, it can be purchased at a significantly lower price than the original weapon.<br>
|
||||
In the hands of a properly trained adventurer, however, it acts just like a real weapon. Its magic essentially uses the wielder's strength for its power, so unless the wielder has the appropriate level, the Shadow Weapon is worthless.<br>
|
||||
We don't sell the lowest level projectile weapons, so they became supplies for the Grand Masters; go ask them about it. The weapons sold in the shops have a higher level.<br>
|
||||
It looks to me that you don't have the necessary ability to wield one yet. Come back later after you've developed your skills some more.<br>
|
||||
(Projectile weapons can only be sold to level 40 or higher characters.)
|
||||
</body></html>
|
@ -1,8 +0,0 @@
|
||||
<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>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 319463003">Purchase a Shadow Weapon.</Button>
|
||||
</body></html>
|
@ -1,8 +0,0 @@
|
||||
<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>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 319463002">Purchase a Shadow Weapon.</Button>
|
||||
</body></html>
|
@ -1,8 +0,0 @@
|
||||
<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>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 319463001">Purchase a Shadow Weapon.</Button>
|
||||
</body></html>
|
@ -1,5 +1,4 @@
|
||||
<html><body>Trader Graham:<br>
|
||||
Let's trade! I'm sure we can find an arrangement that suits both our dispositions. What are you offering?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3008400">"I want to trade Warrior Equipment."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">"I want to purchase a Shadow Weapon."</Button>
|
||||
</body></html>
|
@ -1,6 +1,5 @@
|
||||
<html><body>Weapons Trader Stanford:<br>
|
||||
What type of weapon are you looking to buy?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3008500">"I want to trade Wizard Equipment."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">"I want to purchase a Shadow Weapon."</Button>
|
||||
</body></html>
|
||||
|
||||
|
@ -2,5 +2,4 @@
|
||||
Choose whatever you want! Warrior? Wizard? We have it all!<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3017800">Trade Warrior equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3017801">Let's trade some Wizard equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">Do you have Shadow items?</Button>
|
||||
</body></html>
|
@ -2,5 +2,4 @@
|
||||
Hmm, let's see if we have anything in your size... what size did you say you were again?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3068400">Trade Warrior equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3068401">Trade Mage equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">Purchase some Shadow Items</Button>
|
||||
</body></html>
|
@ -2,5 +2,4 @@
|
||||
Can I show you anything in particular? We are sure to have something for everyone.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3083700">Trade Warrior equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3083701">Trade Mage equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">Purchase some Shadow Items</Button>
|
||||
</body></html>
|
@ -2,5 +2,4 @@
|
||||
...324, 325, 326, 327, oh! Hello! No, no, you're not interrupting. Feel free to have a browse. Let me know if I can be of assistance. Now, where was I? 332, 333, 334...<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3089000">"I want to trade Warrior Equipment."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3089001">"Let's trade some Wizard equipment."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">"I'd like to buy some Shadow Items."</Button>
|
||||
</body></html>
|
@ -2,5 +2,4 @@
|
||||
Hmm? Looking to trade something?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3089100">Trade Warrior equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3089101">Trade Mage equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">Purchase some Shadow Items</Button>
|
||||
</body></html>
|
@ -2,5 +2,4 @@
|
||||
Well then, how about this? It's one of our best sellers.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3125700">Trade Warrior equipment.</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3125701">Trade Mage equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">Purchase some Shadow Items</Button>
|
||||
</body></html>
|
@ -2,5 +2,4 @@
|
||||
Well, don't just stand there. Tell me what you want!<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3130000">"I want to trade Warrior Equipment."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3130001">"Let's trade some Wizard equipment."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">"I'd like to buy some Shadow Items."</Button>
|
||||
</body></html>
|
@ -2,5 +2,4 @@
|
||||
What? What do you want? Spit it out... I'm already late for my lunch date.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3130100">"I want to trade Warrior Equipment."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3130101">"Let's trade some Wizard equipment."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">"I'd like to buy some Shadow Items."</Button>
|
||||
</body></html>
|
@ -2,5 +2,4 @@
|
||||
If you want to buy something, I'd be happy to bring it out for you to examine! I have lamps, if you need more light. It's sometimes hard to see those shadow items without a little extra umph of light.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3194500">"I want to trade Warrior Equipment."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3194501">"Let's trade some Wizard equipment."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">"I'd like to buy some Shadow Items."</Button>
|
||||
</body></html>
|
@ -2,5 +2,4 @@
|
||||
Yes? What?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3194600">Trade Warrior equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3194601">Trade Mage equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">Purchase some Shadow Items</Button>
|
||||
</body></html>
|
@ -1,171 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
|
||||
<npcs>
|
||||
<npc>30037</npc> <!-- Levian -->
|
||||
<npc>30066</npc> <!-- Pabris -->
|
||||
<npc>30070</npc> <!-- Sylvain -->
|
||||
<npc>30109</npc> <!-- Hannavalt -->
|
||||
<npc>30115</npc> <!-- Jurek -->
|
||||
<npc>30120</npc> <!-- Maximilian -->
|
||||
<npc>30174</npc> <!-- Arkenias -->
|
||||
<npc>30175</npc> <!-- Fairen -->
|
||||
<npc>30176</npc> <!-- Valleria -->
|
||||
<npc>30187</npc> <!-- Klaus Blackbird -->
|
||||
<npc>30191</npc> <!-- Hollint -->
|
||||
<npc>30195</npc> <!-- Brecson -->
|
||||
<npc>30288</npc> <!-- Rains -->
|
||||
<npc>30289</npc> <!-- Raymond -->
|
||||
<npc>30290</npc> <!-- Xenos -->
|
||||
<npc>30297</npc> <!-- Tobias -->
|
||||
<npc>30373</npc> <!-- Ramos -->
|
||||
<npc>30462</npc> <!-- Tronix -->
|
||||
<npc>30474</npc> <!-- Angus -->
|
||||
<npc>30498</npc> <!-- Moke -->
|
||||
<npc>30499</npc> <!-- Tapoy -->
|
||||
<npc>30500</npc> <!-- Osborn -->
|
||||
<npc>30503</npc> <!-- Rikadio -->
|
||||
<npc>30504</npc> <!-- Mendio -->
|
||||
<npc>30505</npc> <!-- Drikus -->
|
||||
<npc>30508</npc> <!-- Castor -->
|
||||
<npc>30511</npc> <!-- Gesto -->
|
||||
<npc>30512</npc> <!-- Kusto -->
|
||||
<npc>30513</npc> <!-- Penatus -->
|
||||
<npc>30595</npc> <!-- Opix -->
|
||||
<npc>30676</npc> <!-- Croop -->
|
||||
<npc>30677</npc> <!-- Flutter -->
|
||||
<npc>30681</npc> <!-- Karia -->
|
||||
<npc>30685</npc> <!-- Baxt -->
|
||||
<npc>30687</npc> <!-- Vergara -->
|
||||
<npc>30689</npc> <!-- Siria -->
|
||||
<npc>30694</npc> <!-- Scraide -->
|
||||
<npc>30699</npc> <!-- Medown -->
|
||||
<npc>30704</npc> <!-- Garvarentz -->
|
||||
<npc>30845</npc> <!-- Klump -->
|
||||
<npc>30847</npc> <!-- Ferris -->
|
||||
<npc>30849</npc> <!-- Sedrick -->
|
||||
<npc>30854</npc> <!-- Drikiyan -->
|
||||
<npc>30857</npc> <!-- Orven -->
|
||||
<npc>30862</npc> <!-- Oltran -->
|
||||
<npc>30865</npc> <!-- Ladanza -->
|
||||
<npc>30894</npc> <!-- Natools -->
|
||||
<npc>30897</npc> <!-- Roman -->
|
||||
<npc>30900</npc> <!-- Marcus -->
|
||||
<npc>30905</npc> <!-- Squillari -->
|
||||
<npc>30910</npc> <!-- Xairakin -->
|
||||
<npc>30913</npc> <!-- Tushku -->
|
||||
<npc>31269</npc> <!-- Mona -->
|
||||
<npc>31272</npc> <!-- Noel -->
|
||||
<npc>31276</npc> <!-- Bernhard -->
|
||||
<npc>31285</npc> <!-- Samael -->
|
||||
<npc>31288</npc> <!-- Aklan -->
|
||||
<npc>31314</npc> <!-- Donal -->
|
||||
<npc>31317</npc> <!-- Lombert -->
|
||||
<npc>31321</npc> <!-- Siegmund -->
|
||||
<npc>31324</npc> <!-- Andromeda -->
|
||||
<npc>31326</npc> <!-- Lambac -->
|
||||
<npc>31328</npc> <!-- Innocentin -->
|
||||
<npc>31331</npc> <!-- Valdis -->
|
||||
<npc>31334</npc> <!-- Tifaren -->
|
||||
<npc>31336</npc> <!-- Rahorakti -->
|
||||
<npc>31958</npc> <!-- Yasheni -->
|
||||
<npc>31961</npc> <!-- Newyear -->
|
||||
<npc>31965</npc> <!-- Hector -->
|
||||
<npc>31968</npc> <!-- Baryl -->
|
||||
<npc>31974</npc> <!-- Drizzit -->
|
||||
<npc>31977</npc> <!-- Shaka -->
|
||||
<npc>31996</npc> <!-- Javier -->
|
||||
<npc>32092</npc> <!-- Alder -->
|
||||
<npc>32093</npc> <!-- Bolin -->
|
||||
<npc>32094</npc> <!-- Schule -->
|
||||
<npc>32095</npc> <!-- Marie -->
|
||||
<npc>32096</npc> <!-- Helminter -->
|
||||
<npc>32097</npc> <!-- Finker -->
|
||||
<npc>32098</npc> <!-- Celes -->
|
||||
<npc>32193</npc> <!-- Yeniche -->
|
||||
<npc>32196</npc> <!-- Gershwin -->
|
||||
<npc>32199</npc> <!-- Holst -->
|
||||
<npc>32202</npc> <!-- Khadava -->
|
||||
<npc>32205</npc> <!-- Aetonic -->
|
||||
<npc>32206</npc> <!-- Pieche -->
|
||||
<npc>32213</npc> <!-- Vitus -->
|
||||
<npc>32214</npc> <!-- Meldina -->
|
||||
<npc>32221</npc> <!-- Brome -->
|
||||
<npc>32222</npc> <!-- Liane -->
|
||||
<npc>32229</npc> <!-- Hagel -->
|
||||
<npc>32230</npc> <!-- Ceci -->
|
||||
<npc>32233</npc> <!-- Zoldart -->
|
||||
<npc>32234</npc> <!-- Nizer -->
|
||||
</npcs>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Two Handed Sword -->
|
||||
<production count="1" id="8821" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Crimson Sword -->
|
||||
<production count="1" id="8822" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Spiked Club -->
|
||||
<production count="1" id="8823" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Staff of Magic -->
|
||||
<production count="1" id="8824" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Kukuri -->
|
||||
<production count="1" id="8825" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Dagger of Mana -->
|
||||
<production count="1" id="8826" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Triple-Edged Jamadhr -->
|
||||
<production count="1" id="8827" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Gastraphetes -->
|
||||
<production count="1" id="8828" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: War Hammer -->
|
||||
<production count="1" id="8829" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Fleuret -->
|
||||
<production count="1" id="10005" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Military Talwar -->
|
||||
<production count="1" id="10006" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Hand Crossbow -->
|
||||
<production count="1" id="10007" />
|
||||
</item>
|
||||
</list>
|
@ -1,138 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<list applyTaxes="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
|
||||
<npcs>
|
||||
<npc>30084</npc> <!-- Graham -->
|
||||
<npc>30085</npc> <!-- Stanford -->
|
||||
<npc>30178</npc> <!-- Zenkin -->
|
||||
<npc>30684</npc> <!-- Viktor -->
|
||||
<npc>30837</npc> <!-- Woodrow -->
|
||||
<npc>30890</npc> <!-- Espen -->
|
||||
<npc>30891</npc> <!-- Verona -->
|
||||
<npc>31256</npc> <!-- Leon -->
|
||||
<npc>31257</npc> <!-- Veronica -->
|
||||
<npc>31300</npc> <!-- Drumond -->
|
||||
<npc>31301</npc> <!-- Nils -->
|
||||
<npc>31945</npc> <!-- Auzendorff -->
|
||||
<npc>31946</npc> <!-- Hombre -->
|
||||
</npcs>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="87600" id="57" />
|
||||
<!-- Shadow Item: Katana -->
|
||||
<production count="1" id="8830" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="87600" id="57" />
|
||||
<!-- Shadow Item: Bec de Corbin -->
|
||||
<production count="1" id="8831" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="87600" id="57" />
|
||||
<!-- Shadow Item: Cursed Staff -->
|
||||
<production count="1" id="8832" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="87600" id="57" />
|
||||
<!-- Shadow Item: Stiletto -->
|
||||
<production count="1" id="8833" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="87600" id="57" />
|
||||
<!-- Shadow Item: Soulfire Dirk -->
|
||||
<production count="1" id="8834" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="87600" id="57" />
|
||||
<!-- Shadow Item: Elemental Bow -->
|
||||
<production count="1" id="8835" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="87600" id="57" />
|
||||
<!-- Shadow Item: Dwarven War Hammer -->
|
||||
<production count="1" id="8836" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="87600" id="57" />
|
||||
<!-- Shadow Item: Sword of Revolution -->
|
||||
<production count="1" id="8837" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="87600" id="57" />
|
||||
<!-- Shadow Item: Knuckle Duster -->
|
||||
<production count="1" id="8838" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="84500" id="57" />
|
||||
<!-- Shadow Item: Sword of Delusion -->
|
||||
<production count="1" id="8839" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="84500" id="57" />
|
||||
<!-- Shadow Item: Poleaxe -->
|
||||
<production count="1" id="8840" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="84500" id="57" />
|
||||
<!-- Shadow Item: Stick of Eternity -->
|
||||
<production count="1" id="8841" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="84500" id="57" />
|
||||
<!-- Shadow Item: Inferno Staff -->
|
||||
<production count="1" id="8842" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="84500" id="57" />
|
||||
<!-- Shadow Item: Pa'agrian Hammer -->
|
||||
<production count="1" id="8843" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="84500" id="57" />
|
||||
<!-- Shadow Item: Dark Screamer -->
|
||||
<production count="1" id="8844" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="84500" id="57" />
|
||||
<!-- Shadow Item: Akat Long Bow -->
|
||||
<production count="1" id="8845" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="84500" id="57" />
|
||||
<!-- Shadow Item: Pa'agrian Sword -->
|
||||
<production count="1" id="8846" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="84500" id="57" />
|
||||
<!-- Shadow Item: Fisted Blade -->
|
||||
<production count="1" id="8847" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="84500" id="57" />
|
||||
<!-- Shadow Item - War Axe -->
|
||||
<production count="1" id="10125" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="88900" id="57" />
|
||||
<!-- Shadow Item: Stormbringer -->
|
||||
<production count="1" id="8848" />
|
||||
</item>
|
||||
</list>
|
@ -136,7 +136,6 @@ import handlers.admincommandhandlers.AdminZone;
|
||||
import handlers.admincommandhandlers.AdminZones;
|
||||
import handlers.bypasshandlers.Augment;
|
||||
import handlers.bypasshandlers.Buy;
|
||||
import handlers.bypasshandlers.BuyShadowItem;
|
||||
import handlers.bypasshandlers.ChatLink;
|
||||
import handlers.bypasshandlers.ClanWarehouse;
|
||||
import handlers.bypasshandlers.EnsoulWindow;
|
||||
@ -468,7 +467,6 @@ public class MasterHandler
|
||||
// Bypass Handlers
|
||||
Augment.class,
|
||||
Buy.class,
|
||||
BuyShadowItem.class,
|
||||
ChatLink.class,
|
||||
ClanWarehouse.class,
|
||||
EnsoulWindow.class,
|
||||
|
@ -1,68 +0,0 @@
|
||||
/*
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package handlers.bypasshandlers;
|
||||
|
||||
import com.l2jmobius.gameserver.handler.IBypassHandler;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Character;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2MerchantInstance;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
|
||||
|
||||
public class BuyShadowItem implements IBypassHandler
|
||||
{
|
||||
private static final String[] COMMANDS =
|
||||
{
|
||||
"BuyShadowItem"
|
||||
};
|
||||
|
||||
@Override
|
||||
public boolean useBypass(String command, L2PcInstance activeChar, L2Character target)
|
||||
{
|
||||
if (!(target instanceof L2MerchantInstance))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
final NpcHtmlMessage html = new NpcHtmlMessage(target.getObjectId());
|
||||
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(target.getObjectId()));
|
||||
activeChar.sendPacket(html);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String[] getBypassList()
|
||||
{
|
||||
return COMMANDS;
|
||||
}
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
<html><body><br>
|
||||
A Shadow Weapon is a special weapon made in cooperation between the Ivory Tower and Black Anvil Guild following the signing of the Giran Treaty. The weapon magically projects its power onto another object and <font color="LEVEL">can only be used while this magical charge remains</font>. Because of that, it can be purchased at a significantly lower price than the original weapon.<br>
|
||||
In the hands of a properly trained adventurer, however, it acts just like a real weapon. Its magic essentially uses the wielder's strength for its power, so unless the wielder has the appropriate level, the Shadow Weapon is worthless.<br>
|
||||
We don't sell the lowest level projectile weapons, so they became supplies for the Grand Masters; go ask them about it. The weapons sold in the shops have a higher level.<br>
|
||||
It looks to me that you don't have the necessary ability to wield one yet. Come back later after you've developed your skills some more.<br>
|
||||
(Projectile weapons can only be sold to level 40 or higher characters.)
|
||||
</body></html>
|
@ -1,8 +0,0 @@
|
||||
<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>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 319463003">Purchase a Shadow Weapon.</Button>
|
||||
</body></html>
|
@ -1,8 +0,0 @@
|
||||
<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>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 319463002">Purchase a Shadow Weapon.</Button>
|
||||
</body></html>
|
@ -1,8 +0,0 @@
|
||||
<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>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 319463001">Purchase a Shadow Weapon.</Button>
|
||||
</body></html>
|
@ -1,5 +1,4 @@
|
||||
<html><body>Trader Graham:<br>
|
||||
Let's trade! I'm sure we can find an arrangement that suits both our dispositions. What are you offering?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3008400">"I want to trade Warrior Equipment."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">"I want to purchase a Shadow Weapon."</Button>
|
||||
</body></html>
|
@ -1,6 +1,5 @@
|
||||
<html><body>Weapons Trader Stanford:<br>
|
||||
What type of weapon are you looking to buy?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3008500">"I want to trade Wizard Equipment."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">"I want to purchase a Shadow Weapon."</Button>
|
||||
</body></html>
|
||||
|
||||
|
@ -2,5 +2,4 @@
|
||||
Choose whatever you want! Warrior? Wizard? We have it all!<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3017800">Trade Warrior equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3017801">Let's trade some Wizard equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">Do you have Shadow items?</Button>
|
||||
</body></html>
|
@ -2,5 +2,4 @@
|
||||
Hmm, let's see if we have anything in your size... what size did you say you were again?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3068400">Trade Warrior equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3068401">Trade Mage equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">Purchase some Shadow Items</Button>
|
||||
</body></html>
|
@ -2,5 +2,4 @@
|
||||
Can I show you anything in particular? We are sure to have something for everyone.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3083700">Trade Warrior equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3083701">Trade Mage equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">Purchase some Shadow Items</Button>
|
||||
</body></html>
|
@ -2,5 +2,4 @@
|
||||
...324, 325, 326, 327, oh! Hello! No, no, you're not interrupting. Feel free to have a browse. Let me know if I can be of assistance. Now, where was I? 332, 333, 334...<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3089000">"I want to trade Warrior Equipment."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3089001">"Let's trade some Wizard equipment."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">"I'd like to buy some Shadow Items."</Button>
|
||||
</body></html>
|
@ -2,5 +2,4 @@
|
||||
Hmm? Looking to trade something?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3089100">Trade Warrior equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3089101">Trade Mage equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">Purchase some Shadow Items</Button>
|
||||
</body></html>
|
@ -2,5 +2,4 @@
|
||||
Well then, how about this? It's one of our best sellers.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3125700">Trade Warrior equipment.</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3125701">Trade Mage equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">Purchase some Shadow Items</Button>
|
||||
</body></html>
|
@ -2,5 +2,4 @@
|
||||
Well, don't just stand there. Tell me what you want!<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3130000">"I want to trade Warrior Equipment."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3130001">"Let's trade some Wizard equipment."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">"I'd like to buy some Shadow Items."</Button>
|
||||
</body></html>
|
@ -2,5 +2,4 @@
|
||||
What? What do you want? Spit it out... I'm already late for my lunch date.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3130100">"I want to trade Warrior Equipment."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3130101">"Let's trade some Wizard equipment."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">"I'd like to buy some Shadow Items."</Button>
|
||||
</body></html>
|
@ -2,5 +2,4 @@
|
||||
If you want to buy something, I'd be happy to bring it out for you to examine! I have lamps, if you need more light. It's sometimes hard to see those shadow items without a little extra umph of light.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3194500">"I want to trade Warrior Equipment."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3194501">"Let's trade some Wizard equipment."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">"I'd like to buy some Shadow Items."</Button>
|
||||
</body></html>
|
@ -2,5 +2,4 @@
|
||||
Yes? What?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3194600">Trade Warrior equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3194601">Trade Mage equipment</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_BuyShadowItem">Purchase some Shadow Items</Button>
|
||||
</body></html>
|
@ -1,171 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
|
||||
<npcs>
|
||||
<npc>30037</npc> <!-- Levian -->
|
||||
<npc>30066</npc> <!-- Pabris -->
|
||||
<npc>30070</npc> <!-- Sylvain -->
|
||||
<npc>30109</npc> <!-- Hannavalt -->
|
||||
<npc>30115</npc> <!-- Jurek -->
|
||||
<npc>30120</npc> <!-- Maximilian -->
|
||||
<npc>30174</npc> <!-- Arkenias -->
|
||||
<npc>30175</npc> <!-- Fairen -->
|
||||
<npc>30176</npc> <!-- Valleria -->
|
||||
<npc>30187</npc> <!-- Klaus Blackbird -->
|
||||
<npc>30191</npc> <!-- Hollint -->
|
||||
<npc>30195</npc> <!-- Brecson -->
|
||||
<npc>30288</npc> <!-- Rains -->
|
||||
<npc>30289</npc> <!-- Raymond -->
|
||||
<npc>30290</npc> <!-- Xenos -->
|
||||
<npc>30297</npc> <!-- Tobias -->
|
||||
<npc>30373</npc> <!-- Ramos -->
|
||||
<npc>30462</npc> <!-- Tronix -->
|
||||
<npc>30474</npc> <!-- Angus -->
|
||||
<npc>30498</npc> <!-- Moke -->
|
||||
<npc>30499</npc> <!-- Tapoy -->
|
||||
<npc>30500</npc> <!-- Osborn -->
|
||||
<npc>30503</npc> <!-- Rikadio -->
|
||||
<npc>30504</npc> <!-- Mendio -->
|
||||
<npc>30505</npc> <!-- Drikus -->
|
||||
<npc>30508</npc> <!-- Castor -->
|
||||
<npc>30511</npc> <!-- Gesto -->
|
||||
<npc>30512</npc> <!-- Kusto -->
|
||||
<npc>30513</npc> <!-- Penatus -->
|
||||
<npc>30595</npc> <!-- Opix -->
|
||||
<npc>30676</npc> <!-- Croop -->
|
||||
<npc>30677</npc> <!-- Flutter -->
|
||||
<npc>30681</npc> <!-- Karia -->
|
||||
<npc>30685</npc> <!-- Baxt -->
|
||||
<npc>30687</npc> <!-- Vergara -->
|
||||
<npc>30689</npc> <!-- Siria -->
|
||||
<npc>30694</npc> <!-- Scraide -->
|
||||
<npc>30699</npc> <!-- Medown -->
|
||||
<npc>30704</npc> <!-- Garvarentz -->
|
||||
<npc>30845</npc> <!-- Klump -->
|
||||
<npc>30847</npc> <!-- Ferris -->
|
||||
<npc>30849</npc> <!-- Sedrick -->
|
||||
<npc>30854</npc> <!-- Drikiyan -->
|
||||
<npc>30857</npc> <!-- Orven -->
|
||||
<npc>30862</npc> <!-- Oltran -->
|
||||
<npc>30865</npc> <!-- Ladanza -->
|
||||
<npc>30894</npc> <!-- Natools -->
|
||||
<npc>30897</npc> <!-- Roman -->
|
||||
<npc>30900</npc> <!-- Marcus -->
|
||||
<npc>30905</npc> <!-- Squillari -->
|
||||
<npc>30910</npc> <!-- Xairakin -->
|
||||
<npc>30913</npc> <!-- Tushku -->
|
||||
<npc>31269</npc> <!-- Mona -->
|
||||
<npc>31272</npc> <!-- Noel -->
|
||||
<npc>31276</npc> <!-- Bernhard -->
|
||||
<npc>31285</npc> <!-- Samael -->
|
||||
<npc>31288</npc> <!-- Aklan -->
|
||||
<npc>31314</npc> <!-- Donal -->
|
||||
<npc>31317</npc> <!-- Lombert -->
|
||||
<npc>31321</npc> <!-- Siegmund -->
|
||||
<npc>31324</npc> <!-- Andromeda -->
|
||||
<npc>31326</npc> <!-- Lambac -->
|
||||
<npc>31328</npc> <!-- Innocentin -->
|
||||
<npc>31331</npc> <!-- Valdis -->
|
||||
<npc>31334</npc> <!-- Tifaren -->
|
||||
<npc>31336</npc> <!-- Rahorakti -->
|
||||
<npc>31958</npc> <!-- Yasheni -->
|
||||
<npc>31961</npc> <!-- Newyear -->
|
||||
<npc>31965</npc> <!-- Hector -->
|
||||
<npc>31968</npc> <!-- Baryl -->
|
||||
<npc>31974</npc> <!-- Drizzit -->
|
||||
<npc>31977</npc> <!-- Shaka -->
|
||||
<npc>31996</npc> <!-- Javier -->
|
||||
<npc>32092</npc> <!-- Alder -->
|
||||
<npc>32093</npc> <!-- Bolin -->
|
||||
<npc>32094</npc> <!-- Schule -->
|
||||
<npc>32095</npc> <!-- Marie -->
|
||||
<npc>32096</npc> <!-- Helminter -->
|
||||
<npc>32097</npc> <!-- Finker -->
|
||||
<npc>32098</npc> <!-- Celes -->
|
||||
<npc>32193</npc> <!-- Yeniche -->
|
||||
<npc>32196</npc> <!-- Gershwin -->
|
||||
<npc>32199</npc> <!-- Holst -->
|
||||
<npc>32202</npc> <!-- Khadava -->
|
||||
<npc>32205</npc> <!-- Aetonic -->
|
||||
<npc>32206</npc> <!-- Pieche -->
|
||||
<npc>32213</npc> <!-- Vitus -->
|
||||
<npc>32214</npc> <!-- Meldina -->
|
||||
<npc>32221</npc> <!-- Brome -->
|
||||
<npc>32222</npc> <!-- Liane -->
|
||||
<npc>32229</npc> <!-- Hagel -->
|
||||
<npc>32230</npc> <!-- Ceci -->
|
||||
<npc>32233</npc> <!-- Zoldart -->
|
||||
<npc>32234</npc> <!-- Nizer -->
|
||||
</npcs>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Two Handed Sword -->
|
||||
<production count="1" id="8821" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Crimson Sword -->
|
||||
<production count="1" id="8822" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Spiked Club -->
|
||||
<production count="1" id="8823" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Staff of Magic -->
|
||||
<production count="1" id="8824" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Kukuri -->
|
||||
<production count="1" id="8825" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Dagger of Mana -->
|
||||
<production count="1" id="8826" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Triple-Edged Jamadhr -->
|
||||
<production count="1" id="8827" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Gastraphetes -->
|
||||
<production count="1" id="8828" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: War Hammer -->
|
||||
<production count="1" id="8829" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Fleuret -->
|
||||
<production count="1" id="10005" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Military Talwar -->
|
||||
<production count="1" id="10006" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Shadow Item Exchange Coupon (D-Grade) -->
|
||||
<ingredient count="1" id="8869" />
|
||||
<!-- Shadow Item: Hand Crossbow -->
|
||||
<production count="1" id="10007" />
|
||||
</item>
|
||||
</list>
|
@ -1,138 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<list applyTaxes="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
|
||||
<npcs>
|
||||
<npc>30084</npc> <!-- Graham -->
|
||||
<npc>30085</npc> <!-- Stanford -->
|
||||
<npc>30178</npc> <!-- Zenkin -->
|
||||
<npc>30684</npc> <!-- Viktor -->
|
||||
<npc>30837</npc> <!-- Woodrow -->
|
||||
<npc>30890</npc> <!-- Espen -->
|
||||
<npc>30891</npc> <!-- Verona -->
|
||||
<npc>31256</npc> <!-- Leon -->
|
||||
<npc>31257</npc> <!-- Veronica -->
|
||||
<npc>31300</npc> <!-- Drumond -->
|
||||
<npc>31301</npc> <!-- Nils -->
|
||||
<npc>31945</npc> <!-- Auzendorff -->
|
||||
<npc>31946</npc> <!-- Hombre -->
|
||||
</npcs>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="87600" id="57" />
|
||||
<!-- Shadow Item: Katana -->
|
||||
<production count="1" id="8830" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="87600" id="57" />
|
||||
<!-- Shadow Item: Bec de Corbin -->
|
||||
<production count="1" id="8831" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="87600" id="57" />
|
||||
<!-- Shadow Item: Cursed Staff -->
|
||||
<production count="1" id="8832" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="87600" id="57" />
|
||||
<!-- Shadow Item: Stiletto -->
|
||||
<production count="1" id="8833" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="87600" id="57" />
|
||||
<!-- Shadow Item: Soulfire Dirk -->
|
||||
<production count="1" id="8834" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="87600" id="57" />
|
||||
<!-- Shadow Item: Elemental Bow -->
|
||||
<production count="1" id="8835" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="87600" id="57" />
|
||||
<!-- Shadow Item: Dwarven War Hammer -->
|
||||
<production count="1" id="8836" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="87600" id="57" />
|
||||
<!-- Shadow Item: Sword of Revolution -->
|
||||
<production count="1" id="8837" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="87600" id="57" />
|
||||
<!-- Shadow Item: Knuckle Duster -->
|
||||
<production count="1" id="8838" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="84500" id="57" />
|
||||
<!-- Shadow Item: Sword of Delusion -->
|
||||
<production count="1" id="8839" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="84500" id="57" />
|
||||
<!-- Shadow Item: Poleaxe -->
|
||||
<production count="1" id="8840" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="84500" id="57" />
|
||||
<!-- Shadow Item: Stick of Eternity -->
|
||||
<production count="1" id="8841" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="84500" id="57" />
|
||||
<!-- Shadow Item: Inferno Staff -->
|
||||
<production count="1" id="8842" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="84500" id="57" />
|
||||
<!-- Shadow Item: Pa'agrian Hammer -->
|
||||
<production count="1" id="8843" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="84500" id="57" />
|
||||
<!-- Shadow Item: Dark Screamer -->
|
||||
<production count="1" id="8844" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="84500" id="57" />
|
||||
<!-- Shadow Item: Akat Long Bow -->
|
||||
<production count="1" id="8845" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="84500" id="57" />
|
||||
<!-- Shadow Item: Pa'agrian Sword -->
|
||||
<production count="1" id="8846" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="84500" id="57" />
|
||||
<!-- Shadow Item: Fisted Blade -->
|
||||
<production count="1" id="8847" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="84500" id="57" />
|
||||
<!-- Shadow Item - War Axe -->
|
||||
<production count="1" id="10125" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient count="88900" id="57" />
|
||||
<!-- Shadow Item: Stormbringer -->
|
||||
<production count="1" id="8848" />
|
||||
</item>
|
||||
</list>
|
@ -136,7 +136,6 @@ import handlers.admincommandhandlers.AdminZone;
|
||||
import handlers.admincommandhandlers.AdminZones;
|
||||
import handlers.bypasshandlers.Augment;
|
||||
import handlers.bypasshandlers.Buy;
|
||||
import handlers.bypasshandlers.BuyShadowItem;
|
||||
import handlers.bypasshandlers.ChatLink;
|
||||
import handlers.bypasshandlers.ClanWarehouse;
|
||||
import handlers.bypasshandlers.EnsoulWindow;
|
||||
@ -469,7 +468,6 @@ public class MasterHandler
|
||||
// Bypass Handlers
|
||||
Augment.class,
|
||||
Buy.class,
|
||||
BuyShadowItem.class,
|
||||
ChatLink.class,
|
||||
ClanWarehouse.class,
|
||||
EnsoulWindow.class,
|
||||
|
@ -1,68 +0,0 @@
|
||||
/*
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package handlers.bypasshandlers;
|
||||
|
||||
import com.l2jmobius.gameserver.handler.IBypassHandler;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Character;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2MerchantInstance;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
|
||||
|
||||
public class BuyShadowItem implements IBypassHandler
|
||||
{
|
||||
private static final String[] COMMANDS =
|
||||
{
|
||||
"BuyShadowItem"
|
||||
};
|
||||
|
||||
@Override
|
||||
public boolean useBypass(String command, L2PcInstance activeChar, L2Character target)
|
||||
{
|
||||
if (!(target instanceof L2MerchantInstance))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
final NpcHtmlMessage html = new NpcHtmlMessage(target.getObjectId());
|
||||
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(target.getObjectId()));
|
||||
activeChar.sendPacket(html);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String[] getBypassList()
|
||||
{
|
||||
return COMMANDS;
|
||||
}
|
||||
}
|
@ -135,7 +135,6 @@ import handlers.admincommandhandlers.AdminZone;
|
||||
import handlers.admincommandhandlers.AdminZones;
|
||||
import handlers.bypasshandlers.Augment;
|
||||
import handlers.bypasshandlers.Buy;
|
||||
import handlers.bypasshandlers.BuyShadowItem;
|
||||
import handlers.bypasshandlers.ChatLink;
|
||||
import handlers.bypasshandlers.ClanWarehouse;
|
||||
import handlers.bypasshandlers.EnsoulWindow;
|
||||
@ -468,7 +467,6 @@ public class MasterHandler
|
||||
// Bypass Handlers
|
||||
Augment.class,
|
||||
Buy.class,
|
||||
BuyShadowItem.class,
|
||||
ChatLink.class,
|
||||
ClanWarehouse.class,
|
||||
EnsoulWindow.class,
|
||||
|
@ -1,68 +0,0 @@
|
||||
/*
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package handlers.bypasshandlers;
|
||||
|
||||
import com.l2jmobius.gameserver.handler.IBypassHandler;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Character;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2MerchantInstance;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
|
||||
|
||||
public class BuyShadowItem implements IBypassHandler
|
||||
{
|
||||
private static final String[] COMMANDS =
|
||||
{
|
||||
"BuyShadowItem"
|
||||
};
|
||||
|
||||
@Override
|
||||
public boolean useBypass(String command, L2PcInstance activeChar, L2Character target)
|
||||
{
|
||||
if (!(target instanceof L2MerchantInstance))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
final NpcHtmlMessage html = new NpcHtmlMessage(target.getObjectId());
|
||||
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(target.getObjectId()));
|
||||
activeChar.sendPacket(html);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String[] getBypassList()
|
||||
{
|
||||
return COMMANDS;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user