• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

How can i do i Passive spell that has 20% to do Entrangling?

Status
Not open for further replies.
Level 1
Joined
Apr 20, 2006
Messages
5
BTW i did like this
Code:
Events
    Unit - A unit Is attacked

Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            (Random integer number between 1 and 5) Equal to 3
            ((Attacked unit) has buff Nature's Grace ) Equal to True
        Then - Actions
            Unit - Create 1 <dummy_root> for Player 1 (Red) at (Position of (Attacked unit)) facing Default building facing degrees
            Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
            Unit - Order (Last created unit) to Night Elf Keeper Of The Grove - Entangling Roots (Attacking unit)
        Else - Actions
            Do nothing

Thinks it work :D[/code]
 
Level 40
Joined
Dec 14, 2005
Messages
10,532
Zyrre said:
BTW i did like this
Code:
Events
    Unit - A unit Is attacked

Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            (Random integer number between 1 and 5) Equal to 3
            ((Attacked unit) has buff Nature's Grace ) Equal to True
        Then - Actions
            Unit - Create 1 <dummy_root> for Player 1 (Red) at (Position of (Attacked unit)) facing Default building facing degrees
            Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
            Unit - Order (Last created unit) to Night Elf Keeper Of The Grove - Entangling Roots (Attacking unit)
        Else - Actions
            Do nothing

Thinks it work :D[/code]

first, remove the DoNothing. that does nothing! what do you know? i wouldnt have guessed that!

second, add the expiration timer after the unit is ordered to cast the ability. in this case it wont matter, but its good to get used to it
 
Level 1
Joined
May 8, 2006
Messages
4
for me it doesn`t work :( i don`t know why . i made the dummy 0 to all locust invunerable collision 0 ..etc and what is with nature`s grace there ...??
it doesn`t woork for me ;|
can someone explain em in details :D i would apreciate alot :D
 
Level 1
Joined
May 8, 2006
Messages
4
i`m not reveving old topic i was just putting a question... why i`m not allowed ... are u moderator or what?
 
Status
Not open for further replies.
Top