Another attempt at efficient stat distribution

I built a model for damage dealt and damage received, based on the algorithms in the game's source code.  It very accurately approximates the probability of player victory, given the player's and enemy's stats.

I also built a tool that finds the optimal stat point distribution when at a given level, facing a given enemy.

To do:

  1. Assuming I'm willing to tolerate an x% risk of losing a battle, what's the distribution of hp/atk/def/agi/luck that maximizes gold gain?
  2. Find the strategy that moves through the game with the fewest game-over-count.

Building the model has been fun. Unless there's interest from the community, however, I won't waste time posting results. So, please let me know if you're interested in results or in helping expand these tools' capabilities.