She Will Punish Them
0 of 0

File information

Last updated

Original upload

Created by

aedenthorn

Uploaded by

aedenthorn

Virus scan

Safe to use

Tags for this mod

About this mod

Fixes and tweaks the awesome but broken and buggy projectile spells.

Requirements
Permissions and credits
Changelogs
Donations
This mod was originally meant to enhance the wonky fireball spell, but then it turned out that the spell code was just broken, so this is first and foremost a bug fix.

The gist is, if an enemy died because of an explosion, the code would break because suddenly the list of enemies to get hit had been modified and it could no longer loop through them. The result was, if a fireball killed one enemy, the spell would stop looking for more enemies to hurt.

With this mod, all enemies in range (default 5m) should be hit as expected, even if one or more of them dies.

You can change the damage radius in the config.

You can also set spells to pass through companions, or alternatively affect companions as well.

This mod also bypasses a seemingly inconsequential (but log-spammy) error with the particle system (PSMeshRendererUpdater.MeshObject is null, Mr. Devs).



Config

A config file BepInEx/config/aedenthorn.BetterFireball.cfg is created after running the game once with this mod.

You can adjust the config values by editing this file using a text editor.


Technical

This mod requires BepInEx to be installed for SWPT.  Detailed instructions on installing BepInEx are here.

If you are on Windows, you will need the x64 or x86 version based on your architecture, found here:

https://github.com/BepInEx/BepInEx/releases

Unpack the zip file, and place the contents in the game's root folder (beside the game's .exe file).

To install this mod, place the contents of its zip file in the BepInEx/plugins folder (create it if the folder doesn't exist).


Code is at https://github.com/aedenthorn/SWPTMods.

If you want to complain or ask for help or help me test my mods, you can visit my Discord server.