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!
Set Hs_tempGroup = (Units within Hs_bBallDOTRange[Hs_level[Hs_index]] of Hs_tempLoc)
Unit Group - Pick every unit in Hs_tempGroup and do (Actions)
Loop - Actions
Set Hs_pickedUnit = (Picked unit)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Hs_pickedUnit is dead) Equal to False
(Hs_pickedUnit is A structure) Equal to False
(Hs_pickedUnit is A flying unit) Equal to False
(Hs_pickedUnit is Magic Immune) Equal to Hs_damageMagicImmune
(Hs_pickedUnit belongs to an ally of Hs_owner[Hs_index]) Equal to Hs_damageAlly
Then - Actions
Unit - Cause Hs_caster[Hs_index] to damage Hs_pickedUnit, dealing Hs_bBallDOT[Hs_level[Hs_index]] damage of attack type Hs_attackType and damage type Hs_damageType
Special Effect - Create a special effect attached to the Hs_bBallDOTPoint of Hs_pickedUnit using Hs_bBallDOTEffect
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect at Hs_tempLoc using Hs_rBallExplodeEffect
Special Effect - Destroy (Last created special effect)
Set Hs_tempGroup = (Units within Hs_rBallExplodeRange[Hs_level[Hs_index]] of Hs_tempLoc)
Unit Group - Pick every unit in Hs_tempGroup and do (Actions)
Loop - Actions
Set Hs_pickedUnit = (Picked unit)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Hs_pickedUnit is dead) Equal to False
(Hs_pickedUnit is A flying unit) Equal to False
(Hs_pickedUnit is Magic Immune) Equal to Hs_damageMagicImmune
(Hs_pickedUnit belongs to an ally of Hs_owner[Hs_index]) Equal to Hs_damageAlly
Then - Actions
Unit - Cause Hs_caster[Hs_index] to damage Hs_pickedUnit, dealing Hs_rBallExplodeDamage[Hs_level[Hs_index]] damage of attack type Hs_attackType and damage type Hs_damageType
Set Hs_realTimer3[Hs_index] = (Hs_realTimer3[Hs_index] - Hs_loopSpeed)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Hs_realTimer3[Hs_index] Less than or equal to 0.00
Then - Actions
Set Hs_realTimer3[Hs_index] = Hs_sparkEffectInterval
Set Hs_tempLoc = (Hs_targetLoc[Hs_index] offset by (Random real number between 0.00 and Hs_areaEffect[Hs_level[Hs_index]]) towards (Random angle) degrees)
Special Effect - Create a special effect at Hs_tempLoc using Hs_sparkEffect
Special Effect - Destroy (Last created special effect)
12th Dec 2015
IcemanBo: Too long as NeedsFix. Rejected.
14:52, 15th Jul 2014
BPower:
Small fix is required.
Coding and performance is decent. Good job.
Set Hs_tempGroup = (Units within Hs_rBallExplodeRange[Hs_level[Hs_index]] of Hs_tempLoc)
in loop id 2 you forgot to destroy this group. Apart from that it looks fine to me.
Effects look pretty cool and the data in the object editor is also fine.
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.