Module:CalculatedStats: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
No edit summary
mNo edit summary
Line 71: Line 71:
}
}
if isBoss then
if isBoss then
statTable["atk"] = levelMinus19 + (strength * 3) + (vitality / 4) --Incorrect
statTable["atk"] = levelMinus19 + (strength * 3) + math.floor(vitality / 4) --Incorrect
statTable["acc"] = math.floor(strength / 4) + agility
statTable["acc"] = math.floor(strength / 4) + agility
statTable["def"] = math.floor(levelMinus20 / 2) + math.floor(strength / 4) + (vitality * 2)
statTable["def"] = math.floor(levelMinus20 / 2) + math.floor(strength / 4) + (vitality * 2)

Navigation menu