diff --git a/Tortuga Game Design Document.docx b/Tortuga Game Design Document.docx index 4916063..5135086 100644 Binary files a/Tortuga Game Design Document.docx and b/Tortuga Game Design Document.docx differ diff --git a/misc/combat damage.lua b/misc/combat damage.lua index b72f1cd..523c6c0 100644 --- a/misc/combat damage.lua +++ b/misc/combat damage.lua @@ -36,6 +36,8 @@ end function CalcDamage(A, D, t) -- if t == attackType.PHYSICAL then + --TODO: test min & max of the rng + --TODO: overall, this needs tweaking for balance return math.max(1, ( A.attack*3 + A.attack*(math.random(A.luck*100)/10) ) - (D.defence + D.defence*D.evasion)) -- end -- if t == attackType.MAGICAL then