Thread: random wilderness boss spawning

Results 1 to 2 of 2
  1. #1 random wilderness boss spawning 
    Banned
    Join Date
    Dec 2014
    Posts
    130
    Thanks given
    38
    Thanks received
    12
    Rep Power
    0
    hey can someone help me with random wilderness boss spawn and make reward to kill he?
    Reply With Quote  
     

  2. #2  
    Boy Wonder


    Join Date
    Mar 2012
    Posts
    849
    Thanks given
    139
    Thanks received
    80
    Rep Power
    99
    Code:
    List<Location> locations = new ArrayList<>(); //populate with random locations of spawn
    Location spawnLocation = Utilities.randomElement(locations);
    WildernessTask.setCurrentBoss(new Npc(id, location));
    make a task to spawn the boss in random locations every hour or whatever you want (removing the previous one as well if not killed)
    create the reward handle it under NPC death.

    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 14
    Last Post: 09-07-2016, 09:49 PM
  2. Random Wilderness "Mini-Boss" Minigame [PI]
    By Jashy in forum Snippets
    Replies: 7
    Last Post: 04-26-2016, 04:00 AM
  3. Replies: 45
    Last Post: 02-18-2013, 12:44 PM
  4. Boss Spawn Timer HELP?
    By dikz in forum Application Development
    Replies: 5
    Last Post: 08-08-2012, 03:31 AM
  5. Eclipse 639 - [NEX] - [PVP] -[ BOSSING] - [Spawn]
    By `Eclipse in forum Advertise
    Replies: 16
    Last Post: 12-16-2011, 05:23 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •