Firstly let me say, my math is absolutely terrible, I sucked at math in school and I suck at math now I'm a 23 year old man, I know for some people a damage calculation might not be a big deal but jesus christ help me, this calculation is fine as long as 2 people of the same level are fighting but otherwise you WILL get pretty much 2 shot by the higher level I'm not really too sure what to do lol
Code:
damage = round(((((rand(1,5)+M.Level.Level))+(M.Strength.Level + M.GetStatBonus("Strength"))))-((rand(1,5)+target.Level.Level)+(target.Durability.Level+target.GetStatBonus("Durability")/2)/5),0.5)
Might be easier to read like this:
damage = round(((((rand(1,5)+M.Level.Level))+(M.Strength.Level + +(target.Durability.Level+target.GetStatBonus("Durability")/ 2)/5),0.5)
Damage with more than 3 houses, ignore round (a, 0.1), use (a, 1)