Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,659
edits
(Okay this should work now) |
m (I found the problems.) |
||
Line 340: | Line 340: | ||
armourSlotText = armourSlotText .. ':/&9' | armourSlotText = armourSlotText .. ':/&9' | ||
-- | -- Plain Zauber Armour | ||
aliases[aliasName] = { title = '&b' .. 'Zauber ' .. armourProps[1], name = aliasName, text = armourSlotText .. '+' .. armourProps[3] .. ' Armour Toughness/+' .. armourProps[2] .. ' Armour' } | aliases[aliasName] = { title = '&b' .. 'Zauber ' .. armourProps[1], name = aliasName, text = armourSlotText .. '+' .. armourProps[3] .. ' Armour Toughness/+' .. armourProps[2] .. ' Armour' } | ||
-- Zauber Armour with specific buff | |||
for _, buff in ipairs( armourBuff ) do | for _, buff in ipairs( armourBuff ) do | ||
if buff == 'Health' then | if buff == 'Health' then | ||
armourSlotTextBuffed = armourSlotText .. '+4 Max Health/' | |||
elseif buff == 'Knockback' then | elseif buff == 'Knockback' then | ||
armourSlotTextBuffed = armourSlotText .. '+0.25 Knockback Resistance/' | |||
elseif buff == 'Speed' then | elseif buff == 'Speed' then | ||
armourSlotTextBuffed = armourSlotText .. '+10% Speed/' | |||
else | else | ||
armourSlotTextBuffed = armourSlotText .. '+35% Attack Damage/' | |||
end | end | ||
aliasNameBuffed = aliasName .. ' (' .. buff .. ')' | |||
aliases[ | aliases[aliasNameBuffed] = { title = '&b' .. 'Zauber ' .. armourProps[1], name = aliasName, text = armourSlotTextBuffed .. '+' .. armourProps[3] .. ' Armour Toughness/+' .. armourProps[2] .. ' Armour' } | ||
end | end | ||
end | end |
edits