mirror of
https://github.com/Dadido3/noita-mapcap.git
synced 2024-11-18 17:17:31 +00:00
Make compatible with nightmare mode
- Remove perks as they are not needed, and not all are available in nightmare mode
This commit is contained in:
parent
52e23df1ee
commit
6703074900
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user