Boss Phase Reset
A death in a multi-phase boss fight restarts the whole fight at phase 1, not at the next phase. In 66 Days a death still costs its day. A PBZModLoader mod.
What it does
A death in a multi-phase boss fight restarts the whole fight at phase 1.
A boss with several phases is one enemy per phase in this game. When you die, the game does not load a save: it brings you back, resets the enemies that are still alive and saves. A phase you already beat stays beaten, so the fight goes on at the next phase. With the mod, it starts again at phase 1.
| Game | With the mod | |
|---|---|---|
| Death in a boss fight after a phase ended | the fight goes on at the next phase | the fight starts again at phase 1 |
| Death before any phase ended | the game resets the boss | the same (the mod does nothing) |
| Autosaves during a boss fight | as usual | held back until the fight is over |
- When a boss fight starts, the mod saves and copies that save into its own save slot. After a death in which a boss of this fight already went down, it loads that slot once you are back on your feet, the way the game's Load menu does.
- During the fight the game's autosaves wait (the game's own save hold). The fight is over when no living boss has been within 100 m, outside a cutscene, for 60 seconds, or at a Bell; then the game saves as usual. The hold never lasts longer than 30 minutes.
- 66 Days: a death still costs its day: the days left after the death are written into the fight-start save before it is loaded. With no days left there is no reload.
- "Boss" and "fight" come from the game's own boss records: a fight starts when a boss enemy takes you into combat.
It is a PBZModLoader mod (a script in the game's own script engine): it replaces no game file. It saves and loads through the game's own save calls and keeps its own save slot.
Screenshots
How to install
- Install PBZModLoader 2.1.0 or later.
- Download the zip of the latest release on GitHub (
phantombladezero_bossphasereset_<version>.zip). - Unpack it into the game folder (the folder that holds
ProjectPBZ). It adds the folderProjectPBZ\PBZModLoader\mods\phantombladezero_bossphasereset\withmain.jsand the settings file. - Start the game.
To check that it runs: ProjectPBZ\PBZModLoader\loader.log has the line
[PBZMOD] [Boss Phase Reset] <version> started; settings: ....
To update the mod, replace main.js with the one of the new release; keep your settings file (a setting that it does
not have keeps its default). To remove the mod, delete the folder ProjectPBZ\PBZModLoader\mods\phantombladezero_bossphasereset\.
How to use
Nothing to do: fight a boss as usual. After a death in a later phase you are back at the start of the fight after a short loading screen.
Before you install it, make a copy of your save folder (in the game folder: ProjectPBZ\Saved\SaveGames): the mod
loads and writes saves.
The mod writes what it does to %LOCALAPPDATA%\ProjectPBZ\Saved\Logs\phantombladezero_bossphasereset.log (paste the
path into the Windows Explorer address bar). Its times are in UTC.
Settings
The settings are in ProjectPBZ\PBZModLoader\mods\phantombladezero_bossphasereset\phantombladezero_bossphasereset.txt. Open it with a text editor,
change a value and save: the mod reads the file every 2 seconds, so the game uses it without a restart. Without the
file the mod writes it with the defaults below. Keys are not case-sensitive; ; or # starts a comment.
With Mods Menu (0.9.0 or later) in the game, the mod adds its page to Mods Menu's tab in the game's settings, and
the page's settings are the ones that count: Mods Menu keeps them in its own file in the game's Saved folder, and
the file in the mod's folder is not read then.
| Setting | Default | What it does |
|---|---|---|
Enable |
On |
Off: boss fights as in the game (no fight-start save, no save hold, no reload) |
Compatibility
- Game version: Steam build 26367565 (
CL-302256_JKS-17280). - Needs PBZModLoader 2.1.0 or later. Mods Menu is optional.
- Version 1.0 of this mod (the files
phantombladezero_bossphasereset_P.pak,.utocand.ucasinProjectPBZ\Content\Paks\~mods): remove them first. 2.0 replaces no game script. - It keeps its own save slot
phantombladezero_bossphaseresetin your save folder (also in Steam Cloud). After you remove the mod, that file stays; you can delete it. - Mortal Dusk (one death ends a 66 Days run) works with it: with no days left there is no reload.
- After a game update the mod keeps working, but leaves the story flow's own save points as the game has them, so an
autosave may land during a fight (it checks the game build at start and writes a line into
loader.log). - Nothing changes in the game's save format: the mod uses the game's own save and load calls.
Known issues
- Not tested in a boss fight yet (neither this version nor 1.0): only a start check was done (the mod loads, shows its Mods Menu page and reloads cleanly). Please report what happens, with the mod's log file.
How to build
There is nothing to build: src\phantombladezero_bossphasereset\ is the mod folder (main.js and the settings file).
tests\test_mod.js runs the script outside the game with Node.js and stand-ins for the game: node tests\test_mod.js.
README.md has the details.
Credits
Made by Kintaro. MIT license: you may use, change and share this mod. PBZModLoader is made by LKF, its fork by KintaroModding. Phantom Blade Zero and its files belong to their makers.
