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!
That's a tough one... One bothersome way to do it is to make an insane amount of levels for the ability, and set the ability according to a Hero's attribute. You woulkd have to use some dummy-abilities and hidden abilities...
O_O
I tried to make it something like this..but I am just bad at triggers so it didn't work
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Summon Misha (Rexxar)
Actions
Set Caster = (Casting unit)
Set CasterPoint = (Position of Caster)
Unit - Create 20 Locust for (Owner of (Casting unit)) at CasterPoint facing (Random point in (Playable map area))
Set LocustGroup = (Last created unit group)
Unit Group - Order LocustGroup to Undead Crypt Lord - Locust Swarm
Unit Group - Pick every unit in LocustGroup and do (Unit - Cause (Picked unit) to damage (Attacked unit), dealing ((Real((Strength of Caster (Exclude bonuses)))) x 10.00) damage of attack type Spells and damage type Normal)
Wait 10.00 game-time seconds
Unit Group - Pick every unit in LocustGroup and do (Unit - Remove (Picked unit) from the game)
You must make damage detection system. When locust (unit) with 1-1 damage damages enemy unit you create dummies that damage same unit for the rest amount of damage. Quite complicated
Or... You could make the damage constant, just let attribute set the amount of locust to spawn.
You could try this:
Locust Trigger
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Locust Swarm
Actions
For each (Integer A) from (Strength of (Triggering unit) (Exclude bonuses)) to (Strength of (Triggering unit) (Exclude bonuses)), do (Actions)
Loop - Actions
Unit - Create (Integer A) Dummy Unit for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
Unit Group - Add (Last created unit) to Locust_UnitGroup
Unit Group - Pick every unit in Locust_UnitGroup and do (Actions)
Loop - Actions
Unit - Order (Picked unit) to Undead Crypt Lord - Locust Swarm
Where "Locust_UnitGroup" is a variable of the type "Unit Group". Add a modified ability of Locust Swarm with maybe only one locust to the Dummy Unit, so that it may cast it. The Locust swarm ability that your hero is casting should be a dummy-ability (like "Roar (Night Elf)" with 0% damage increase).
There most likely are better ways to do this, thou...
Well, I am able to trigger a MUI (Multi Unit Instanceable) Jass spell of locust that will deal damage based on the attribute of the hero. It will work even if you spam that spell around 1000 times / second and will still look good.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.