X2Effect_ApplyWeaponDamage¶
Editor: X2AbilityEffectsEditor_ApplyWeaponDamage · extends X2AbilityEffectsEditor_Base.
Own fields¶
| Config field | Type | Requires | Game field | Description |
|---|---|---|---|---|
ExplosiveDamage |
bool |
SetExplosiveDamage=true |
bExplosiveDamage |
Counts the damage as explosive, so explosive-specific rules such as Blast Padding apply. |
IgnoreBaseDamage |
bool |
SetIgnoreBaseDamage=true |
bIgnoreBaseDamage |
Leave out the weapon's base damage; only the effect's own damage and tagged extra damage apply. |
DamageTag |
name |
SetDamageTag=true |
DamageTag |
Tag selecting one of the weapon's ExtraDamage entries and the upgrade bonus damage with the same tag. |
AlwaysKillsCivilians |
bool |
SetAlwaysKillsCivilians=true |
bAlwaysKillsCivilians |
Civilian targets die outright regardless of the damage rolled. |
ApplyWorldEffectsForEachTargetLocation |
bool |
SetApplyWorldEffectsForEachTargetLocation=true |
bApplyWorldEffectsForEachTargetLocation |
Apply the ability's world effects at every target location instead of once. |
AllowFreeKill |
bool |
SetAllowFreeKill=true |
bAllowFreeKill |
Let free-kill weapon upgrades, such as the Repeater, trigger on this damage. |
AllowWeaponUpgrade |
bool |
SetAllowWeaponUpgrade=true |
bAllowWeaponUpgrade |
Let weapon upgrades add their bonus damage. |
BypassShields |
bool |
SetBypassShields=true |
bBypassShields |
Damage ignores shield HP and goes straight to health. |
IgnoreArmor |
bool |
SetIgnoreArmor=true |
bIgnoreArmor |
Damage ignores armor. |
BypassSustainEffects |
bool |
SetBypassSustainEffects=true |
bBypassSustainEffects |
Damage ignores sustain effects that would otherwise keep the unit alive. |
EnvironmentalDamageAmount |
int |
SetEnvironmentalDamageAmount=true |
EnvironmentalDamageAmount |
Environmental damage dealt to terrain and cover. |
WeaponDamageValue |
WeaponDamageValueEdit |
— | EffectDamageValue |
Damage the effect adds on its own, on top of the weapon: Damage, Spread, Crit, Pierce, Shred, Rupture, PlusOne, DamageType and Tag. |
Inherited fields¶
From X2AbilityEffectsEditor (20)
ApplyOnHit, ApplyOnMiss, ApplyChance, ApplyToWorldOnHit, ApplyToWorldOnMiss, UseSourcePlayerState, IsImpairing, IsImpairingMomentarily, BringRemoveVisualizationForward, ShowImmunity, ShowImmunityAnyFailure, AppliesDamage, CanBeRedirected, HideDeathWorldMessage, MinStatContestResult, MaxStatContestResult, DelayVisualizationSec, OverrideMissMessage, DamageTypes, TargetConditions
Every one of these is documented under Shared fields or on the page for the class that introduces it.
Not editable from config
CurrentAbilityNameForImmunityCheck— private/protectedHideVisualizationOfResultsAdditional— not yet supportedNO_MINIMUM_DAMAGE— config — tune it in the game's own iniARMOR_BEFORE_SHIELD— config — tune it in the game's own iniGRAZE_DMG_MULT— config — tune it in the game's own iniHideVisualizationOfResults— config — tune it in the game's own ini