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?

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

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..