22,848
edits
No edit summary |
No edit summary |
||
Line 85: | Line 85: | ||
statTable["atk"] = levelMinus20 + 1 + (strength * 3) + round(vitality / 4) | statTable["atk"] = levelMinus20 + 1 + (strength * 3) + round(vitality / 4) | ||
statTable["acc"] = round(strength / 4) + agility | statTable["acc"] = round(strength / 4) + agility | ||
statTable["def"] = math.floor( | statTable["def"] = math.floor((levelMinus20 + 1) / 2) + math.floor(strength / 4) + (vitality * 2) | ||
statTable["eva"] = math.floor(intelligence / 8) + agility | statTable["eva"] = math.floor(intelligence / 8) + agility | ||
statTable["matk"] = math.floor(intelligence / 8) + magic | statTable["matk"] = math.floor(intelligence / 8) + magic |