Jump to content
  • 0

[help]How make hero weapons enchantable only with crystal scroll ?


Question

Posted

Hey dudes,

 

i was beginning to code hero weapons enchantable

 

but it dont wanna work i deleted this in :com\l2jserver\gameserver\network\clientpackets\AbstractEnchantPacket.java

 

/**

* Return true if item can be enchanted

*/

protected static final boolean isEnchantable(L2ItemInstance item)

{

if (item.isHeroItem())

return false;

if (item.isShadowItem())

return false;

if (item.isCommonItem())

return false;

if (item.isEtcItem())

return false;

if (item.isTimeLimitedItem())

return false;

 

now you can enchant hero weapons with all scrolls ( normall,bless,crystal,save ) so what i have todo now ?

 

i just wanna enchant hero wth the crystal scrolls. thanks for help me

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...