Anonymous

Module:Magic: Difference between revisions

From Melvor Idle
Fixed incorrect duration
(Added delay/duration information to spell tables (should only affect ancient magicks))
(Fixed incorrect duration)
Line 312: Line 312:
rowTxt = rowTxt..Shared.round(interval / 1000, 2, 2)..'s delay between attacks.'
rowTxt = rowTxt..Shared.round(interval / 1000, 2, 2)..'s delay between attacks.'
if hits > 2 then
if hits > 2 then
rowTxt = rowTxt..' '..Shared.round(interval * hits / 1000, 2, 2)..'s total duration.'
rowTxt = rowTxt..' '..Shared.round(interval * (hits - 1) / 1000, 2, 2)..'s total duration.'
end
end
rowTxt = rowTxt..')'
rowTxt = rowTxt..')'