Jump to content


Photo

Chill Soul

mod

  • Please log in to reply
2 replies to this topic

#1 Slava Shadrinov

Slava Shadrinov
  • Members
  • 178 posts
  • Projects:The Word Of Tolkien Mod

Posted 16 August 2016 - 10:38 AM

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
 


#2 NewErr

NewErr

    Elf-friend

  • Project Team
  • 2,177 posts
  • Location:Romania
  • Projects:Wars of The Firstborn
  •  World Wide Artist

Posted 16 August 2016 - 11:54 AM

At the damage nugget you need to add a filter and place just that specific hero:

 

SpecialObjectFilter        =  MordorWitchKing


Hope this works.



#3 Slava Shadrinov

Slava Shadrinov
  • Members
  • 178 posts
  • Projects:The Word Of Tolkien Mod

Posted 18 August 2016 - 12:18 PM

Thank you NewErr)






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users