Jump to content
  • 0

Donator Items


TreVor

Question

I use l2jfrozen last rev and this project already have donator command for increase xp sp adena drop spoil rates


I wonder if possible create an item which will give this donator stats when you have it in your inventory


 


example go to a npc a buy "Donator Rune"


when you have "Donator Rune" in inventory you gain donator status


Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

 

I use l2jfrozen last rev and this project already have donator command for increase xp sp adena drop spoil rates

I wonder if possible create an item which will give this donator stats when you have it in your inventory

 

example go to a npc a buy "Donator Rune"

when you have "Donator Rune" in inventory you gain donator status

 

 

You got weird fetishes there :-[

 

Check ItemHandlers, copy a template (java file) and the part  onUse

remove the code and add yours.

 

Then simply make a new item in xml and in HANDLER variable add ur handler name that u made without the .java

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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...