Module:Ups and downs sharpness: Difference between revisions

Tristanbay (talk | contribs)
added "math." in a bunch of places
Tristanbay (talk | contribs)
Fixed wrong notation issue hopefully
Line 34: Line 34:
end
end
else
else
if ((sharp * math.ceil(i / sharp)) - i) % 5 == 1 then
if ((sharp * math.ceil(i / sharp)) - i) % 5 == 4 then
tab = tab .. "up quid "
tab = tab .. "up quid "
else
else
Line 67: Line 67:
end
end
else
else
if ((sharp * math.ceil(i / sharp)) - i) % 5 == 1 then
if ((sharp * math.ceil(i / sharp)) - i) % 5 == 4 then
tab = tab .. "down quip "
tab = tab .. "down quip "
else
else