PropertyModifiable properties
Optional, Multiple
Permanent()
Optional
Indicates a permanent modifier.
Duration(float time)
Required, if not Permanent
time: Number of seconds that the full effect will last.
FallOff(float time)
Required, if not Permanent
time: Number of seconds it takes for the effect to wear off.
Absolute(float value)
One of Absolute/Percent Required
value: Absolute amount of effect to apply.
For example, -5 combined with TopSpeed will reduce the top speed by 5km/h
Percent(float value)
One of Absolute/Percent Required
value: Percentage of object type's full amount to apply.
For example, 20% combined with SeeingRange will increase seeing range by 20%
UnitObj
SeeingRange
TopSpeed
WeaponObj
Damage
ProjectileWeaponObjExample
FireDelay
HitModifiers() { Damage() { Permanent(); Percent(50%); } TopSpeed() { Duration(5); Falloff(3); Absolute(5); } FireDelay() { Duration(3.5); Falloff(0); Percent(-10%); } }