I'm making a simple text adventure / dungeon crawler game in batch.

I'm not looking for help in "switch to this language" I just need help in arithmetic.

I'm looking for a very simple battle damage equation.

The variables I'm using for damage are:
STR (Strength)
EDEF (Enemy Defense)
LVL (Level)
RND (random)
RND*-* (random number * through *) (example (RND1-5) would be a random number one through five)

It must be scaling so it remains balanced as you level.

Thanks for your time.