Skip to content
Snippets Groups Projects
Commit 01a47b57 authored by dg's avatar dg
Browse files

Added cloaks along with their egos

Added new world artifacts


git-svn-id: http://svn.net-core.org/repos/t-engine4@1273 51575b47-30f0-44d4-a5cc-537603b46e54
parent 0d7b491c
No related branches found
No related tags found
No related merge requests found
-- ToME - Tales of Middle-Earth
-- Copyright (C) 2009, 2010 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
--
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
newEntity{
define_as = "BASE_CLOAK",
slot = "BACK",
type = "armor", subtype="cloak",
add_name = " (#ARMOR#)",
display = "(", color=colors.UMBER, image = resolvers.image_material("cloak", "cloth"),
encumber = 2,
rarity = 6,
desc = [[A cloth coat typically worn as a loose outer garment. It is spacious enough to be worn even over bulky metal armour.]],
egos = "/data/general/objects/egos/cloak.lua", egos_chance = { prefix=resolvers.mbonus(40, 5), suffix=resolvers.mbonus(40, 5) },
}
newEntity{ base = "BASE_CLOAK",
name = "linen cloak",
level_range = {1, 20},
cost = 2,
material_level = 1,
wielder = {
combat_def = 1,
},
}
newEntity{ base = "BASE_CLOAK",
name = "cashmere cloak",
level_range = {20, 40},
cost = 4,
material_level = 3,
wielder = {
combat_def = 2,
},
}
newEntity{ base = "BASE_CLOAK",
name = "elven-silk cloak",
level_range = {40, 50},
cost = 7,
material_level = 5,
wielder = {
combat_def = 3,
},
}
-- ToME - Tales of Middle-Earth
-- Copyright (C) 2009, 2010 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
--
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
local Stats = require "engine.interface.ActorStats"
local DamageType = require "engine.DamageType"
load("/data/general/objects/egos/charged-defensive.lua")
newEntity{
name = "shadow ", prefix=true, instant_resolve=true,
level_range = {20, 50},
rarity = 5,
cost = 6,
wielder = {
inc_stealth = resolvers.mbonus_material(20, 5, function(e, v) return v * 1, v end),
},
}
newEntity{
name = "thick ", prefix=true, instant_resolve=true,
level_range = {1, 40},
rarity = 6,
cost = 7,
wielder = {
resists={[DamageType.COLD] = resolvers.mbonus_material(20, 10, function(e, v) return v * 0.15 end)},
},
}
newEntity{
name = "plush ", prefix=true, instant_resolve=true,
level_range = {1, 50},
rarity = 6,
cost = 7,
wielder = {
combat_armor = resolvers.mbonus_material(8, 5, function(e, v) return v * 1 end),
},
}
newEntity{
name = " of the Shire", suffix=true,
level_range = {1, 50},
rarity = 6,
cost = 10,
wielder = {
inc_stats = { [Stats.STAT_DEX] = 2, [Stats.STAT_CUN] = 2, },
},
}
newEntity{
name = " of the Sindar", suffix=true,
level_range = {1, 50},
rarity = 6,
cost = 10,
wielder = {
inc_stats = { [Stats.STAT_MAG] = 2, [Stats.STAT_WIL] = 2, },
},
}
newEntity{
name = " of Lonely Mountain", suffix=true,
level_range = {1, 50},
rarity = 6,
cost = 10,
wielder = {
inc_stats = { [Stats.STAT_STR] = 2, [Stats.STAT_CON] = 2, },
},
}
......@@ -24,7 +24,7 @@ newEntity{
slot = "HANDS",
type = "armor", subtype="hands",
add_name = " (#ARMOR#)",
display = "[", color=colors.UMBER,
display = "[", color=colors.SLATE,
image = resolvers.image_material("gauntlets", "metal"),
require = { talent = { Talents.T_HEAVY_ARMOUR_TRAINING }, },
encumber = 1.5,
......
......@@ -70,6 +70,7 @@ loadIfNot("/data/general/objects/leather-boots.lua")
loadIfNot("/data/general/objects/heavy-boots.lua")
loadIfNot("/data/general/objects/gloves.lua")
loadIfNot("/data/general/objects/gauntlets.lua")
loadIfNot("/data/general/objects/cloak.lua")
-- Mounts
loadIfNot("/data/general/objects/mounts.lua")
......
......@@ -580,6 +580,42 @@ newEntity{ base = "BASE_HELM",
use_talent = { id = Talents.T_WARSHOUT, level = 2, power = 80 },
}
newEntity{ base = "BASE_GLOVES",
unique = true,
name = "Gloves of the Firm Hand",
unided_name = "heavy gloves",
desc = [[These gloves make you feel rock steady! These magical gloves feel really soft on the touch from the inside. On the outside magical stones create a rough surface that is constantly shifting. When you brace yourself a magical ray of earth energy seems to automatically bind them to the ground, granting you increased stability.]],
level_range = {17, 27},
rarity = 210,
cost = 150,
material_level = 3,
wielder = {
inc_stats = { [Stats.STAT_CON] = resolvers.mbonus_material(4, 2, function(e, v) return v * 3 end) },
disarm_immune=0.3,
knockback_immune=0.3,
stun_immune=0.3,
},
}
newEntity{ base = "BASE_CLOAK",
unique = true,
name = "Cloak of Grima",
unided_name = "tattered cloak",
desc = [[Worn by the Wormtongue when feigning to be a councilor to Theoden while carrying intelligence back to Saruman.]],
level_range = {20, 29},
rarity = 240,
cost = 200,
material_level = 3,
wielder = {
combat_def = 10,
inc_stats = { [Stats.STAT_CUN] = 4, [Stats.STAT_CUN] = 3, },
talents_types_mastery = { ["cunning/stealth"] = 0.1, },
},
max_power = 60, power_regen = 1,
use_talent = { id = Talents.T_PHASE_DOOR, level = 2, power = 30 },
}
--[=[
newEntity{
unique = true,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment