EffectImpact

From Dragon Age Toolset Wiki
Jump to: navigation, search

EffectImpact Constructor.

effect EffectImpact(
float fDamage,
object oWeapon,
int nVfx = 0,
int nAbi = 0,
int nDamageType = 1
);
Parameters:
fDamage
Amount of damage to be applied
oWeapon
Weapon that applies the damage
nVfx
Impact VFX to play. Default of 0 is no impact VFX
nAbi
Ability (default is invalid ability)
nDamageType
Damage Type to be applied (Physical, Fire): Default of 1 is physical
Returns:

An impact effect

Source:

script.ldf

Description

EffectImpact Constructor.