Condition help needed

Love-Nature

New Member
Reaction score
7
This trigger isnt working, i think is because of triggering unit must be wrong, wich unit should i use there?

Trigger:
  • Agility Passive
    • Events
      • Time - Every 0.20 seconds of game time
    • Conditions
    • Actions
      • Set Temp_Group = (Units in (Playable map area))
      • Unit Group - Pick every unit in Temp_Group and do (Actions)
        • Loop - Actions
          • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Picked unit) has buff Agility ) Equal to (==) True
            • Then - Actions
              • Hero - Modify Agility of (Picked unit): Add (2 x (Level of Agility for (Triggering unit))) <------------
            • Else - Actions
              • Hero - Modify Agility of (Picked unit): Subtract (2 x (Level of Agility for (Triggering unit))) <------------
      • Custom script: call DestroyGroup(udg_Temp_Group)


Thanks in advice :shades:

Tryed with level of buff but then he gains every 0.20 seconds bonus :(

Trigger:
  • Agility Passive
    • Events
      • Time - Every 0.20 seconds of game time
    • Conditions
    • Actions
      • Set Temp_Group = (Units in (Playable map area))
      • Unit Group - Pick every unit in Temp_Group and do (Actions)
        • Loop - Actions
          • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Picked unit) has buff Agility ) Equal to (==) True
            • Then - Actions
              • Hero - Modify Agility of (Picked unit): Add (2 x (For (Picked unit) the level of Agility ))
            • Else - Actions
              • Hero - Modify Agility of (Picked unit): Subtract (2 x (For (Picked unit) the level of Agility ))
      • Custom script: call DestroyGroup(udg_Temp_Group)
 

GFreak45

I didnt slap you, i high 5'd your face.
Reaction score
130
the periodic effect is every 0.2 seconds... i believe thats what is giving you the buff
 

merlinds

Member
Reaction score
15
you are adding the stats to the unit every 0.2 seconds if have the buff and substracting if not.
The problem is that you set the agi of the unit to (the agi of the uni + X), so in the next execution the unit will have more agi than in the first one i will be like Set the agi of the unit to ((the agi of the unit +x) + x) and so on.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top