62 737
modifications
mAucun résumé des modifications |
mAucun résumé des modifications |
||
Ligne 136 : | Ligne 136 : | ||
for i = 1, 9 do | for i = 1, 9 do | ||
local perkDamExplMult = forceNumber(localdata["perk" .. i .. " | local perkDamExplMult = forceNumber(localdata["perk" .. i .. " expl mult"]) | ||
local perkDamExplAdd = forceNumber(localdata["perk" .. i .. " | local perkDamExplAdd = forceNumber(localdata["perk" .. i .. " expl add"]) | ||
if perkDamExplMult > 0 or perkDamExplAdd > 0 then | if perkDamExplMult > 0 or perkDamExplAdd > 0 then | ||
perksDamExpl = perksDamExpl + (damExplTotal * perkDamExplMult) + perkDamExplAdd | perksDamExpl = perksDamExpl + (damExplTotal * perkDamExplMult) + perkDamExplAdd | ||
Ligne 179 : | Ligne 179 : | ||
local damagePerAttackCell = formatData(damNormTotal) | local damagePerAttackCell = formatData(damNormTotal) | ||
if | if perksDamNorm > 0 then damagePerAttackCell = damagePerAttackCell .. ' (' .. formatData(perksDamNormTotal) .. ')' end | ||
if damExplTotal > 0 then | if damExplTotal > 0 then | ||
damagePerAttackCell = damagePerAttackCell .. ' + ' .. formatData(damExplTotal) | damagePerAttackCell = damagePerAttackCell .. ' + ' .. formatData(damExplTotal) | ||
if | if perksDamExpl > 0 then damagePerAttackCell = damagePerAttackCell .. ' (' .. formatData(perksDamExplTotal) .. ')' end | ||
damagePerAttackCell = damagePerAttackCell .. ' ' .. icon.build({ 'explosion' }) | damagePerAttackCell = damagePerAttackCell .. ' ' .. icon.build({ 'explosion' }) | ||
end | end | ||
if damEffTotal > 0 then | if damEffTotal > 0 then | ||
local effectDuration = localdata["effect duration"] or "1" | local effectDuration = localdata["effect duration"] or "1" | ||
damagePerAttackCell = damagePerAttackCell .. ' + ' .. formatData(damEffTotal) | damagePerAttackCell = damagePerAttackCell .. ' + ' .. formatData(damEffTotal) | ||
if | if perksDamEff > 0 then damagePerAttackCell = damagePerAttackCell .. ' (' .. formatData(perksDamEffTotal) .. ')' end | ||
damagePerAttackCell = damagePerAttackCell .. ' sur ' .. effectDuration .. ' s ' .. icon.build({ 'effet' }) | damagePerAttackCell = damagePerAttackCell .. ' sur ' .. effectDuration .. ' s ' .. icon.build({ 'effet' }) | ||
end | end | ||
Ligne 197 : | Ligne 196 : | ||
if damExplProj > 0 then | if damExplProj > 0 then | ||
damagePerProjCell = damagePerProjCell .. ' + ' .. formatData(damExplProj) | damagePerProjCell = damagePerProjCell .. ' + ' .. formatData(damExplProj) | ||
if | if perksDamExplProj > 0 then damagePerProjCell = damagePerProjCell .. ' (' .. formatData(perksDamExplProjTotal) .. ')' end | ||
damagePerProjCell = damagePerProjCell .. ' ' .. icon.build({ 'explosion' }) | damagePerProjCell = damagePerProjCell .. ' ' .. icon.build({ 'explosion' }) | ||
end | end | ||
Ligne 204 : | Ligne 203 : | ||
local effectDuration = localdata["effect duration"] or "1" | local effectDuration = localdata["effect duration"] or "1" | ||
damagePerProjCell = damagePerProjCell .. ' + ' .. formatData(damEffProj) | damagePerProjCell = damagePerProjCell .. ' + ' .. formatData(damEffProj) | ||
if | if perksDamEffProj > 0 then damagePerProjCell = damagePerProjCell .. ' (' .. formatData(perksDamEffProjTotal) .. ')' end | ||
damagePerProjCell = damagePerProjCell .. ' sur ' .. effectDuration .. ' s ' .. icon.build({ 'effet' }) | damagePerProjCell = damagePerProjCell .. ' sur ' .. effectDuration .. ' s ' .. icon.build({ 'effet' }) | ||
end | end | ||
Ligne 212 : | Ligne 211 : | ||
if damEffTotal > 0 then | if damEffTotal > 0 then | ||
dpsCell = dpsCell .. ' + ' .. formatData(damEffTotal) | dpsCell = dpsCell .. ' + ' .. formatData(damEffTotal) | ||
if | if perksDamEff > 0 then dpsCell = dpsCell .. ' (' .. perksDamEffTotal .. ')' end | ||
dpsCell = dpsCell .. ' ' .. icon.build({ 'effet' }) | dpsCell = dpsCell .. ' ' .. icon.build({ 'effet' }) | ||
end | end | ||
Ligne 220 : | Ligne 219 : | ||
if damEffTotal > 0 then | if damEffTotal > 0 then | ||
dpsReloadCell = dpsReloadCell .. ' + ' .. formatData(damEffTotal) | dpsReloadCell = dpsReloadCell .. ' + ' .. formatData(damEffTotal) | ||
if | if perksDamEff > 0 then dpsReloadCell = dpsReloadCell .. ' (' .. formatData(perksDamEffTotal) .. ')' end | ||
dpsReloadCell = dpsReloadCell .. ' ' .. icon.build({ 'effet' }) | dpsReloadCell = dpsReloadCell .. ' ' .. icon.build({ 'effet' }) | ||
end | end | ||
Ligne 229 : | Ligne 228 : | ||
local attackPerSecondCell = formatData(attacksPerSec) | local attackPerSecondCell = formatData(attacksPerSec) | ||
if | if perksAttacksPerSec > 0 then attackPerSecondCell = attackPerSecondCell .. ' (' .. formatData(perksAttacksPerSecTotal) .. ')' end | ||
local reloadTimeCell = formatData(reloadTime) | local reloadTimeCell = formatData(reloadTime) | ||
if | if perksReloadTime > 0 then reloadTimeCell = reloadTimeCell .. ' (' .. formatData(perksReloadTimeTotal) .. ')' end | ||
-------------------------------------------------------- | -------------------------------------------------------- |
modifications