Need some math help for my game

Chinchilla & Hedgehog Pet Forum

Help Support Chinchilla & Hedgehog Pet Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.

boardinggamer

Well-known member
Joined
Nov 9, 2012
Messages
133
Location
Orange County, NY
I am making a game called TextQuest and I am stuck on the math for the fighting system.

You have attack and defense and so do the monsters. I need one equation to get a number depending on the attack and defense of the attacker and target. Not only that but there should be a random number in there so its not always the same number. Any help would be nice.
 

Latest posts

Back
Top