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

hehe yeah

git-svn-id: http://svn.net-core.org/repos/t-engine4@6810 51575b47-30f0-44d4-a5cc-537603b46e54
parent d0ff1688
No related branches found
No related tags found
No related merge requests found
......@@ -4510,6 +4510,10 @@ function _M:on_set_temporary_effect(eff_id, e, p)
p.dur = 0
end
if game.difficulty == game.DIFFICULTY_EASY and self.player and e.status == "detrimental" then
p.dur = math.ceil(p.dur / 2)
end
if p.dur > 0 and not e.subtype["cross tier"] and e.status == "detrimental" and e.type == "physical" and self:knowTalent(self.T_SPINE_OF_THE_WORLD) then
self:triggerTalent(self.T_SPINE_OF_THE_WORLD)
end
......@@ -4517,10 +4521,6 @@ function _M:on_set_temporary_effect(eff_id, e, p)
if self.player then
p.__set_time = core.game.getTime()
end
if game.difficulty == game.DIFFICULTY_EASY and e.status == "detrimental" then
p.dur = math.ceil(p.dur / 2)
end
end
--- Called when we are initiating a projection
......
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