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

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@4496 51575b47-30f0-44d4-a5cc-537603b46e54
parent 227d52e9
No related branches found
No related tags found
No related merge requests found
......@@ -1405,4 +1405,4 @@ newEffect{
self:removeTemporaryValue("combat_def", eff.defenseid)
self:removeParticles(eff.particle)
end,
}
\ No newline at end of file
}
......@@ -99,7 +99,7 @@ newEffect{
name = "TIME_SHIELD",
desc = "Time Shield",
long_desc = function(self, eff) return ("The target is surrounded by a time distortion, absorbing %d/%d damage and sending it forward in time."):format(self.time_shield_absorb, eff.power) end,
type = "other",
type = "other",
subtype = { time=true, shield=true },
status = "beneficial",
parameters = { power=10 },
......@@ -135,7 +135,7 @@ newEffect{
name = "TIME_DOT",
desc = "Time Shield Backfire",
long_desc = function(self, eff) return ("The time distortion protecting the target has ended. All damage forwarded in time is now applied, doing %d arcane damage per turn."):format(eff.power) end,
type = "other",
type = "other",
subtype = { time=true },
status = "detrimental",
parameters = { power=10 },
......@@ -326,6 +326,7 @@ newEffect{
return
end
game.logPlayer(game.player, "#LIGHT_BLUE#You unfold the spacetime continuum to a previous state!")
game:chronoRestore("precognition", true)
game.player.tmp[self.EFF_PRECOGNITION] = nil
if game._chronoworlds then game._chronoworlds = nil end
if game.player:knowTalent(game.player.T_FORESIGHT) then
......@@ -492,7 +493,7 @@ newEffect{
desc = "Sever Lifeline",
long_desc = function(self, eff) return ("The target lifeline is being cut. When the effect ends %0.2f temporal damage will hit the target."):format(eff.power) end,
type = "other",
subtype = { time=true },
subtype = { time=true },
status = "detrimental",
parameters = {power=10000},
on_gain = function(self, err) return "#Target# lifeline is being severed!", "+Sever Lifeline" 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