Skip to content

Enchant Item :)

Featured Replies

Hello. Today i want to make something different. I want to add Items in shop ++ (Enchanted). and i put enchantmentLevel 10. All goods untill i buy item. In shop it is +10, i see it. But when i buy, i buy it +0. Can explain someone what's happend?

If you meant multisell, the obvious answer is Ingredient#getEnchantLevel() isn't used where it should be used, or you got some "protections" blocking you to get what you want.

 

Check regular L2J MultiSellChoose / MultiSellList and see where it's used (you must have 9 occurences).

 

----

 

If you meant regular player shop system, then the system is probably not implemented.

Edited by Tryskell

21 minutes ago, Loftheim said:

"I know no Java, can you do it for me?" Incoming.

you can make a guide instead of judging him for not knowing something and stop beign idiot.

<?xml version='1.0' encoding='utf-8'?>
<list maintainEnchantment="true">
	<item><!-- Dark Legion's Edge -->
		<production id="2500" count="1" enchantmentLevel="7"/>
		<ingredient id="57" count="100"/>
	</item>
</list>

Test this one and let us know.

3 hours ago, Loftheim said:

"I know no Java, can you do it for me?" Incoming.

 

Well, an answer is a house, I gave some bricks. It's up to the community to give others bricks to make the complete house. I gave the good path to check, which is already better than saying anything wrong :). If someone else want to develop my answer, it's a public forums.

if you use l2jaCis you need it

  • Author

Thank you guys. Was from somewhere else. Another question because i don't want to open another topic. Maybe someone hate me. Idk who. I have item "Scroll: Enchant Weapon of Destruction" and when i spawn in inventory, appear with black icon. Someone know a link with texture? L2jSunrise project. High Five

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.