Skip to content
Snippets Groups Projects
Commit 0e588698 authored by dg's avatar dg
Browse files

fix artifact shields; they can block too

git-svn-id: http://svn.net-core.org/repos/t-engine4@4844 51575b47-30f0-44d4-a5cc-537603b46e54
parent 0842a301
No related branches found
No related tags found
No related merge requests found
......@@ -380,6 +380,8 @@ newEntity{ base = "BASE_SHIELD",
damtype = DamageType.ARCANE,
},
wielder = {
learn_talent = { [Talents.T_BLOCK] = 5 },
resists={[DamageType.DARKNESS] = 25},
inc_damage={[DamageType.DARKNESS] = 15},
......@@ -416,6 +418,7 @@ newEntity{ base = "BASE_SHIELD",
dammod = {str=0.4},
},
wielder = {
learn_talent = { [Talents.T_BLOCK] = 5 },
combat_armor = 10,
combat_def = 9,
fatigue = 14,
......@@ -713,6 +716,7 @@ newEntity{ base = "BASE_SHIELD",
dammod = {str=1},
},
wielder = {
learn_talent = { [Talents.T_BLOCK] = 5 },
combat_armor = 4,
combat_def = 14,
combat_def_ranged = 14,
......@@ -1239,7 +1243,7 @@ It has been kept somewhat intact with layers of salt and clay, but in spite of t
local grids = core.fov.circle_grids(actor.x, actor.y, 1, true)
local Map = require "engine.Map"
local is_trap = false
for x, yy in pairs(grids) do for y, _ in pairs(yy) do
local trap = game.level.map(x, y, Map.TRAP)
if trap then
......
......@@ -97,6 +97,7 @@ newEntity{ base = "BASE_SHIELD",
damtype = DamageType.LIGHT,
},
wielder = {
learn_talent = { [Talents.T_BLOCK] = 5 },
lite = 2,
combat_armor = 9,
combat_def = 16,
......
......@@ -539,7 +539,7 @@ newEntity{ base = "BASE_LONGBOW",
wielder = {
inc_damage={ [DamageType.PHYSICAL] = 12, },
lite = 1,
inc_stats = { [Stats.STAT_DEX] = 5, [Stats.STAT_WIL] = 4, },
inc_stats = { [Stats.STAT_DEX] = 5, [Stats.STAT_WIL] = 4, },
},
}
......@@ -722,6 +722,7 @@ newEntity{ base = "BASE_SHIELD",
damtype = DamageType.FIRE,
},
wielder = {
learn_talent = { [Talents.T_BLOCK] = 5 },
resists={[DamageType.FIRE] = 35},
on_melee_hit={[DamageType.FIRE] = 17},
combat_armor = 9,
......@@ -751,6 +752,7 @@ newEntity{ base = "BASE_SHIELD",
dammod = {str=0.8,},
},
wielder = {
learn_talent = { [Talents.T_BLOCK] = 5 },
combat_armor = 18,
combat_def = 20,
combat_def_ranged = 10,
......
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