• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 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!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

[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 21
Joined
Mar 29, 2020
Messages
1,236
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