Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
To make things easier, first create an integer variable (I called it "tempInt") and set it to "(Charges remaining in (Sold Item))", so you don't have to use the function the entire time.
You will have to use the "arithmetic" function a few times.
Click the standard "1000" (the value to add), then go to Function -> Arithmetic.
Now you'll see something like "Value + 1".
To begin, you will have to see which functions come first. The first one you see is the "5", so you add that in the "value" section. You will have to change the "+" into a "x" (multiply).
The "1" will become all the rest of the equation.
Now press the "1" and, again, select "arithmetic".
This time, the value has to hold "(n^2 - 1)". To do this, directly go to Arithmetic again, and once again after that.
Here you will type "n x n" (where the first "n" is the Value and the second one is the "1").
Press "OK" a few times until you see "(n x n) + 1"
Change the "+" to a "-" and change the "1" to an "n".
Now you've got "(n x n) - n", or "n^2 - n".
Go down one step and change that "+" to a "/" (divide), change the "1" to a "2" and you're done!
Player - Add (5 x (((tempInt x tempInt) + 1) / 2)) to (Triggering Player) Current gold
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.