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

Precognition dissipates when switching level

parent 6d0f7d90
No related branches found
No related tags found
No related merge requests found
......@@ -307,6 +307,10 @@ newEffect{
subtype = { time=true },
status = "beneficial",
parameters = { power=10 },
cancel_on_level_change = function(self, eff)
game.logPlayer(game.player, "#LIGHT_BLUE#Precognition fizzles and dissipates.")
game._chronoworlds = nil
end,
activate = function(self, eff)
game:onTickEnd(function()
game:chronoClone("precognition")
......
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