- Joined
- Jul 17, 2013
- Messages
- 64
- Reaction score
- 0
- First Language
- English
- Primarily Uses
Hello all,
I am fairly new to RPG maker and I have been taking classes on ruby and trying my best to learn the process as I go. I have got a lot of support from the community and I decided to try and give some back. I have had a LOT of problems trying to figure out my formulas and going back and forth battle testing has been really time consuming. So I have found a way to make it a relatively painless process so I thought I might share it with some of the community.
Here is my sample formula for my attack.
(1.2*a.atk)+70+a.mat
Here is how I test it.
First go to http://www.compileonline.com/execute_ruby_online.php
Paste the sample formula below
atk = 50
mat = 0
x =(1.2*atk)+70+mat
print x
Hit execute script in the upper left and on the right your result will come out. It will also help you pinpoint any errors you might be having.
To test further change the values of mat and atk.
I am still pretty noob so I don't know how helpful this will be to the rest of you but I have found it to be very helpful when my formulas are not coming out right in battle tests. -Thanks
I am fairly new to RPG maker and I have been taking classes on ruby and trying my best to learn the process as I go. I have got a lot of support from the community and I decided to try and give some back. I have had a LOT of problems trying to figure out my formulas and going back and forth battle testing has been really time consuming. So I have found a way to make it a relatively painless process so I thought I might share it with some of the community.
Here is my sample formula for my attack.
(1.2*a.atk)+70+a.mat
Here is how I test it.
First go to http://www.compileonline.com/execute_ruby_online.php
Paste the sample formula below
atk = 50
mat = 0
x =(1.2*atk)+70+mat
print x
Hit execute script in the upper left and on the right your result will come out. It will also help you pinpoint any errors you might be having.
To test further change the values of mat and atk.
I am still pretty noob so I don't know how helpful this will be to the rest of you but I have found it to be very helpful when my formulas are not coming out right in battle tests. -Thanks
Last edited by a moderator:

