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!
Have you tried making a ranged unit with the Chain Lightning effect as projectile?
Not sure if you'll get a lightning bolt thrown or the Chain Lightning effect though, but I suggest you start searching for answers there.
A unit is attacked
unit type of attacking unit equal to lighting über powered beast
set tempunit1 = attacking unit
set tempunit2 = attacked unit
unit - issue tempunit1 to chain lighting tempunit2
clear groups.
1- search for the shaman claw item thing from Rexxar campaign. it have an ability that allows you to cast purge when attacking (a % chance) just replace the purge with a chain lightning and fix the chance
2- create a trigger that when attacking there is a % chance to create a dummy, and that dummy cast the chain lightning
the first choice make your ability "Orb Effect"
the second doesn't
actually the orb effects, random is bugged, there is a way to fix it, although im not sure what it is, it also requires triggers
the orb works fine, its just not random, and when set to 100% still sometimes fails ..., it tends to go off in groups, like 3-4 cast, 4-5 atacks without... ect
Create a dummy. Dummies are hidden spell casters. Just base it of a unit, null the model path and add the Locust ability.
Create a passive ability for the attacking unit and make it have no effects. For this case, I'll call it "YourSpell". If you like, you can make it have levels.
Create an ability based on Chain Lightning. This ability will be for "YourDummy". Let's say we call it "DummyChainLightning". If you have added levels to "YourSpell", make sure to add the same amount of levels to "DummyChainLightning". Make sure to make the mana cost to 0.
Operate with the trigger below.
Events
A unit Is attacked
Conditions
And - All (Conditions) are true
(Unit-type of (Triggering Unit)) Equal to YourUnit
(Level of YourSpell for (Triggering Unit)) Greater than or equal to 1
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 1 and 100) Less than or equal to 20
Then - Actions
Unit - Create YourDummy for (Owner of (Triggering Unit)) at (Position of (Attacked Unit)) facing Default building facing degrees.
Unit - Add DummyChainLightning to (Last Created Unit)
Unit - Set level of DummyChainLightning for (Last Created Unit) to (Level of YourSpell for (TriggeringUnit))
Unit - Order (Last Created Unit) to Orc Far Seer - Chain Lightning (Attacked Unit)
Unit - Add a 2.00 second Generic expiration timer to (Last Created Unit)
Summary of the trigger above:
-"Your Ability" will have a 20% chance to create a Dummy at the position of the attacked unit.
-The Dummy will then have the ability "DummyChainLightning" added with the levels set the same as the level of "YourAbility".
-The Dummy will then cast a Chain Lightning at the attacked trigger.
-The Dummy then will die after 2.00 seconds.
May seem hard, but it's better for improving your triggering skills. If you can't get it to work, try Joe's method with the item.
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.