Module:Gm4Sprite/Aliases: Difference between revisions

fix incorrect variable name
(default Soul Shard shouldn't have 2 blank lines, fix postAttackDamageText, add correct lore to Orb of Ankou)
(fix incorrect variable name)
Line 260: Line 260:
for _, pneuma in ipairs( pneumas ) do
for _, pneuma in ipairs( pneumas ) do
local name = 'Orb of Ankou (' .. pneuma .. ')'
local name = 'Orb of Ankou (' .. pneuma .. ')'
local combinedText = '&dPneumas:/&9' .. shard .. '//&7When in Off Hand:'
local combinedText = '&dPneumas:/&9' .. pneuma .. '//&7When in Off Hand:'


for _, shard2 in ipairs( preLore ) do
for _, pneuma2 in ipairs( preLore ) do
if shard == shard2[1] then
if pneuma == pneuma2[1] then
combinedText = shard2[2] .. '/' .. combinedText
combinedText = pneuma2[2] .. '/' .. combinedText
end
end
end
end


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


for _, shard2 in ipairs( postAttackDamageText ) do
for _, pneuma2 in ipairs( postAttackDamageText ) do
if shard == shard2[1] then
if pneuma == pneuma2[1] then
combinedText = combinedText .. '/' .. shard2[2]
combinedText = combinedText .. '/' .. pneuma2[2]
end
end
end
end
Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator
2,563

edits