Jump to content

lazyy

Trade With Caution
  • Posts

    203
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by lazyy

  1. if(i.contains("Rune arrow")){

                    int amount = i.getItemForName("Rune arrow").getAmount();

                totalgold += 200 * amount;

                

                }

     

    thanks so much for your code

     

    but it still recognizes a stack of rune arrows as 1 item -_-

     

    will just have to live with it i guess

  2. No it is not, your code will give you the amount of slots that is filled with Dragon bolts (e). 

    My code will get that item and tell you how many of them are in that stack.

     

     

    didn't work still counts as one

    nvm im probably an retard this is my code

     

    if(i.contains("Rune arrow")){

                    i.getItemForName("Rune arrow").getAmount();

                totalgold += 200;

                

                }

     

    i just want the int totalgold to multiply by every rune arrow in the inventory

×
×
  • Create New...