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.
Any help appreciated.
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
-
If - Conditions
-
Loop - Actions
-
Events
Any help appreciated.