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

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