• 🏆 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!

Floating Text

Status
Not open for further replies.
Level 2
Joined
Mar 30, 2010
Messages
10
I'm using the ''Hardened Skin'' ability to completely block a physical attack and when I am setting the values the spell works just fine, but my question is there a way to make a floating text that says ''blocked'' when using this ability?
 
Level 23
Joined
Feb 6, 2014
Messages
2,466
Yes if you will use a triggered Hardened Skin using a DDS (with Physical Damage distinction like the one by Bribe or looking_for_help). When a unit is damaged, and when unit has the dummy ability Hardened Skin, and when DamageType is physical, generate a random number depending on your spell mechanism. If it will proc, reduce the damage about to be taken and create a floating text that spells out "Blocked".
 
Status
Not open for further replies.
Top