• 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.

Passive Entangling Roots

Status
Not open for further replies.
Level 18
Joined
Aug 13, 2007
Messages
1,584
Okay, you asked me in the chat and I'm writing the trigger right now. The rest, don't flame, I know what exactly he wants done.

Ok, make some passive ability (for example brilliance aura or whatever, just set all values to 0/none). Name it Some_Passive_Shit (for example).

Make another ability based on Thunder Clap (0 damage, 0% slow, no buffs and effects.) Name it with the official name of the spell. For example Guardship of the Nature.

Then make another ability based off Entangling Roots, set Casting Time to 0, Mana Cost to 0, Cooldown to 0. Name it Entangle.

Make a dummy unit (model path set to "_", no shadow image, add Locust ability to it and add Entangle). Name it Dummy_Faggot.

Create a variable named Unit_With_Ability.

Then the triggers:

Casting the ability:
  • Cast
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Guardship of the Nature
    • Action
      • Add Some_Passive_Shit to (Casting Unit)
      • Set Unit_With_Ability = (Casting Unit)
      • Wait 60.00 seconds
      • Unit - Remove Some_Passive_Shit from Unit_With_Ability
Death case:

  • Death
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Dying Unit) Has Some_Passive_Shit Equal to True
    • Actions
      • Unit - Remove Some_Passive_Shit from (Dying Unit)
Actual effect:

  • Entangle
    • Events
      • A unit Is Attacked
    • Conditions
      • (Attacked Unit) has Some_Passive_Shit Equal to True
    • Actions
      • All - If/Then/Else - Multiple Actions
        • If -Conditions
          • Random Integer from 1 to 4 Less or Equal to 1
        • Then - Actions
          • Unit -Create 1 Dummy_Faggot for (Owner of (Attacked Unit)) at (Position of (Attacking Unit)) facing whatever degrees
          • Unit - Order (Last Created Unit) to Night Elf Keeper of the Grove - Entangling Roots (Attacking Unit)
          • Unit - Add a 1 second Generig expiration timer to (Last created Unit)
The integer comparison is the percent chance. It is a function that returns a random integer (whole) value from 1 to 4. If it's equal or less than 1, the Entangle will be cast. This makes 25% chance. For 33% it will be Random Integer from 1 to 3 Equal or Less than 1, and for 66% it will be Random Integer from 1 to 3 Equal or Less than 2.

You asked me about levels. Well, just make multiple "some_passive_shit" abilities. Just copy&Paste them and change the Editor Suffix.

  • Level 1
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Guardship of the Nature
      • Level of Ability Being Cast Equal to 1
    • Action
      • Add Some_Passive_Shit (1) to (Casting Unit)
      • Set Unit_With_Ability = (Casting Unit)
      • Wait 60.00 seconds
      • Unit - Remove Some_Passive_Shit (1) from Unit_With_Ability
  • Level 2
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Guardship of the Nature
      • Level of Ability Being Cast Equal to 2
    • Action
      • Add Some_Passive_Shit (2) to (Casting Unit)
      • Set Unit_With_Ability = (Casting Unit)
      • Wait 60.00 seconds
      • Unit - Remove Some_Passive_Shit (2) from Unit_With_Ability
You can change the entangle ability (create a different type of dummy unit with more powerful Entangle), the duration of the spell and the percent chance.
 
Last edited:
Level 10
Joined
Jun 4, 2008
Messages
249
how passive..that when he attacks entangles them or what??

Sorry for the Very bad Description, I'm making a spell that i whant be able to 'click' to active. Not Be passive al the time. And when it's active it will be atcive for 1 min, And under that minute any attacker that damages the Caster will have a, lets say 35% chance to be entagled. And when one enemy has been entagled it will be removed. You understand?
 
Passive Entangling Roots? If you want, it not use any triggers, just use item attack black arrow bonus ability and add the normal entangling roots ability to it.

example1cq1.jpg
 
Last edited:
Status
Not open for further replies.
Top