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.

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
Reply to this topic...

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