oen432
Legendary OT User
God damn it man... Take it and get out.
Lua:
ITEM_SETS = {
[1] = {
-- set id
name = "Supremy Set/Mage", -- name of this set
parts = {
-- items that are part of this set
{slot = CONST_SLOT_HEAD, item = 27065}, -- slot is where this item can be equipped, item is item id
{slot = CONST_SLOT_ARMOR, item = 25188},
{slot = CONST_SLOT_LEGS, item = 21700},
{slot = CONST_SLOT_FEET, item = 25412}
},
bonuses = {
-- list of bonuses based on number of parts equipped
[1] = {
-- bonuses when 1 part is equipped
{type = BONUS_TYPE_MELEE_SKILLS, value = 1}, -- add +1 to all melee skills
{type = BONUS_TYPE_DISTANCE_FIGHTING, value = 1}, -- add +1 to distance fighting
{type = BONUS_TYPE_SHIELDING, value = 1}, -- add +1 to shielding
{type = BONUS_TYPE_MAXHP, value = 5} -- add +5% max HP
},
[2] = {
-- bonuses when 2 parts are equipped
{type = BONUS_TYPE_MELEE_SKILLS, value = 3}, -- add +3 to all melee skills
{type = BONUS_TYPE_DISTANCE_FIGHTING, value = 3}, -- add +3 to distance fighting
{type = BONUS_TYPE_SHIELDING, value = 3}, -- add +3 to shielding
{type = BONUS_TYPE_MAXHP, value = 8} -- add +8% max HP
},
[3] = {
-- bonuses when 3 parts are equipped
{type = BONUS_TYPE_MELEE_SKILLS, value = 5},
{type = BONUS_TYPE_DISTANCE_FIGHTING, value = 5},
{type = BONUS_TYPE_SHIELDING, value = 5},
{type = BONUS_TYPE_MAXHP, value = 12}
},
[4] = {
-- bonuses when 4 parts are equipped
{type = BONUS_TYPE_MELEE_SKILLS, value = 8}, -- add +8 to all melee skills
{type = BONUS_TYPE_DISTANCE_FIGHTING, value = 8}, -- add +8 to distance fighting
{type = BONUS_TYPE_SHIELDING, value = 8}, -- add +8 to shielding
{type = BONUS_TYPE_MAXHP, value = 15}, -- add +15% max HP
{type = BONUS_TYPE_FLAMESTRIKE_ON_ATTACK, min = 100, max = 150, chance = 40}, -- cast Flame Strike on Attack, 100-150 damage, 40% chance
{type = BONUS_TYPE_FLAMESTRIKE_ON_HIT, min = 100, max = 150, chance = 40} -- cast Flame Strike on Hit, 100-150 damage, 40% chance
}
},
[2] = {
-- set id
name = "Supremy Set/EK/RP", -- name of this set
parts = {
-- items that are part of this set
{slot = CONST_SLOT_HEAD, item = 2499}, -- slot is where this item can be equipped, item is item id
{slot = CONST_SLOT_ARMOR, item = 2500},
{slot = CONST_SLOT_LEGS, item = 25190},
{slot = CONST_SLOT_FEET, item = 25412}
},
bonuses = {
-- list of bonuses based on number of parts equipped
[1] = {
-- bonuses when 1 part is equipped
{type = BONUS_TYPE_MELEE_SKILLS, value = 1}, -- add +1 to all melee skills
{type = BONUS_TYPE_DISTANCE_FIGHTING, value = 1}, -- add +1 to distance fighting
{type = BONUS_TYPE_SHIELDING, value = 1}, -- add +1 to shielding
{type = BONUS_TYPE_MAXHP, value = 5} -- add +5% max HP
},
[2] = {
-- bonuses when 2 parts are equipped
{type = BONUS_TYPE_MELEE_SKILLS, value = 3}, -- add +3 to all melee skills
{type = BONUS_TYPE_DISTANCE_FIGHTING, value = 3}, -- add +3 to distance fighting
{type = BONUS_TYPE_SHIELDING, value = 3}, -- add +3 to shielding
{type = BONUS_TYPE_MAXHP, value = 8} -- add +8% max HP
},
[3] = {
-- bonuses when 3 parts are equipped
{type = BONUS_TYPE_MELEE_SKILLS, value = 5},
{type = BONUS_TYPE_DISTANCE_FIGHTING, value = 5},
{type = BONUS_TYPE_SHIELDING, value = 5},
{type = BONUS_TYPE_MAXHP, value = 12}
},
[4] = {
-- bonuses when 4 parts are equipped
{type = BONUS_TYPE_MELEE_SKILLS, value = 8}, -- add +8 to all melee skills
{type = BONUS_TYPE_DISTANCE_FIGHTING, value = 8}, -- add +8 to distance fighting
{type = BONUS_TYPE_SHIELDING, value = 8}, -- add +8 to shielding
{type = BONUS_TYPE_MAXHP, value = 15}, -- add +15% max HP
{type = BONUS_TYPE_FLAMESTRIKE_ON_ATTACK, min = 100, max = 150, chance = 40}, -- cast Flame Strike on Attack, 100-150 damage, 40% chance
{type = BONUS_TYPE_FLAMESTRIKE_ON_HIT, min = 100, max = 150, chance = 40} -- cast Flame Strike on Hit, 100-150 damage, 40% chance
}
}
}
}
}