Thread: 718 specific npc drops

Results 1 to 2 of 2
  1. #1 718 specific npc drops 
    Registered Member
    Join Date
    Sep 2013
    Posts
    242
    Thanks given
    14
    Thanks received
    7
    Rep Power
    11
    hi, is it possible to specify the npc drops if the player has a true value?

    like


    playerdrop = false

    if you kill a man ID lvl 1 it drops bones

    and if playerdrop = true
    the man will kill an extra item only if you have the true value?
    Reply With Quote  
     

  2. #2  
    SiteTrec Hosting

    Project's Avatar
    Join Date
    Dec 2010
    Posts
    2,673
    Thanks given
    1,033
    Thanks received
    829
    Rep Power
    1072
    Yes it is possible.

    NPC.Java -> drop

    Code:
    if (getId() == 1 && killer.playerDrop == true) {
        //killer.do something
    }
    DDOS PROTECTED WEB & VPS AT AN AFFORDABLE COST
    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. [718] Fixing NPC Drops
    By Edimmu in forum Snippets
    Replies: 14
    Last Post: 05-03-2015, 09:50 PM
  2. 718 NPC Drop Packer
    By macalroy in forum Snippets
    Replies: 33
    Last Post: 03-27-2015, 04:59 AM
  3. 718 Changing NPC drops
    By Old Oak in forum Help
    Replies: 5
    Last Post: 06-07-2014, 05:55 PM
  4. 718 Npc Drop Editor.
    By darkkness in forum Requests
    Replies: 3
    Last Post: 08-24-2012, 01:29 PM
  5. 718 Npc Drops
    By Gaaz in forum Help
    Replies: 0
    Last Post: 07-30-2012, 03:11 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
  •