filter_damage_mod is a filter entity available with any version of Mapbase.

A filter that modifies damage taken by an entity.



KeyValues

- Damage Multiplier (SetDamageMultiplier) <float>
Multiplies the damage by this scale.
- Damage Addend (SetDamageAddend) <float>
Adds to or subtracts the damage by this number. This is done after the damage is multiplied by the damage scale.
- Damage Bits Added (SetDamageBitsAdded) <integer>
Adds bits to the damage type. See a damage type keyvalue in an entity like filter_damage_type to get their bit representation.
- Damage Bits Removed (SetDamageBitsRemoved) <integer>
Removes bits from the damage type. See a damage type keyvalue in an entity like filter_damage_type to get their bit representation.
- New Attacker (NewAttacker) <target_destination>
If specified, the damage will be credited to this entity instead of the original attacker.
- New Inflictor (NewInflictor) <target_destination>
If specified, the damage's inflictor will be changed to this entity instead of the original inflictor.
- New Weapon (NewWeapon) <target_destination>
If specified, the damage's weapon will be changed to this entity instead of the original weapon.
- Secondary Filter Mode (SecondaryFilterMode) <choices>
Sets whether the secondary filter should be treated as a redirected damage filter (must pass to take actual damage) instead of just permitting modification.

Inputs

- SetDamageMultiplier <float>
Sets the damage multiplier.
- SetDamageAddend <float>
Sets the damage addend.
- SetDamageBitsAdded <integer>
Sets the damage types added.
- SetDamageBitsRemoved <integer>
Sets the damage types removed.
- SetNewAttacker <target_destination>
Sets the new attacker.
- SetNewInflictor <target_destination>
Sets the new inflictor.
- SetNewWeapon <target_destination>
Sets the new weapon.