Thread: Making an item give bonus damage?

Results 1 to 2 of 2
  1. #1 Making an item give bonus damage? 
    Registered Member Owner theo's Avatar
    Join Date
    Oct 2012
    Posts
    47
    Thanks given
    1
    Thanks received
    0
    Rep Power
    11
    So, the items that I' want to talk about is

    -- Slayer Helm --
    -- Leaf Bladed Sword --

    So, making the Slayer helm give bonus damage TO ONLY slayer Npcs and same for leaf bladed sword, make them do bonus damage to slayer npcs only. How would this be done?
    Reply With Quote  
     

  2. #2  
    Registered Member
    hc747's Avatar
    Join Date
    Dec 2013
    Age
    26
    Posts
    1,474
    Thanks given
    3,312
    Thanks received
    691
    Rep Power
    1098
    If (player.getEquipment().getId().SLOT_HELMET() == helmetIdHere && target instanceof slayerTask/NPC && NPC.getId() == slayermonster.getId()) {
    Damage =* 1.5;
    }

    Some shit like that in player combat. On my phone atm, soz
    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. Dem 637 Making an item give you double exp
    By Orel in forum Snippets
    Replies: 22
    Last Post: 10-08-2014, 06:49 AM
  2. Making an item give more points for killing bosses
    By Defiled RSPS in forum Snippets
    Replies: 0
    Last Post: 04-10-2014, 01:24 PM
  3. How to make an item give exp - detailed
    By climatikk in forum Tutorials
    Replies: 7
    Last Post: 09-23-2012, 07:30 PM
  4. [PI] Making an item give double exp
    By Oogle in forum Snippets
    Replies: 3
    Last Post: 09-23-2012, 12:49 PM
  5. how to make item give bonus
    By Sayfert1 in forum Help
    Replies: 4
    Last Post: 02-02-2012, 01:31 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •