Complex battle formulas

I’m trying to write a combat system for an RPG. I’d like to have to damage dealt to enemies depend on Weapon equipped, Attack points, Strength points, and enemy defense. Any Ideas?

Check this out first maybe?

As a matter of fact, I’ve looked a great deal at that and Lanista 1 is the base of my system, but rather than having a random damage amount, I need a way to calculate it for a fixed amount. Also, I’d rather not use the “Attack with” System. Instead using weapons already equipped to the player to factor damage.

Perhaps you’d be interested in Victor Gijsbers’s ATTACK extension? I know for certain Kerkerkruip uses it, and I think 'Mid the Sagebrush and Cactus does as well.