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

[Spell] Buffs and Effects Help.

Status
Not open for further replies.
Level 1
Joined
Jul 31, 2010
Messages
1
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.
 
Level 16
Joined
Mar 27, 2011
Messages
1,349
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.
Top