• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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,207
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