22,848
edits
No edit summary |
No edit summary |
||
Line 233: | Line 233: | ||
local statTable = { | local statTable = { | ||
atk = (level + strength) * 2, --Good | atk = (level + strength) * 2, --Good | ||
acc = math.floor(level * 1.5) + agility + math.floor(luck / 2), -- | acc = math.floor(level * 1.5) + agility + math.floor(luck / 2), --Very close | ||
pdef = (level + vitality) * 2 + 16, --Good | pdef = (level + vitality) * 2 + 16, --Good | ||
peva = | peva = math.floor(level * 1.5) + agility + math.floor(luck / 2) + math.max(0,math.floor((intelligence - 10) / 10)), --Very close | ||
matk = level + round(intelligence / 3) + magic * 3, -- | matk = level + round(intelligence / 3) + magic * 3, --Very close | ||
msuc = intelligence + math.floor(magic / 2), --Good | msuc = intelligence + math.floor(magic / 2), --Good | ||
mdef = intelligence | mdef = level + vitality + intelligence * 2 + math.floor(magic/4) --Good | ||
} | } | ||
local stats = { "atk", "acc", "pdef", "peva", "matk", "msuc", "mdef" } | local stats = { "atk", "acc", "pdef", "peva", "matk", "msuc", "mdef" } |