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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock