Skip to content
Snippets Groups Projects
Commit 595baede authored by DarkGod's avatar DarkGod
Browse files

Golden Age of Necromancy is now 1 turn invulnerability (it was intended this...

Golden Age of Necromancy is now 1 turn invulnerability (it was intended this way but I was dumb and didnt find a way to do it until now)
parent 266ace9a
No related branches found
No related tags found
No related merge requests found
...@@ -155,7 +155,7 @@ newTalent{ ...@@ -155,7 +155,7 @@ newTalent{
info = function(self, t) info = function(self, t)
return ([[You recall the age long gone where necromancers had free reign over the world. return ([[You recall the age long gone where necromancers had free reign over the world.
Increases all saves by %d, confusion and teleport resistances by %d%%. Increases all saves by %d, confusion and teleport resistances by %d%%.
At level 5 any time you cross the 1 life threshold you become invulnerable for 2 turns.]]) At level 5 any time you cross the 1 life threshold you become invulnerable for 1 turns.]])
:tformat(t:_getSaves(self), t:_getImmune(self)) :tformat(t:_getSaves(self), t:_getImmune(self))
end, end,
} }
...@@ -4927,6 +4927,7 @@ newEffect{ ...@@ -4927,6 +4927,7 @@ newEffect{
on_lose = function(self, err) return nil, true end, on_lose = function(self, err) return nil, true end,
activate = function(self, eff) activate = function(self, eff)
self:effectTemporaryValue(eff, "invulnerable", 1) self:effectTemporaryValue(eff, "invulnerable", 1)
eff.dur = 0 -- Force one turn
end, end,
} }
......
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