Thread: 718/742 Godwars

Results 1 to 2 of 2
  1. #1 718/742 Godwars 
    Registered Member
    Join Date
    May 2013
    Posts
    282
    Thanks given
    11
    Thanks received
    7
    Rep Power
    11
    I'm looking to replace my Godwars as it's terrible...there isn't even working killcount. Previous owner of source set teleports to individual bosses, requiring no killcount.
    Reply With Quote  
     

  2. #2  
    Contributor

    clem585's Avatar
    Join Date
    Sep 2013
    Posts
    3,556
    Thanks given
    652
    Thanks received
    640
    Rep Power
    358
    Well there isn't one currently released, at least not that I know of. You just have to add this in the correct faction sendDeath():

    Code:
    Entity killer = getMostDamageReceivedSourcePlayer();
    if (killer instanceof Player) {
        Player player = (Player) killer;
        player.getAttributes().set("BandosKc", player.getAttributes().get("BandosKc)+1);//Example, same thing but with "ArmadylKc", etc.. for the other
    }
    Afterwards you change the teleports to outside of the boss rooms, spawn the npcs if they're not there and add this to the object interaction for each boss room (in the controller, not the objectHandler):

    Code:
    if (objectId == X) {
        int kc = player.getAttributes().get("BandosKc");
        if (kc < 40)//can change
            player.getPackets().sendGameMessage("You need at least 40 bandosian killcounts to enter this room.");
        else
            player.setNextWorldTile(X);
    }
    Project thread
    [Only registered and activated users can see links. ]
    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: 2
    Last Post: 08-05-2014, 06:14 AM
  2. 718/742 Godwars Minion Help
    By Empathy in forum Help
    Replies: 18
    Last Post: 07-01-2014, 09:20 PM
  3. 718/742 GodWars Bosses
    By Aust1n in forum Help
    Replies: 11
    Last Post: 04-28-2014, 04:12 PM
  4. [718/742] Godwars Bosses Animations?
    By 8ret in forum Help
    Replies: 0
    Last Post: 09-19-2013, 03:40 PM
  5. 718/742 GodWars bosses combatdefinitions
    By Du Haist in forum Requests
    Replies: 1
    Last Post: 07-10-2013, 03:44 AM
Tags for this Thread

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •