• Log in or sign up for an account here: https://www.sythe.org/login

Decanting Potions [Question]

Status
Not open for further replies.

T7 Press 7T

Forum Addict
Joined
Jun 14, 2007
Sythe Gold
0
Messages
384
The formula for decanting potions would be TotalAmount * .75 = 4 dose amount correct?
If so I just spent the last 30minutes in C++ making spiffy for and switch statements for nothing. :(
 
Oh well. Either way the one I made counts the 2 and 1 dose potions and tells you about it all.
 
that does seem right to me. If you have 100 3 dosers, it should turn into 75 4 dosers.
 
Yeah I knew all that, but I was looking for a way to make it faster in larger random number values. Like 2834 (for herb training / money making).

But thanks! Just needed some confirmation.
 
Well the way I coded it doesn't use any math, so regardless of the formula it should be fine. :)
 
Posted the code in the C++ section. I'll do a jotti scan (for you security nuts) and upload it later when I'm back.
 
Status
Not open for further replies.
Runescape Gamblingrunescape gambling
Back
Top