Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Enemy gold and exp formula issues #229
The amount of exp and gold you gain after battle may not match what the battle message say.
This is how gold is awarded by default:
This assumes that the gold total, therefore, never changes (and is quite stupid for that matter, but lots of things in the default scripts are kind of questionable)
So what happens when you start including randomization in the formulas?
A temp fix is to change it so that the value is not calculated twice
A similar thing can be done for exp.