You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -176,6 +180,32 @@ static function GenerateDamageEvents(XComGameState NewGameState, XComGameStateCo
176
180
DamageTypeTemplateName = 'Explosion';
177
181
}
178
182
183
+
/// HL-Docs: ref:Bugfixes; issue:1547
184
+
/// Use the environment damage value of the weapon with projectile events instead of a flat value, that resulted in low damage weapons destroying walls
/// This event allows to modify the environmental damage a projectile event will deal to `XComTileFracLevelActor` actors, which are walls/floors that will fracture in chunks
258
+
///
259
+
/// If `OverrideDamage` is true, damage will be overridden by `DamageAmount`, if `OverrideDamage` is false, then `DamageAmount` will be added to the damage
260
+
///
261
+
///```event
262
+
///EventID: ModifyProjectileEnvironmentDamage,
263
+
///EventData: [inout bool OverrideDamage, inout int DamageAmount, in XComGameState_Ability AbilityStateObject],
0 commit comments