Jump to content
  • 0

Reward On Siege Win


Question

Posted

Hello community

 

First of all i am kindda noob in java development and i need a little help from you . I want to make a script when clan x succesufuly defeated / win the castle to give an item to clan leader . 

 

I am using l2jfrozen last rev . 

 

thanks in advance

5 answers to this question

Recommended Posts

  • 0
Posted

head-src/com/l2jfrozen/gameserver/model/entity/siege/Castle.java

 

I found the file but as i say i am kinnda starter in java and i really dunno what to add here to give the reward .

  • 0
Posted

Siege.java probably. Find the code when the siege ends and add the method to add item.

(getCastle().getOwnerId()

  how to finish this to get the clan leader?

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