4,951
edits
Falterfire (talk | contribs) (Attempting to tweak formatting for Normal Attacks) |
Falterfire (talk | contribs) (removed stray colon) |
||
Line 751: | Line 751: | ||
local normalDmgText = ' 1 - '..Shared.formatnum(p._getMonsterBaseMaxHit(monster))..' '..typeText..' Damage' | local normalDmgText = ' 1 - '..Shared.formatnum(p._getMonsterBaseMaxHit(monster))..' '..typeText..' Damage' | ||
if normalAttackChance > 0 and normalAttackChance < 100 then | if normalAttackChance > 0 and normalAttackChance < 100 then | ||
normalDmgText = normalAttackChance .. '% ' ..iconText..' Normal Attack | normalDmgText = normalAttackChance .. '% ' ..iconText..' Normal Attack\r\n** '..normalDmgText | ||
elseif hasActiveBuffSpec and normalAttackChance == 0 then | elseif hasActiveBuffSpec and normalAttackChance == 0 then | ||
--If the monster normally has a 0% chance of doing a normal attack but some special attacks can't be repeated, include it | --If the monster normally has a 0% chance of doing a normal attack but some special attacks can't be repeated, include it | ||
--(With a note about when it does it) | --(With a note about when it does it) | ||
normalDmgText = iconText..' Normal Attack | normalDmgText = iconText..' Normal Attack\r\n** '..normalDmgText .. ' (Instead of repeating '..table.concat(buffAttacks, ' or ')..' while the effect is already active)' | ||
end | end | ||
result = '* ' .. normalDmgText .. result | result = '* ' .. normalDmgText .. result |