Module:CalculatedStats: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
m (Users shouldn't be inputting stats manually so it should be fine)
mNo edit summary
Line 98: Line 98:
atk = (level + strength) * 2,
atk = (level + strength) * 2,
acc = math.floor(level * 1.5) + agility + math.floor((strength + luck)/4),
acc = math.floor(level * 1.5) + agility + math.floor((strength + luck)/4),
def = (level + vitality) * 2,
def = (level + endurance) * 2,
eva = math.floor(level * 1.5) + agility + math.floor((intelligence + luck)/4),
eva = math.floor(level * 1.5) + agility + math.floor((intelligence + luck)/4),
matk = math.floor(intelligence/2) + (magic*2),
matk = math.floor(intelligence/2) + (magic*2),
mdef = intelligence + math.floor(level/2) + math.floor(magic/4) + math.floor(vitality/2),
mdef = intelligence + math.floor(level/2) + math.floor(magic/4) + math.floor(endurance/2),
atkpsp = (level + strength) * 2,
atkpsp = (level + strength) * 2,
accpsp = math.floor((level * 1.5) + agility + (strength + luck)/4),
accpsp = math.floor((level * 1.5) + agility + (strength + luck)/4),
defpsp = (level + vitality) * 2,
defpsp = (level + endurance) * 2,
evapsp = math.floor((level * 1.5) + agility + (intelligence + luck)/4),
evapsp = math.floor((level * 1.5) + agility + (intelligence + luck)/4),
matkpsp = math.floor((intelligence/2) + (magic*2)),
matkpsp = math.floor((intelligence/2) + (magic*2)),
mdefpsp = math.floor(intelligence + (level/2) + (magic/4) + (vitality/2))
mdefpsp = math.floor(intelligence + (level/2) + (magic/4) + (endurance/2))
}
}
if platform == "sat" then
if platform == "sat" then

Navigation menu