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

even more arts

git-svn-id: http://svn.net-core.org/repos/t-engine4@1534 51575b47-30f0-44d4-a5cc-537603b46e54
parent 57d40c42
No related branches found
No related tags found
No related merge requests found
......@@ -674,6 +674,21 @@ newDamageType{
end,
}
-- Confusion
newDamageType{
name = "% chances to confuse", type = "RANDOM_CONFUSION",
projector = function(src, x, y, type, dam)
local target = game.level.map(x, y, Map.ACTOR)
if target and rng.percent(dam) then
if target:checkHit((dam.power_check or src.combatSpellpower)(src), (dam.resist_check or target.combatMentalResist)(target), 0, 95, 15) and target:canBe("confusion") then
target:setEffect(target.EFF_CONFUSED, dam, {power=75})
else
game.logSeen(target, "%s resists!", target.name:capitalize())
end
end
end,
}
-- Physical + Blind
newDamageType{
name = "sand", type = "SAND",
......
......@@ -686,6 +686,26 @@ newEntity{ base = "BASE_GREATMAUL",
},
}
newEntity{ base = "BASE_MACE",
unique = true,
name = "Crooked Club", color = colors.GREEN,
unided_name = "weird club",
desc = [[An oddly twisted club with a hefty weight on the end.]],
level_range = {3, 12},
rarity = 192,
require = { stat = { str=20, cun=19 }, },
cost = 250,
material_level = 2,
combat = {
dam = 18,
apr = 4,
atk = 12,
physcrit = 10,
dammod = {str=1},
melee_project={[DamageType.RANDOM_CONFUSION] = 14},
},
}
newEntity{ base = "BASE_CLOTH_ARMOR",
unique = true,
name = "Spider-Silk Robe of Torech Ungo", color = colors.DARK_GREEN,
......@@ -929,6 +949,26 @@ newEntity{ base = "BASE_WARAXE",
},
}
newEntity{ base = "BASE_WHIP",
unided_name = "metal whip",
name = "Scorpion's Tail", color=colors.GREEN, unique = true,
desc = [[A long whip of linked metal joints finished with a viciously sharp barb leaking venomous poison.]],
require = { stat = { dex=28 }, },
cost = 150,
material_level = 3,
combat = {
dam = 28,
apr = 8,
atk = 10,
physcrit = 5,
dammod = {dex=1},
},
wielder = {
see_invisible = 9,
melee_project={[DamageType.POISON] = 22},
},
}
--[=[
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