I need help with an ability.

Jougi

New Member
Reaction score
2
Im trying to mix roar and divine shield. I want it to work like this: When unit gets the effect of Roar it gets the effect of the divine shield too.
 

polo2005

Wana start playing LoL? http://tinyurl.com/369as27
Reaction score
97
Im trying to mix roar and divine shield. I want it to work like this: When unit gets the effect of Roar it gets the effect of the divine shield too.

you could trigger it like:
unit start the efect of an ability
ability bien cast equal to roar
unit - add ability invurable to casting unit
wait xx seconds
remove invurable from casting unit
 

Jougi

New Member
Reaction score
2
you could trigger it like:
unit start the efect of an ability
ability bien cast equal to roar
unit - add ability invurable to casting unit
wait xx seconds
remove invurable from casting unit
My roar has three levels, so i want the invulnerability last longer for every level, so it cannot be done your way.
 

Pigger

New Member
Reaction score
13
I would say have a trigger than fires when the ability is cast. Then pick every unit with that specific buff and turn them invulnerable, wait some formula of time (To solve the problem you mentioned in the above helper's post, just have it wait like (X * Level of Ability) seconds), then remove it.
 

neckface

terrain contest winner! :) dance contest loser. :(
Reaction score
34
Pigger told you how in his post....?

If you are scared of triggering, read Daelin's tutorial, and practice a bit. Then we can help you with the code.
 

polo2005

Wana start playing LoL? http://tinyurl.com/369as27
Reaction score
97
My roar has three levels, so i want the invulnerability last longer for every level, so it cannot be done your way.

****** Edit: removed becuse i was telled :p

just add:
Code:
mixed skill
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Divine Shield
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Level of Divine Shield for (Casting unit)) Equal to 1
            Then - Actions
                Unit - Add Invulnerable (Neutral) to (Casting unit)
                Wait 30.00 seconds
                Unit - Remove Invulnerable (Neutral) from (Triggering unit)
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Level of Divine Shield for (Casting unit)) Equal to 2
            Then - Actions
                Unit - Add Invulnerable (Neutral) to (Casting unit)
                Wait 15.00 seconds
                Unit - Remove Invulnerable (Neutral) from (Triggering unit)
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Level of Divine Shield for (Casting unit)) Equal to 3
            Then - Actions
                Unit - Add Invulnerable (Neutral) to (Casting unit)
                Wait 45.00 seconds
                Unit - Remove Invulnerable (Neutral) from (Triggering unit)
            Else - Actions
 

darkRae

Ueki Fan (Ueki is watching you)
Reaction score
173
Pigger's method is better, since it saves space, and time.
Or you can use Divine Shield as the base, and order a dummy to cast the Roar.
 

neckface

terrain contest winner! :) dance contest loser. :(
Reaction score
34
polo:
you misread the question, it appears he wants the targets of roar to get divine shield in addition to the buff.

don't berate people--he's most likely just new to the concept of triggering.
 

polo2005

Wana start playing LoL? http://tinyurl.com/369as27
Reaction score
97
polo:
you misread the question, it appears he wants the targets of roar to get divine shield in addition to the buff.

don't berate people--he's most likely just new to the concept of triggering.

srry for that then removed my stupid comment oO

umh... does that rly matter? the effect of diving shield is still invurable
 

Insane!

Shh I didn't edit this, go away.
Reaction score
122
lada

Events
A Unit Casts An Ability

Conditions

Actions

Unit Group pick all units in playable map area and do actions
if/then/Else Multiple Actions

If Conditions
if picked unit has a buff equal to roar (or something like that)

Then actions
add divine shield to picked unit
issue picked unit to cast divine shield
remove divine shield from picked unit

Else actions

Do Nothing

sorry thats all done by hand lol :p
 

polo2005

Wana start playing LoL? http://tinyurl.com/369as27
Reaction score
97
add divine shield to picked unit
issue picked unit to cast divine shield
remove divine shield from picked unit

would that rly work? if you order a unit to cast diving shield and then remove the ability, would rly the effect still exist?
 

Insane!

Shh I didn't edit this, go away.
Reaction score
122
> would rly the effect still exist?

If the unit did the casting itself, the effect would disappear with the ability.

revisions

lada

Events
A Unit Casts An Ability

Conditions

Actions

Unit Group pick all units in playable map area and do actions
if/then/Else Multiple Actions

If Conditions
if picked unit has a buff equal to roar (or something like that)

Then actions
issue picked unit to cast divine shield


Else actions

Do Nothing



and the unit should have divine shield in a spell book thats disabled
thats all i've changed
 

Insane!

Shh I didn't edit this, go away.
Reaction score
122
or a better solution
:)

Code:
Untitled Trigger 001
    Events
        Map initialization
    Conditions
    Actions
        Unit Group - Pick every unit in (Units in (Playable map area)) and do (Unit - add your spell book to (Picked unit))
and just disable the spell book
 
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