ludnica
Long gone
- Reaction score
- 61
Explanation on the ability:
A passive ability, that activates when I'm attacking a unit (if you've played DotA - looks like Abaddon's Frostmourne), increasing my attack and movement speed. When an ally starts attacking the same unit, it should benefit from my ability...but hell, it doesn't.
It still bothers me how this fails to "buff" nearby allies, that are attacking my target. What should I do to make them benefit from it? Oh, and, if any major mistakes/flaws are made, I'd like to know.
A passive ability, that activates when I'm attacking a unit (if you've played DotA - looks like Abaddon's Frostmourne), increasing my attack and movement speed. When an ally starts attacking the same unit, it should benefit from my ability...but hell, it doesn't.
Trigger:
- Events
- Unit - A unit Is attacked
- Conditions
- (((Attacked unit) is A structure) Equal to False) and (((Attacked unit) has buff OmnipotenceDebuff) Equal to True)
- ((Attacked unit) belongs to an enemy of (Owner of (Attacking unit))) Equal to True
- Actions
- Set OmnipotenceDebuff = Omnipotence (Stacking)
- Set OmnipotenceLevel = (Level of Omnipotence for (Triggering unit))
- Set LocationPositionUnit = (Position of (Triggering unit))
- Unit - Create 1 Dummy for (Owner of (Attacking unit)) at LocationPositionUnit facing Default building facing degrees
- Set LastCreatedDummy = (Last created unit)
- Unit - Add Omnipotence Buff to LastCreatedDummy
- Unit - Set level of Omnipotence Buff for LastCreatedDummy to (Level of Omnipotence for (Attacking unit))
- Unit - Add a 1.00 second Water Elemental expiration timer to LastCreatedDummy
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Level of Omnipotence for (Attacking unit)) Greater than 0
- Then - Actions
- Unit - Order LastCreatedDummy to Orc Shaman - Bloodlust (Attacking unit)
- Else - Actions
- If - Conditions
- Custom script: call RemoveLocation(udg_LocationPositionUnit)
It still bothers me how this fails to "buff" nearby allies, that are attacking my target. What should I do to make them benefit from it? Oh, and, if any major mistakes/flaws are made, I'd like to know.