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

Nightmare mode level scaling is now 3 + 50%

Insane mode level scaling is now 5 + 120%


git-svn-id: http://svn.net-core.org/repos/t-engine4@6135 51575b47-30f0-44d4-a5cc-537603b46e54
parent d272943e
No related branches found
No related tags found
No related merge requests found
......@@ -328,13 +328,13 @@ function _M:loaded()
if self.difficulty == self.DIFFICULTY_NIGHTMARE then
zone.base_level_range = table.clone(zone.level_range, true)
zone.specific_base_level.object = -10 -zone.level_range[1]
zone.level_range[1] = zone.level_range[1] * 1.2 + 10
zone.level_range[2] = zone.level_range[2] * 1.2 + 10
zone.level_range[1] = zone.level_range[1] * 1.5 + 3
zone.level_range[2] = zone.level_range[2] * 1.5 + 3
elseif self.difficulty == self.DIFFICULTY_INSANE then
zone.base_level_range = table.clone(zone.level_range, true)
zone.specific_base_level.object = -10 -zone.level_range[1]
zone.level_range[1] = zone.level_range[1] * 2 + 10
zone.level_range[2] = zone.level_range[2] * 2 + 10
zone.level_range[1] = zone.level_range[1] * 2.2 + 5
zone.level_range[2] = zone.level_range[2] * 2.2 + 5
end
end
end,
......
......@@ -147,11 +147,11 @@ function _M:zoneCheckBackupGuardian()
if game.difficulty == game.DIFFICULTY_NIGHTMARE then
game.zone.base_level_range = table.clone(game.zone.level_range, true)
game.zone.specific_base_level.object = -10 -game.zone.base_level
game.zone.base_level = game.zone.base_level * 1.2 + 10
game.zone.base_level = game.zone.base_level * 1.5 + 3
elseif game.difficulty == game.DIFFICULTY_INSANE then
game.zone.base_level_range = table.clone(game.zone.level_range, true)
game.zone.specific_base_level.object = -10 -game.zone.base_level
game.zone.base_level = game.zone.base_level * 2 + 10
game.zone.base_level = game.zone.base_level * 2.2 + 5
end
if data.action then data.action(false) end
end
......
......@@ -184,7 +184,7 @@ newBirthDescriptor{
{
"#GOLD##{bold}#Nightmare mode#WHITE##{normal}#",
"Unfair game setting",
"All zone levels increased by 20% + 10",
"All zone levels increased by 50% + 3",
"All creatures talent levels increased by 50%",
},
descriptor_choices =
......@@ -205,7 +205,7 @@ newBirthDescriptor{
{
"#GOLD##{bold}#Insane mode#WHITE##{normal}#",
"Absolutely unfair game setting, you are really mentally ill to play this mode!",
"All zone levels increased by 100% + 10",
"All zone levels increased by 120% + 5",
"All creatures talent levels increased by 100%",
"Player rank is normal instead of elite",
"Player can earn Insane version of achievements if also playing in Roguelike permadeath mode.",
......
......@@ -40,9 +40,9 @@ Someone foolish has tried to reconstruct it, but it seems like it misses an eye
require("engine.ui.Dialog"):yesnoPopup("Atamathon", "It seems that your "..eye:getName{do_color=true}.." is made to fit inside the empty eye socket of Atamathon. This is probably very unwise.", function(ret)
if not ret then return end
if game.difficulty == game.DIFFICULTY_NIGHTMARE then
game.zone.base_level = 50 * 1.2 + 10
game.zone.base_level = 50 * 1.5 + 3
elseif game.difficulty == game.DIFFICULTY_INSANE then
game.zone.base_level = 50 * 2 + 10
game.zone.base_level = 50 * 2.2 + 5
else
game.zone.base_level = 50
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