osDude Posted April 28, 2018 Posted April 28, 2018 Hi, I'm trying to buy a shark but for +5% or 1 up arrow click. But I was curious if there was an easier/cleaner method besides doing the math 20x and saving it in different variables? Or do I have to do this for every item I have? Right now I have, buySharksPrice = sharksPrice + (sharksPrice * .05); getGrandExchange().buyItem(sharkID, "Shark", buySharksPrice, 1);
Team Cape Posted April 28, 2018 Posted April 28, 2018 1 hour ago, osDude said: Hi, I'm trying to buy a shark but for +5% or 1 up arrow click. But I was curious if there was an easier/cleaner method besides doing the math 20x and saving it in different variables? Or do I have to do this for every item I have? Right now I have, buySharksPrice = sharksPrice + (sharksPrice * .05); getGrandExchange().buyItem(sharkID, "Shark", buySharksPrice, 1); just click on the up arrow widget lol 1