Thread: [Luck] Ring of wealth

Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1 [Luck] Ring of wealth 
    Registered Member
    Join Date
    Aug 2019
    Posts
    40
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    hey, i put luck = 2 on ring of wealth and it give double drop for money and no items
    i just need the ring give luck = 2

    here is the code :
    if (player.getEquipment().getRingId() == 2572) { //ring of wealth
    Settings.DROP_RATE = 2; //any number you want
    return;
    }

    can someone help me ?
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    May 2016
    Age
    55
    Posts
    1,137
    Thanks given
    565
    Thanks received
    600
    Rep Power
    0
    Looks like a terribly written system did you try == rather than just one = id have to look at it further to really help you.
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Sep 2016
    Posts
    181
    Thanks given
    84
    Thanks received
    74
    Rep Power
    452
    Holy shit lol. Is that the static drop rate variable? It doesnt appear to even be tied to the player. You'd need to show more code, all drop rate systems are different. I rewrote ours two times already.
    Reply With Quote  
     

  4. Thankful user:


  5. #4  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    Quote Originally Posted by baderazem View Post
    hey, i put luck = 2 on ring of wealth and it give double drop for money and no items
    i just need the ring give luck = 2

    here is the code :
    if (player.getEquipment().getRingId() == 2572) { //ring of wealth
    Settings.DROP_RATE = 2; //any number you want
    return;
    }

    can someone help me ?
    I mean you have already given it that variable you wanted. What else do you want?


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

  6. #5  
    Registered Member
    Join Date
    Aug 2019
    Posts
    40
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by arch337 View Post
    I mean you have already given it that variable you wanted. What else do you want?
    it give double drop x2, not a drop rate
    Reply With Quote  
     

  7. #6  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    Quote Originally Posted by baderazem View Post
    it give double drop x2, not a drop rate
    Then that means you'll have to add that in your system.


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

  8. #7  
    Registered Member
    Join Date
    Aug 2019
    Posts
    40
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by arch337 View Post
    Then that means you'll have to add that in your system.
    can you help me ?
    Reply With Quote  
     

  9. #8  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    Quote Originally Posted by baderazem View Post
    can you help me ?
    Not without knowing what your idea behind it is or any form of code that has to do with your drop system.


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

  10. #9  
    Registered Member
    Join Date
    Aug 2019
    Posts
    40
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by arch337 View Post
    Not without knowing what your idea behind it is or any form of code that has to do with your drop system.
    i want my ring of wealth make the drop rate = 2
    but my drop rate system for double drop
    how can i fix that ?
    Reply With Quote  
     

  11. #10  
    Community Director @ XtG Community AU/NZ
    Elite IV's Avatar
    Join Date
    Sep 2014
    Age
    25
    Posts
    297
    Thanks given
    0
    Thanks received
    37
    Rep Power
    24
    Quote Originally Posted by baderazem View Post

    can someone help me ?
    Show us where the global var "DROP_RATE" is used. (Besides settings of course, where else is it used?)

    There's probably a reason why it's dropping 2x the loot rather than a higher amount of loot.
    Reply With Quote  
     

Page 1 of 2 12 LastLast

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. [pi] Ring of wealth?
    By nbness2 in forum Help
    Replies: 2
    Last Post: 06-28-2012, 04:59 PM
  2. RING OF WEALTH convert i hate delta
    By Jilic-Matt in forum Help
    Replies: 0
    Last Post: 08-20-2011, 11:45 PM
  3. Buying ring of wealths, 40k each.
    By Mergim in forum Gold & Items
    Replies: 4
    Last Post: 03-02-2011, 02:50 AM
  4. [delta]basic ring of wealth[delta]
    By shoopdawhoop in forum Snippets
    Replies: 14
    Last Post: 10-05-2010, 11:06 AM
  5. Ring of wealth help please
    By shoopdawhoop in forum Help
    Replies: 0
    Last Post: 11-04-2009, 10:56 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
  •