Module:Gm4Sprite/Aliases: Difference between revisions

Added Ghostly potions, checking Zauber armour
m (I found the problems.)
(Added Ghostly potions, checking Zauber armour)
Line 88: Line 88:
['Zauber Regeneration Potion'] = { title = 'Potion of Regeneration', name = 'Zauber Regeneration Potion', text = '&9Regeneration IV (0:22)/Speed III (0:16)' },
['Zauber Regeneration Potion'] = { title = 'Potion of Regeneration', name = 'Zauber Regeneration Potion', text = '&9Regeneration IV (0:22)/Speed III (0:16)' },
['Zauber Strength Potion'] = { title = 'Potion of Strength', name = 'Zauber Strength Potion', text = '&9Strength IV (1:30)//&5When Applied:/&9+12 Attack Damage' },
['Zauber Strength Potion'] = { title = 'Potion of Strength', name = 'Zauber Strength Potion', text = '&9Strength IV (1:30)//&5When Applied:/&9+12 Attack Damage' },
['Zauber Leaping Potion'] = { title = 'Potion of Leaping', name = 'Zauber Leaping Potion', text = '&9Jump Boost IV (1:30)' }
['Zauber Leaping Potion'] = { title = 'Potion of Leaping', name = 'Zauber Leaping Potion', text = '&9Jump Boost IV (1:30)' },
 
['Ghostly Zauber Swiftness Potion'] = { title = 'Ghostly Potion of Swiftness', name = 'Zauber Swiftness Potion', text = '&73/3 Sips/&9Speed IV (3:20)/&cWeakness IV (6:00)//&5When Applied:/&9+80% Speed/-16% Attack Damage' },
['Ghostly Zauber Healing Potion'] = { title = 'Ghostly Potion of Healing', name = 'Zauber Healing Potion', text = '&73/3 Sips/&9Instant Health IV/&cNausea (0:08)' },
['Ghostly Zauber Harming Potion'] = { title = 'Ghostly Potion of Harming', name = 'Zauber Harming Potion', text = '&73/3 Sips/&cInstant Damage IV' },
['Ghostly Zauber Poison Potion'] = { title = 'Ghostly Potion of Poison', name = 'Zauber Poison Potion', text = '&73/3 Sips/&cPoison IV (0:32)' },
['Ghostly Zauber Regeneration Potion'] = { title = 'Ghostly Potion of Regeneration', name = 'Zauber Regeneration Potion', text = '&73/3 Sips/&9Regeneration IV (0:22)/Speed III (0:16)' },
['Ghostly Zauber Strength Potion'] = { title = 'Ghostly Potion of Strength', name = 'Zauber Strength Potion', text = '&73/3 Sips/&9Strength IV (1:30)//&5When Applied:/&9+12 Attack Damage' },
['Ghostly Zauber Leaping Potion'] = { title = 'Ghostly Potion of Leaping', name = 'Zauber Leaping Potion', text = '&73/3 Sips/&9Jump Boost IV (1:30)' }
}
}


Line 307: Line 315:


-- Zauber
-- Zauber
-- Armour Pieces
local armourPiece = {
local armourPiece = {
{ 'Helmet', 3, 3 },
{ 'Helmet', 3, 3 },
Line 341: Line 350:


-- Plain Zauber Armour
-- 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' .. aliasName, name = aliasName, text = armourSlotText .. '+' .. armourProps[3] .. ' Armour Toughness/+' .. armourProps[2] .. ' Armour' }
-- Zauber Armour with specific buff
-- Zauber Armour with specific buff
Line 347: Line 356:


if buff == 'Health' then
if buff == 'Health' then
armourSlotTextBuffed = armourSlotText .. '+4 Max Health/'
armourSlotTextBuffed = armourSlotText .. '+4 Max Health'
elseif buff == 'Knockback' then
elseif buff == 'Knockback' then
armourSlotTextBuffed = armourSlotText .. '+0.25 Knockback Resistance/'
armourSlotTextBuffed = armourSlotText .. '+0.25 Knockback Resistance'
elseif buff == 'Speed' then
elseif buff == 'Speed' then
armourSlotTextBuffed = armourSlotText .. '+10% Speed/'
armourSlotTextBuffed = armourSlotText .. '+10% Speed'
else
else
armourSlotTextBuffed = armourSlotText .. '+35% Attack Damage/'
armourSlotTextBuffed = armourSlotText .. '+35% Attack Damage'
end
end


aliasNameBuffed = aliasName .. ' (' .. buff .. ')'
aliasNameBuffed = aliasName .. ' (' .. buff .. ')'
aliases[aliasNameBuffed] = { title = '&b' .. 'Zauber ' .. armourProps[1], name = aliasName, text = armourSlotTextBuffed .. '+' .. armourProps[3] .. ' Armour Toughness/+' .. armourProps[2] .. ' Armour' }
aliases[aliasNameBuffed] = { title = '&b' .. aliasName, name = aliasName, text = armourSlotTextBuffed .. '/+' .. armourProps[3] .. ' Armour Toughness/+' .. armourProps[2] .. ' Armour' }
end
end
end
end




return aliases
return aliases
Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,637

edits