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

Easy mode now also halves all detrimental status effects

git-svn-id: http://svn.net-core.org/repos/t-engine4@6809 51575b47-30f0-44d4-a5cc-537603b46e54
parent 8ff1e146
No related branches found
No related tags found
No related merge requests found
......@@ -4517,6 +4517,10 @@ 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
......
......@@ -149,6 +149,7 @@ newBirthDescriptor{
"Use it if you feel uneasy tackling the harder modes.",
"All damage done to the player decreased by 30%",
"All healing for the player increased by 30%",
"All detrimental status effects durations reduced by 50%",
"Achievements are not granted.",
},
descriptor_choices =
......
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