Skip to content

Damage Source Condition

Nischhelm edited this page Mar 5, 2025 · 6 revisions

Condition Type: Damage Source

  • Require Melee, default false
  • Require Ranged, default false
  • Required Damage Type, default empty ("")

This condition checks a damage source which is provided by the activator. Works by default with any event having a getSource() method, so for example LivingAttack, LivingHurt, LivingDamage, DDD DetermineDamage and DDD GatherDefenses. It requires the activator to provide the event though (using the GenericEventCallback), which by default only works with Attack and Attacked Activators. It can by default require the damage source to be melee or ranged or specific named damage sources (onFire, magic, etc).

Clone this wiki locally