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

nearllllyyy donnnneee

git-svn-id: http://svn.net-core.org/repos/t-engine4@4050 51575b47-30f0-44d4-a5cc-537603b46e54
parent 3e8344d8
No related branches found
No related tags found
No related merge requests found
Showing
with 27 additions and 2 deletions
......@@ -89,3 +89,8 @@ newAchievement{
end
end,
}
newAchievement{
name = "Lichform",
desc = [[Achieved your wild dreams of power and eternal life: you turned into a Lich!]],
show = "name",
}
......@@ -55,7 +55,7 @@ newBirthDescriptor{
starting_level = 4, starting_level_force_down = true,
starting_quest = "start-undead",
undead = 1,
inscription_restrictions = { ["inscriptions/runes"] = true, },
inscription_restrictions = { ["inscriptions/runes"] = true, ["inscriptions/taints"] = true, },
resolvers.inscription("RUNE:_SHIELDING", {cooldown=14, dur=5, power=100}),
resolvers.inscription("RUNE:_PHASE_DOOR", {cooldown=7, range=10}),
},
......
......@@ -147,7 +147,7 @@ setDefaultProjector(function(src, x, y, type, dam, tmp, no_martyr)
local t = target:getTalentFromId(target.T_ANTIMAGIC_SHIELD)
dam = t.on_damage(target, t, type, dam)
end
if target.isTalentActive and target:isTalentActive(target.T_ENERGY_DECOMPOSITION) then
local t = target:getTalentFromId(target.T_ENERGY_DECOMPOSITION)
dam = t.on_damage(target, t, type, dam)
......@@ -1587,3 +1587,23 @@ newDamageType{
return realdam
end,
}
newDamageType{
name = "circle of death", type = "CIRCLE_DEATH",
projector = function(src, x, y, type, dam)
local target = game.level.map(x, y, Map.ACTOR)
if target and (src:reactionToward(target) < 0 or dam.ff) then
for eff_id, p in pairs(target.tmp) do
local e = target.tempeffect_def[eff_id]
if e.type == "bane" then return end
end
local what = rng.percent(50) and "blind" or "confusion"
if target:checkHit(src:combatSpellpower(), target:combatSpellResist(), 0, 95, 15) and target:canBe(what) then
target:setEffect(what == "blind" and target.EFF_BANE_BLINDED or target.EFF_BANE_CONFUSED, math.ceil(dam.dur), {src=src, power=50, dam=dam.dam})
else
game.logSeen(target, "%s resists the bane!", target.name:capitalize())
end
end
end,
}
game/modules/tome/data/gfx/talents/assault.png

1.72 KiB

game/modules/tome/data/gfx/talents/battle_call.png

5.73 KiB

game/modules/tome/data/gfx/talents/battle_cry.png

4.98 KiB

game/modules/tome/data/gfx/talents/battle_shout.png

4.29 KiB

game/modules/tome/data/gfx/talents/disengage.png

2.77 KiB

game/modules/tome/data/gfx/talents/heave.png

3.29 KiB

game/modules/tome/data/gfx/talents/juggernaut.png

5.38 KiB

game/modules/tome/data/gfx/talents/last_stand.png

2.51 KiB

game/modules/tome/data/gfx/talents/onslaught.png

4.28 KiB

game/modules/tome/data/gfx/talents/overpower.png

3.22 KiB

game/modules/tome/data/gfx/talents/repulsion.png

5.11 KiB

game/modules/tome/data/gfx/talents/riposte.png

4.29 KiB

game/modules/tome/data/gfx/talents/second_wind.png

5.02 KiB

game/modules/tome/data/gfx/talents/shattering_impact.png

5.28 KiB

game/modules/tome/data/gfx/talents/shattering_shout.png

3.26 KiB

game/modules/tome/data/gfx/talents/shield_expertise.png

3.16 KiB

game/modules/tome/data/gfx/talents/shield_pummel.png

2.74 KiB

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