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

[Trigger] Need a spell. (Life Swell)

Status
Not open for further replies.
Level 40
Joined
Aug 6, 2015
Messages
815
Hello, can someone help me with a spell.
I am in need of this.

Life Swell: Hero increases his and nearby heroes maximum health based on his strength and maximum health. (maximum health registered before casting spells , means bonus health granted from this spell will not be applied to the total % bonus from cast)
Levels: 9
Amount Added from health: 10% of Maximum Health + 1.5% per spell level.
Amount Added from strength: +1.2% per 25 strength (+0.2% per skill level)
Cooldown: 180 seconds (-10s per level)
Duration : 45s +2s per level

I will also credit the user for the project on which I will use the spell: 300 Spartans.
 
Here it is, hopefully it works the way you wanted. Note that it's using a Unit Indexer to store data to the units. If you have one of these systems in your map already then DO NOT import a new one. If you don't wish to use a Unit Indexer then I can change it to use a Hashtable instead.

Sorry for the excessive variable usage, I can't help myself.

Make sure to import everything and link it all together:
2 Abilities
1 Buff (needs to be applied to the Dummy ability)
1 Unit (needs the Dummy ability)

The triggered Area of Effect of the ability is tied to the Area of Effect field of the Life Swell ability in the Object Editor.
 

Attachments

Last edited:
Here it is, hopefully it works the way you wanted. Note that it's using a Unit Indexer to store data to the units. If you have one of these systems in your map already then DO NOT import a new one. If you don't wish to use a Unit Indexer then I can change it to use a Hashtable instead.
I have an unit indexer , thanks a lot for help!!!!
 
Status
Not open for further replies.
Back
Top