I'm working on a monster taming project that calls for the player character to train, recruit, and store creatures on a kind of ranch (to explain it simply) to be used during battles, be it adventuring scenarios or tournaments. What I need is some advice on how I should go about making it possible for the last enemy standing in any particular troop to request to join the player.. while also retaining its level and stats?
So far, I'm figuring the use of variables to roll the chance percentage of an enemy wanting to join after it is bested in combat. Use of some items may increase the chance of the enemy requesting to join the player. But, basically, I need to know how to event a system that tells the game which enemy was last to die and then calculate the chance of that same enemy to then ask to join the player's team..
Thanks in advance.