• 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.

[Trigger] "Pick Every Unit > Damage Picked Unit" dealing damage to only one unit.

Status
Not open for further replies.
Level 1
Joined
Oct 18, 2021
Messages
2
I'm trying to create an ability that links multiple units together, sharing the damage a unit takes with all the other linked units.

However, when I test it, only one unit takes damage.
I'm using Bribe's Damage Engine 3A.0.0.0, and the damage tags/numbers show up above all the units, but no damage is being dealt to them.
  • Cursed Damage Share
    • Events
      • Game - DamageEvent becomes Equal to 1.00
    • Conditions
      • IsDamageSpell Equal to False
      • (DamageEventTarget has buff Curse) Equal to True
    • Actions
      • Set Curse_Group = (Units in (Playable map area))
      • Set Curse_Target = DamageEventTarget
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick every unit in Curse_Group and do (Actions)
        • Loop - Actions
          • Set TempUnit = (Picked unit)
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • TempUnit Not equal to Curse_Target
              • (TempUnit has buff Curse) Equal to True
            • Then - Actions
              • Unit - Cause DamageEventSource to damage TempUnit, dealing DamageEventAmount damage of attack type Spells and damage type Universal
            • Else - Actions

Any help appreciated.
 
Level 25
Joined
Mar 29, 2020
Messages
1,465
sounds very similar to an ability in a map of mine.

check out the ability "carried" for the hero "team killer" :


it's unprotected so you can just copy the ability from there and change it as you wish (and if you end up using it just give me credit :mwahaha::mwahaha::mwahaha:).
 
Level 1
Joined
Oct 18, 2021
Messages
2
sounds very similar to an ability in a map of mine.

check out the ability "carried" for the hero "team killer" :


it's unprotected so you can just copy the ability from there and change it as you wish (and if you end up using it just give me credit :mwahaha::mwahaha::mwahaha:).
I'm unable to load your map. "Level Info data missing or invalid."

I'm running 1.31 PTR version if that's a problem.
 
Status
Not open for further replies.
Top