• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Spell] Increased hit points against cavalry

Status
Not open for further replies.
Level 9
Joined
Jun 22, 2012
Messages
472
Hey there!

I need a spell for my current project but I don't know how to implement it. The trigger should increase the hit points against ennemy cavalry (that is to say against one specific armor) during a short laps of time. I hope someone will help me!

Thanks in advance, +rep for helpers!
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
Not easily possible. Closest would be to store armor kinds in a hashtable mapped to unit types and then use a damage detection system to detect when the unit takes damage and add bonus damage to it based on armor kind and the presence of the buff on the damage source.
 
Status
Not open for further replies.
Top