@ Farflame
Read my post I made earlier titled "RPG Inventory system" that contains how the items are used. *sighs*... I did not play enough real RPG's as a kid... as a result I am destined to failure with this combat system. I'll just make my own from the ground up and do the whole trial error thing and try to duplicate any unforseen issues.
At least my chance to hit equation works 100% of the time haha.
chance_to_hit = 100 * Base_atk / (base_atk + defender_def) * 2 * Attacker_lvl / (attacker_lvl + defender_lvl)
hit = rand(1,100)
if chance_to_hit>hit then do_that_whole_crazy_check_damage_thing
Read my post I made earlier titled "RPG Inventory system" that contains how the items are used. *sighs*... I did not play enough real RPG's as a kid... as a result I am destined to failure with this combat system. I'll just make my own from the ground up and do the whole trial error thing and try to duplicate any unforseen issues.
At least my chance to hit equation works 100% of the time haha.
chance_to_hit = 100 * Base_atk / (base_atk + defender_def) * 2 * Attacker_lvl / (attacker_lvl + defender_lvl)
hit = rand(1,100)
if chance_to_hit>hit then do_that_whole_crazy_check_damage_thing