Module:Gm4Sprite/Aliases: Difference between revisions

m
I'm dumb.
m (Extra new line, oops.)
m (I'm dumb.)
Line 298: Line 298:
{'Neutralizing', '&9Neutralizing' },
{'Neutralizing', '&9Neutralizing' },
{'Phasing', '&9Phasing' },
{'Phasing', '&9Phasing' },
{'Pricking', '&7Thorns V&9Pricking' },
{'Pricking', '&7Thorns V/&9Pricking' },
{'Retreating', '&9Retreating' },
{'Retreating', '&9Retreating' },
{'Rushing', '&9Rushing' },
{'Rushing', '&9Rushing' },
Line 328: Line 328:
local combinedText = shard[2] .. '//&7When in off hand:'
local combinedText = shard[2] .. '//&7When in off hand:'


for _, text in ipairs( preAttackDamageText ) do
for _, shard2 in ipairs( preAttackDamageText ) do
if shard[1] == preAttackDamageText[1] then
if shard[1] == shard2[1] then
combinedText = combinedText .. preAttackDamageText[2]
combinedText = combinedText .. shard2[2]
end
end
end
end
Line 336: Line 336:
combinedText = combinedText .. '/&c-20% Attack Damage'
combinedText = combinedText .. '/&c-20% Attack Damage'


for _, text in ipairs( postAttackDamageText ) do
for _, shard2 in ipairs( postAttackDamageText ) do
if shard[1] == postAttackDamageText[1] then
if shard[1] == shard2[1] then
combinedText = combinedText .. postAttackDamageText[2]
combinedText = combinedText .. shard2[2]
end
end
end
end
Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,637

edits