Module:Attacks/Tables: Difference between revisions

m
typing is hard.
(Fixed a thing where some special attacks have a scalable number of attacks so total duration shouldn't be shown)
m (typing is hard.)
Line 190: Line 190:
             local spAttDuration = spAttInterval * (spAtt.attackCount - 1)
             local spAttDuration = spAttInterval * (spAtt.attackCount - 1)
             spAttDesc = spAttDesc..Shared.round(spAttInterval / 1000, 2, 2)..'s delay between attacks.'
             spAttDesc = spAttDesc..Shared.round(spAttInterval / 1000, 2, 2)..'s delay between attacks.'
             if spAtt.attackCount ~= nil and spAtt.attackCount > 1 then
             if spAtt.attackCount ~= nil and spAtt.attackCount > 2 then
             spAttDesc = spAttDesc..' '..Shared.round(spAttDuration / 1000, 2, 2)..'s total duration'
             spAttDesc = spAttDesc..' '..Shared.round(spAttDuration / 1000, 2, 2)..'s total duration'
             end
             end