May 10, 20187 yr I've been using getGrandExchange().buyItem(itemId: searchTerm: price: quanitity: ) and tried setting up an integer using getGrandExchange().getOfferPrice() and multiply it by .05 as a separate integer, but its not an acceptable action. It tells me its a double when it requires an int. I've also tried having it interact with the +5% widget, but it doesn't preform the action if I have it before or after the buyItem(). I've also tried directly putting the widget interaction in as the price, but it also has to be an integer. Whats the best way to do this? Do I need to set up my own GrandExchange function and not use buyItem()?
Create an account or sign in to comment