Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator
2,564
edits
(fix the Lua error) |
(default Soul Shard shouldn't have 2 blank lines, fix postAttackDamageText, add correct lore to Orb of Ankou) |
||
Line 66: | Line 66: | ||
'Orb of Ankou', | 'Orb of Ankou', | ||
['Orb of Ankou (Empty)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Empty)', text = '&7&oEmpty' }, | ['Orb of Ankou (Empty)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Empty)', text = '&7&oEmpty' }, | ||
['Soul Shard'] = { name = 'Soul Shard', text = ' | ['Soul Shard'] = { name = 'Soul Shard', text = '/&7When in Off Hand:/&c-20% Attack Damage' }, | ||
'SCUBA Gear', | 'SCUBA Gear', | ||
Line 234: | Line 234: | ||
for _, shard2 in ipairs( preAttackDamageText ) do | for _, shard2 in ipairs( preAttackDamageText ) do | ||
if shard | if shard == shard2[1] then | ||
combinedText = combinedText .. '/' .. shard2[2] | combinedText = combinedText .. '/' .. shard2[2] | ||
end | end | ||
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 .. ')' | ||
aliases[name] = { title = '&bOrb of Ankou', name = name, text = | local combinedText = '&dPneumas:/&9' .. shard .. '//&7When in Off Hand:' | ||
for _, shard2 in ipairs( preLore ) do | |||
if shard == shard2[1] then | |||
combinedText = shard2[2] .. '/' .. combinedText | |||
end | |||
end | |||
for _, shard2 in ipairs( preAttackDamageText ) do | |||
if shard == shard2[1] then | |||
combinedText = combinedText .. '/' .. shard2[2] | |||
end | |||
end | |||
combinedText = combinedText .. '/&c-20% Attack Damage' | |||
for _, shard2 in ipairs( postAttackDamageText ) do | |||
if shard == shard2[1] then | |||
combinedText = combinedText .. '/' .. shard2[2] | |||
end | |||
end | |||
aliases[name] = { title = '&bOrb of Ankou', name = name, text = combinedText } | |||
end | end | ||
return aliases | return aliases |
edits