Skip to content

Commit

Permalink
Make compatible with nightmare mode
Browse files Browse the repository at this point in the history
- Remove perks as they are not needed, and not all are available in nightmare mode
  • Loading branch information
Dadido3 committed Nov 28, 2019
1 parent 52e23df commit 6703074
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions files/capture.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,11 @@ local function preparePlayer()
local playerEntity = getPlayer()
addEffectToEntity(playerEntity, "PROTECTION_ALL")

addPerkToPlayer("BREATH_UNDERWATER")
addPerkToPlayer("INVISIBILITY")
addPerkToPlayer("REMOVE_FOG_OF_WAR")
addPerkToPlayer("REPELLING_CAPE")
addPerkToPlayer("WORM_DETRACTOR")

setPlayerHP(CAPTURE_FORCE_HP)
end

local function resetPlayer()
--addPerkToPlayer("BREATH_UNDERWATER")
--addPerkToPlayer("INVISIBILITY")
--addPerkToPlayer("REMOVE_FOG_OF_WAR")
--addPerkToPlayer("REPELLING_CAPE")
--addPerkToPlayer("WORM_DETRACTOR")
setPlayerHP(CAPTURE_FORCE_HP)
end

Expand Down

1 comment on commit 6703074

@noxifoxi
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's all it needed? LUL

Please sign in to comment.