Buff

Status
Not open for further replies.
Contrary to what Arhowk said, I was under the impression that buffs are applied after "Starts the effect of an ability".

  • Untitled Trigger 016
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Frost Armor (Autocast)
    • Actions
      • Game - Display to Player Group - Player 1 (Red) for 4.00 seconds the text: Cast
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Target unit of ability being cast) has buff Frost Armor) Equal to True
        • Then - Actions
          • Game - Display to Player Group - Player 1 (Red) for 4.00 seconds the text: Has buff
        • Else - Actions
          • Game - Display to Player Group - Player 1 (Red) for 4.00 seconds the text: No buff
This would tell me that the target unit doesn't have the buff.
 
Contrary to what Arhowk said, I was under the impression that buffs are applied after "Starts the effect of an ability".

  • Untitled Trigger 016
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Frost Armor (Autocast)
    • Actions
      • Game - Display to Player Group - Player 1 (Red) for 4.00 seconds the text: Cast
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Target unit of ability being cast) has buff Frost Armor) Equal to True
        • Then - Actions
          • Game - Display to Player Group - Player 1 (Red) for 4.00 seconds the text: Has buff
        • Else - Actions
          • Game - Display to Player Group - Player 1 (Red) for 4.00 seconds the text: No buff
he said on damage

E/ well im 100% sure its before damage is dealt but im not sure about on cast
 
  • Untitled Trigger 029
    • Events
      • Unit - Acolyte 0021 <gen> Takes damage
      • Unit - Acolyte 0022 <gen> Takes damage
      • Unit - Acolyte 0025 <gen> Takes damage
      • Unit - Acolyte 0026 <gen> Takes damage
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Triggering unit) has buff Slowed) Equal to True
        • Then - Actions
          • Game - Display to Player Group - Player 1 (Red) for 4.00 seconds the text: Damaged, Has buff
        • Else - Actions
          • Game - Display to Player Group - Player 1 (Red) for 4.00 seconds the text: Damaged, No buff
      • Wait 0.00 seconds
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Triggering unit) has buff Slowed) Equal to True
        • Then - Actions
          • Game - Display to Player Group - Player 1 (Red) for 4.00 seconds the text: Damaged, Has buff
        • Else - Actions
          • Game - Display to Player Group - Player 1 (Red) for 4.00 seconds the text: Damaged, No buff
This tells me no buff, has buff.
 
  • Untitled Trigger 029
    • Events
      • Unit - Acolyte 0021 <gen> Takes damage
      • Unit - Acolyte 0022 <gen> Takes damage
      • Unit - Acolyte 0025 <gen> Takes damage
      • Unit - Acolyte 0026 <gen> Takes damage
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Triggering unit) has buff Slowed) Equal to True
        • Then - Actions
          • Game - Display to Player Group - Player 1 (Red) for 4.00 seconds the text: Damaged, Has buff
        • Else - Actions
          • Game - Display to Player Group - Player 1 (Red) for 4.00 seconds the text: Damaged, No buff
      • Wait 0.00 seconds
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Triggering unit) has buff Slowed) Equal to True
        • Then - Actions
          • Game - Display to Player Group - Player 1 (Red) for 4.00 seconds the text: Damaged, Has buff
        • Else - Actions
          • Game - Display to Player Group - Player 1 (Red) for 4.00 seconds the text: Damaged, No buff
This tells me no buff, has buff.

works fine for me with storm bolt, frost arrow, and chain lightning (common bases in my map)...
 
Status
Not open for further replies.
Back
Top