Module:CalculatedStats: Difference between revisions

no edit summary
m (Forgot to mark this as good)
No edit summary
Line 239: Line 239:
peva = round(level * 1.5) + agility + round((intelligence + luck) / 4),
peva = round(level * 1.5) + agility + round((intelligence + luck) / 4),
matk = (level + intelligence) * 2,
matk = (level + intelligence) * 2,
msuc = math.floor(intelligence / 4) + magic,
msuc = intelligence + math.floor(magic / 2), --Good
mdef = intelligence + level + math.floor(magic / 2) + vitality
mdef = intelligence + level + math.floor(magic / 2) + vitality
}
}