RPG combat system.

Blitz3D Forums/Blitz3D Programming/RPG combat system.

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

@ 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