Skellk-FriendlyFireToggle icon

FriendlyFireToggle

Gets rid of that annoying friendly fire.

By Skellk
Last updated 2 weeks ago
Total downloads 593
Total rating 0 
Categories Mods Tweaks Utils
Dependency string Skellk-FriendlyFireToggle-1.0.2
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack_TABS-5.4.16 icon
BepInEx-BepInExPack_TABS

BepInEx pack for TABS. Preconfigured and ready to use.

Preferred version: 5.4.16
Grad-TGCore-2.0.5 icon
Grad-TGCore

A core mod that contains common code between all Team Grad mods.

Preferred version: 2.0.5

README

Friendly Fire Toggle v1.0.2

Compatibility update aimed at restoring the Hidden Units Bishop's radiant barrier/overheal. Earlier versions forced Explosion.ignoreTeamMates = true for every explosion; this filters allied targets before all effects run, so it can block support effects as well as damage. v1.0.2 removes that global explosion filter and instead blocks positive health damage when the attacking unit is identifiable and is on the victim's team.

Package before uploading

This template does not include the compiled plugin. Build the source project and copy FriendlyFireToggle.dll to BepInEx/plugins/FriendlyFireToggle/ within this package before making the upload ZIP.

Do not include BepInEx.dll or TGCore.dll; dependencies are declared in manifest.json.

Test the Hidden Units Bishop's overheal along with bullets, melee hits and explosions before publishing. If ownerless explosions still harm teammates, they need a separate damage-only filter; do not restore the global ignoreTeamMates patch, because that suppresses friendly support effects.