Temporary Evasion

soulreaping

New Member
Reaction score
17
Hi,
Is there a way to add temporary evasion to a hero?

I thought of learning the hero the Evasion ability with no icon, but there isn't a way to unlearn it.

So how can I do that?

Thanks!
 

Drunken_God

Hopes to get back into Mapmaking with SC2 :)
Reaction score
106
what do you mean by temporary?
your hero casts then add the item ability evasion after some time remove it agian
 

soulreaping

New Member
Reaction score
17
I mean a hero casts a certain spell, I want that during a specified time he will have evasion percentage.
 

Drunken_God

Hopes to get back into Mapmaking with SC2 :)
Reaction score
106
sth like
E: Hero casts
A: add ability to him
set trigger unit = (someunitvariable9
start timer with duration (your duration)

another trigger
timer expires
A: remove ability from someunitvariable


you understand?
 

ManyTimes

I'm so lonesome I could cry...
Reaction score
293
You do not need two triggers, you do not need a timer, you do not need a variable.
Code:
Untitled Trigger 001
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Animate Dead
    Actions
        Unit - Add Evasion to (Triggering unit)
        Wait 25.00 seconds
        Unit - Remove Evasion from (Triggering unit)
Does not get much simpler than this...
As for hiding icon, spellbook, put evasion inside the spell book. What is a spell book? It is an ability under "items" if I remember correctly.

Do a trigger at map initlialization:
Player - Disable ability (Your spell Book ability with the evasion inside) for player X
Then of course, instead of adding the "evasion" as in the trigger above you add the "Spell book" with evasion :)
 

Mike889

New Member
Reaction score
15
Druken, when a spell is not MUI, it means that only one unit can cast it, otherwise it'll bug, am i right?
 

Quauhtli

I have the right to remain silent.
Reaction score
62
Yes Multi User Instance-able (all units in map can use it at same time)
 

Slapshot136

Divide et impera
Reaction score
471
this trigger is mui, since it uses the event - response "triggering unit"..

the thing that makes spells NOT mui is setting a variable, waiting, and then using that variable.. here there is no variable set, so no need 2 worry
 
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