• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Share Damage

Status
Not open for further replies.
there should be a way with just the data editor, but a trigger can work if you just want to test it

make a custom damage effect in the data editor just for triggered damage

then you can change the damage value of this effect and apply it in any trigger.

So you can have a generic "unit takes damage trigger" with the actions:
- set effect value for custom damage effect to (real-damage taken)
- apply effect custom damage effect to (other unit)

be careful though to make sure you don't have an infinite loop because the custom damage effect will also trigger the "unit takes damage" event, so you would need to check the damage source too, if this is an ability that will be on multiple units
 
Status
Not open for further replies.
Back
Top