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

Madness mode starts with more gold and HP. But don't worry you'll die anyway

parent 69c429e7
No related branches found
No related tags found
No related merge requests found
......@@ -236,6 +236,12 @@ function _M:newGame()
self.player.__created_in_version = game.__mod_info.version_name..(beta and "-"..beta or "")
end
if self.player.max_life_bonus then
self.player.max_life = self.player.max_life + self.player.max_life_bonus
self.player.life = self.player.life + self.player.max_life_bonus
self.player.max_life_bonus = nil
end
self.player:recomputeGlobalSpeed()
self:rebuildCalendar()
......
......@@ -278,6 +278,7 @@ newBirthDescriptor{
"All enemies have 200% more life",
"Rare creatures are far more frequent and random bosses start to appear",
"Stairs can not be used for 9 turns after a kill.",
"Player starts with 100 more life and 500 gold, but trust us, you'll need it!",
"Player is being hunted! Randomly all foes in a radius will get a feeling of where she/he is",
"Player can earn Madness version of achievements if also playing in Roguelike or Adventure permadeath mode.",
},
......@@ -292,6 +293,8 @@ newBirthDescriptor{
copy = {
instakill_immune = 1,
__game_difficulty = 5,
money = 500,
max_life_bonus = 100,
},
game_state = {
default_random_rare_chance = 3,
......
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