• 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 For %Attribute Increases Not Running

Level 1
Joined
Apr 29, 2025
Messages
2
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)
  • 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>
Loop Trigger (initially off)
  • 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
I haven't made a removal trigger yet, figuring I'd want to get the initial loop trigger working first. Appreciate any ideas what I'm doing wrong.
Thx!
 
Top