Hi, I'm currently stumped on why this trigger isn't working. Currently it doesn't modify any attributes, despite the units having the buff.
Ideally its a passive aura that increases other heroes Strength and Agility by 10%
Below this trigger is a spellbook which has the passive aura (Blessing of Might)
Thx!
Ideally its a passive aura that increases other heroes Strength and Agility by 10%
Below this trigger is a spellbook which has the passive aura (Blessing of Might)
-
Blessing of Might Learn
-
Events
-
Unit - A unit Learns a skill
-
-
Conditions
-
(Learned Hero Skill) Equal to Retribution Paladin Passive Abilities
-
-
Actions
-
Set BlessingOfMightSourceUnit = (Learning Hero)
-
Unit Group - Add BlessingOfMightSourceUnit to BlessingOfMightSourceGroup
-
Trigger - Turn on Blessing of Might Loop <gen>
-
-
-
Blessing of Might Loop
-
Events
-
Time - Every 0.10 seconds of game time
-
-
Conditions
-
Actions
-
Unit Group - Pick every unit in (Units owned by Player 1 (Red).) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Picked unit) has buff Blessing of Might ) Equal to True
-
-
Then - Actions
-
Set CurrentAgility = (Agility of (Picked unit) (Include bonuses))
-
Set CurrentStrength = (Strength of (Picked unit) (Include bonuses))
-
Set BonusAgility = (CurrentAgility x (Integer(1.10)))
-
Set BonusStrength = (CurrentStrength x (Integer(1.10)))
-
Hero - Modify Agility of (Picked unit): Add BonusAgility.
-
Hero - Modify Strength of (Picked unit): Add BonusStrength.
-
Unit Group - Add (Picked unit) to BlessingOfMightTargetGroup
-
-
Else - Actions
-
-
-
-
Destroy BlessingOfMightSourceGroup
-
Destroy BlessingOfMightTargetGroup
-
-
Thx!