Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,659
edits
(add "Band" to the end of shamirs band type) |
(Zauber armor maybe? Let's see if this works.) |
||
Line 305: | Line 305: | ||
aliases[name] = { title = title, name = name, text = '&o&eRelocator' } | aliases[name] = { title = title, name = name, text = '&o&eRelocator' } | ||
end | end | ||
-- Zauber | |||
local armourPiece = { | |||
{ 'Helmet', 3, 3 }, | |||
{ 'Chestplate', 7, 3 }, | |||
{ 'Leggings', 5, 3 }, | |||
{ 'Boots', 2, 3 } | |||
} | |||
-- Armour Buffs | |||
local armourBuff = { | |||
'Health', | |||
'Knockback', | |||
'Speed', | |||
'Strength' | |||
} | |||
for _, armourPiece in ipairs (armourPiece ) do | |||
local aliasName = 'Zauber ' .. armourPiece | |||
local armourSlotText = '&9+25% Magic//&7When on ' | |||
if armourPiece[1] == 'Helmet' then | |||
armourSlotText = armourSlotText .. 'head' | |||
elseif armourPiece[1] == 'Chestplate' then | |||
armourSlotText = armourSlotText .. 'body' | |||
elseif armourPiece[1] == 'Leggings' then | |||
armourSlotText = armourSlotText .. 'legs' | |||
else | |||
armourSlotText = armourSlotText .. 'feet' | |||
end | |||
armourSlotText = armourSlotText .. ':/&9' | |||
-- If Armour Toughness (diamond armour) | |||
aliases[aliasName] = { title = '&b' .. 'Zauber ' .. armourPiece, name = aliasName, text = armourSlotText .. '+' .. armourPiece[3] .. ' Armour Toughness/+' .. armourPiece[2] .. ' Armour' } | |||
for _, armourBuff in ipairs( armourBuff ) do | |||
if armourBuff == 'Health' then | |||
armourSlotText = armourSlotText .. '+4 Max Health/' | |||
elseif armourBuff == 'Knockback' then | |||
armourSlotText = armourSlotText .. '+0.25 Knockback Resistance/' | |||
elseif armourBuff == 'Speed' then | |||
armourSlotText = armourSlotText .. '+10% Speed/' | |||
else | |||
armourSlotText = armourSlotText .. '+35% Attack Damage/' | |||
end | |||
-- If Armour Toughness (diamond armour) | |||
aliases[aliasName] = { title = '&b' .. 'Zauber ' .. armourPiece, name = aliasName, text = armourSlotText .. '+' .. armourPiece[3] .. ' Armour Toughness/+' .. armourPiece[2] .. ' Armour' } | |||
end | |||
end | |||
return aliases | return aliases |
edits