Thread: Custom item combat bonuses?

Results 1 to 2 of 2
  1. #1 Custom item combat bonuses? 
    Registered Member Hucci's Avatar
    Join Date
    Oct 2009
    Posts
    281
    Thanks given
    1
    Thanks received
    6
    Rep Power
    9
    can anyone explain how to code the combat bonuses in a weapon?
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Oct 2009
    Posts
    203
    Thanks given
    1
    Thanks received
    1
    Rep Power
    90
    once you have added your custom into class8.java in your client, go to ur source file and open the folder config. Look for something called item.cfg. Open it with notepad and you will see a full list of your items. To add your custom item just add this:
    Code:
    item = 11019	Angel_Wings	Angel_Wings.	1000000	1000000	1000000	30	30	30	30	30	30	30	30	30	30	30	30
    now i will explain what the numbers mean.
    Code:
    item = 11019
    this is your item id. Change it to the item id you used for your custom in client8.java.
    Code:
    Angel_Wings	Angel_Wings.
    the first one is your item name (make sure you use _'s for a space). The second one is related to examine i think.
    Code:
    1000000	1000000	1000000
    now for the numbers.
    The first three numbers are related to the item cost. I know that the middle one is what the item costs in a shop, im not sure on the other two, i think they may be related to what items keep on death.
    Code:
    30	30	30	30	30	30	30	30	30	30	30	30
    now these numbers are related to combat bonuses. This is the order of what they are.
    Code:
    1. stab attack bonus
    2. slash attack bonus
    3. crush attack bonus
    4. magic attack bonus
    5. range attack bonus
    6. stab defence bonus
    7. slash defence bonus
    8. crush defence bonus
    9. magic defence bonus
    10. range defence bonus
    11. strength bonus
    12. prayer bonus
    You can change these numbers as you desire. Also when you are using spacing, dont use the spacebar. Use the tab button.
    Hope this helped, goodluck.
    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

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