Jump to content

Recommended Posts

Posted

I got no place to test this out so I will trow the code in here so you can test it.

 

It is not finished, it may be not even working at all...

 

Core Patch

 

http://adf.ly/8ok5i

 

 

Make new admin command AdminTownWar.java, add this code and register it in MasterHandler.java.

 

http://adf.ly/8okEM

Posted

at the moment it just spawns mobs in towns and deletes them when you end the event. This is a very basic version. I will make configs for stats of mobs, drops and so on. I will also try to make it auto :)

 

by the way dont forget to change int monsterid = 0; with your id. else it will not spawn anything xD

Posted

at the moment it just spawns mobs in towns and deletes them when you end the event. This is a very basic version. I will make configs for stats of mobs, drops and so on. I will also try to make it auto :)

 

by the way dont forget to change int monsterid = 0; with your id. else it will not spawn anything xD

 

So we should w8 for the update??Cause you said it may not be working at all...

Posted

Vago use singleton pattern for getInstance its faster :)

 

also would be better if you use states to determine how the event work at the time(like in other events)

Posted

Ohh nice one :).

Can you in the future,add support for more monters id's like:

 

# Monsters id's need to be separated with a comma (ex= 18930,12100,21921)

MonstersId = 0

 

Thanks in advanced.

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