X2Effect_ApplyDirectionalWorldDamage¶
Editor: X2AbilityEffectsEditor_ApplyDirectionalWorldDamage · extends X2AbilityEffectsEditor_Base.
Own fields¶
| Config field | Type | Requires | Game field | Description |
|---|---|---|---|---|
EnvironmentalDamageAmount |
int |
SetEnvironmentalDamageAmount=true |
EnvironmentalDamageAmount |
Environmental damage dealt to terrain and cover. |
DamageTypeTemplateName |
name |
SetDamageTypeTemplateName=true |
DamageTypeTemplateName |
Damage type of the environmental damage. |
PlusNumZTiles |
int |
SetPlusNumZTiles=true |
PlusNumZTiles |
Extra tiles of height hit above the affected tile. |
UseWeaponEnvironmentalDamage |
bool |
SetUseWeaponEnvironmentalDamage=true |
bUseWeaponEnvironmentalDamage |
Use the source weapon's environmental damage instead of EnvironmentalDamageAmount. |
UseWeaponDamageType |
bool |
SetUseWeaponDamageType=true |
bUseWeaponDamageType |
Use the source weapon's damage type instead of DamageTypeTemplateName. |
HitSourceTile |
bool |
SetHitSourceTile=true |
bHitSourceTile |
Apply the damage at the source's tile. |
HitTargetTile |
bool |
SetHitTargetTile=true |
bHitTargetTile |
Apply the damage at the target's tile. |
HitAdjacentDestructibles |
bool |
SetHitAdjacentDestructibles=true |
bHitAdjacentDestructibles |
Also damage destructibles adjacent to the hit tile along the damage direction. |
AllowDestructionOfDamageCauseCover |
bool |
SetAllowDestructionOfDamageCauseCover=true |
bAllowDestructionOfDamageCauseCover |
When a unit caused the damage, allow it to destroy that unit's own cover, which is normally protected. |
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.