Aura that gives an ability

WERE-Wolf

New Member
Reaction score
0
I basicly want a hero to have a channeling ability that gives every friendly unit within a range spell immunity.

I started with the aura itself (it doesnt do anything) and wanted to have a trigger like this:

1-
My hero starts an ability
ability equals to X
Give aura to triggered unit

2-
whenever a units become under an effect of a buff
buff equals to aura
give elune's grace to triggered units

Thought I cant seem to find the same ''whenever this unit has a buff''.

halp
 

Nenad

~Choco Coronet~ Omnomnom
Reaction score
137
There is none; Do this

Periodic Event every one second of the game
Condition - Boolean Unit has Specific buff
Actions - Give your ability
 

werasd

New Member
Reaction score
14
There is none; Do this

Periodic Event every one second of the game
Condition - Boolean Unit has Specific buff
Actions - Give your ability

"boolen unit" ?

Also, for that you would have to pick units in range every second.
Like:

Trigger:
  • Buff
    • Events
      • Time - Every 0.05 seconds of game time
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units within 512.00 of (Position of (Caster))) and do (Actions)
        • Loop - Actions
          • Unit - Add Aura to (Picked unit)
 

Nenad

~Choco Coronet~ Omnomnom
Reaction score
137
"boolen unit" ?

Boolean - Unit has a specific buff. It's a Boolean Comparison?

* Buff
o Events
+ Time - Every 0.05 seconds of game time
o Conditions
o Actions
+ Unit Group - Pick every unit in (Units within 512.00 of (Position of (Caster))) and do (Actions)
# Loop - Actions
* Unit - Add Aura to (Picked unit)

These are ok triggers, but with no conditions and no leaks removed, and your units don't exist (there is no caster unit).

As i said. Every 1 second of the game, if unit has specific buff, add the ability to it.
 

WERE-Wolf

New Member
Reaction score
0
your way doesnt work nenad. the spell is only given to the hero apparently. so units around doesnt get the spell, even if they're affected by the buff.
 

XKillerBoy

Active Member
Reaction score
1
Trigger:
  • ABILITY???
    • Events
      • Time - Every 0.50 seconds of game time
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units in (Entire map)) 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 BUFF???) Equal to (==) True
              • ((Picked unit) is in hasability) Equal to (==) False
            • Then - Actions
              • Unit - Add ABILITY??? to (Picked unit)
              • Unit Group - Add (Picked unit) to hasability
            • Else - Actions
              • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • ((Picked unit) has buff BUFF?) Equal to (==) False
                  • ((Picked unit) is in hasability) Equal to (==) True
                • Then - Actions
                  • Unit - Remove ABILITY??? from (Picked unit)
                  • Unit Group - Remove (Picked unit) from hasability
                • Else - Actions
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top