• Check out the results of the Techtree Contest #19!
  • 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 void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Spell] Buffs and Effects Help.

Status
Not open for further replies.

RivalWargod

R

RivalWargod

I am trying to create custom hero abilities. In my creating I had an idea. This idea is to create a buff or effect that would increase my hero's strength for a set duration of time. Any advice on how to do this would be helpful.
 
I'm guessing you mean strength; the hero's attribute?

You will need to create a trigger. It will give 5 x level of the unit strength. So level 1 gives 5 strength. Level 2 gives 10 strength and so on. You can change this of course. And you can change how low it lasts (with the wait).

You can base this spell off something like "Roar".

  • Hero Strength
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Hero Strength
    • Actions
      • Hero - Modify Strength of (Triggering unit): Add (5 x (Level of Hero Strength for (Triggering unit)))
      • Wait 20.00 seconds
      • Hero - Modify Strength of (Triggering unit): Subtract (5 x (Level of Hero Strength for (Triggering unit)))
Here you go, and it is MUI.
 
Status
Not open for further replies.
Back
Top