*********************************************** * Custom Battle Scenes: The Run Probability * * By: MC Booga mc_booga@yahoo.com * * Please feel free to post this on your site! * *********************************************** I have come up with a formula for a Custom Battle System that is almost exactly like the one for the original, except that the variables have been changed to deal with the limitations of no floating point integers. Here it is: EscapeProbability = (15-((playerspeed*100)/(enemyspeed*10)))*10 An example would be: playerspeed = 10 enemyspeed = 10 X = (15-((10*100)/(10*10)))*10 X = (15-(1000/100))*10 X = (15-10)*10 X = 5*10 X = 50 Like the origional, the same speeds would give a %50 escape chance. This produced the same answer. Here is another example: playerspeed = 10 enemyspeed = 20 X = (15-((10*100)/(20*10)))*10 X = (15-(1000/200))*10 X = (15-5)*10 X = 10*10 X = 100 The other one would produce: X = (1.5-(10/20))*100=100 The coding goes like this: Variable Ch:[41:Run1]Set, 15 Variable Ch:[42:RunPlayer1Speed] Set, Var.[1stCharSpeed] Variable Ch:[42:RunPlayer1Speed]*, 100 Variable Ch:[43:Run1stEnemySpeed]Set, Var.[1stEnemySpeed] Variable Ch:[43:Run1stEnemySpeed]*, 10 Variable Ch:[42:RunPlayer1Speed]/, Var.[43]val. Variable Ch:[41:Run1]-, Var.[42]val. Variable Ch:[41:Run1]*, 10 Note: This is to determine whether you run or not. Variable Ch:[44:RunProbability]Set, Randm[0*10 FORK Optn:Varbl[41:Run1]-V[44] less than Messg:Got away safely! ELSE Case Messg:Unable to get away! END Case I'll post more conversions when I build them into my CBS!