Hi all
How to do damage only to concrete hero? (MordorWitchKing for example)
Code:
Weapon ChillSoulRadiusWeapon ; Shot out every DelayBetweenShots
RadiusDamageAffects = ENEMIES NOT_SIMILAR
LeechRangeWeapon = Yes
AttackRange = 50.0
MeleeWeapon = No
DelayBetweenShots = 200 ; time between shots, msec
PreAttackDelay = 0 ;PreAttackDelay+FiringDuration = UseWeaponTiming = Yes duration
PreAttackType = PER_SHOT
FiringDuration = 0
DamageNugget ; A basic Nugget that just does damage
Damage = 1 ; A whole lot of damage.
DamageScalar = 0% NONE +STRUCTURE +MordorBalrog +AngmarShadeWolf
Radius = CHILL_SOUL_EFFECT_RADIUS
DelayTime = 0
DamageType = MAGIC
DamageFXType = POISON
DeathType = CRUSHED
End
AttributeModifierNugget
AttributeModifier = ChillSoulModifier
DamageFXType = SWORD_SLASH ;used to cross with their DamageFX listing to determine what effect to play
End
End