You are viewing a potentially older version of this package. View all versions.
Lordryn-DamageSourceForEnemies-2.1.1 icon

DamageSourceForEnemies

Adds a DamageSource to enemy attacks that don't have one yet from vanilla and all DLCs. Does almost nothing on it's own.

Date uploaded a day ago
Version 2.1.1
Download link Lordryn-DamageSourceForEnemies-2.1.1.zip
Downloads 802
Dependency string Lordryn-DamageSourceForEnemies-2.1.1

This mod requires the following mods to function

bbepis-BepInExPack-5.4.2122 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.2122
MonoDetour-MonoDetour_BepInEx_5-0.7.16 icon
MonoDetour-MonoDetour_BepInEx_5

HarmonyX interop & BepInEx 5 logger integration for MonoDetour. Initializes MonoDetour early as a side effect.

Preferred version: 0.7.16

README

DamageSourceForEnemies

In vanilla the majority of enemy attacks don't have a DamageSource set, which means that items that rely on specific skill hits and mods that look for a skill's DamageSource will never work with most enemies. This mod fixes that by giving every enemy attack a proper DamageSource if it didn't have one already, based on the skill slot an attack is in.

Before

Before

After

After

Mod Support

This mod also supports a few other mods that edit/add enemy attacks:

CHANGELOG

2.1.1

  • Forgot to change manifest description whoops

2.1.0

  • Fixed for DLC4 and added support for its enemies
  • Removed some DamageSource additions due to them being officially added!
    • All drone, scavenger, and halcyonite attacks, plus some other random enemy attacks

2.0.2

  • Fixed Clay Templars not being slowed down while using their minigun
    • If there are any other enemies that should get a debuff while attacking but don't, tell me

2.0.1

  • Fixed for AC patch 1

2.0.0

  • Fixed for AC release
  • Added DamageSources for AC enemies, bosses and drones
  • Huge internal refactor
    • All hooks have been redone (somewhat) & ported to MonoDetour
  • Made drone DamageSources a config option
    • This is incase it's too OP with operator's nanobugged debuff
  • Fixed a bunch of things from before not having a DamageSource
    • Clay Templar tar airblast
    • Imp Overlord teleport
    • Alloy Worship Unit leftover ground damage zones from it's projectiles
    • Both worm bosses contact damage
    • Void Jailer tether damage tick
    • Void Devastator sticky bomb shots explosions
    • Scorch wurm ground breach blast
  • Added support for EnemiesPlusPlus
  • Made all damage zone config options default to true

1.2.1

1.2.0

  • Changed the config options' section name
    • Probably means the config options have been reset so double check them if you changed any
  • Fixed FlatItemBuff's squid polyp edit breaking this mod's squid polyp edit
  • Added a DamageSource to the scorch wurm shot's damage zone
    • This also configurable just like the other damage zones (this one is on by default)

1.1.0

  • Fixed for SOTS phase 2

  • Gave the flamethrower drone the correct DamageSource

    • It was basing itself off of Artificer's, so it had the "Special" DamageSource before this. Now it has the "Primary" DamageSource as it should.
  • Added a few config options for some enemies' ground damage zones getting a DamageSource

    • Mini Mushrum's spore attack (on by default)
    • Beetle Queen's spit attack (off by default)
    • Voidling's one attack that leaves a big damage zone (off by default)

1.0.0

  • First release