So essentially here's the concept behind the spell:
The Champion increases his size, hence increasing his hitpoints and armor. All nearby enemy units are shrunk and their damage is reduced.
The problems I have are that I can't figure out a non-leaking way to create the 'shrinking' effect and I don't really know how to decrease nearby unit's damage.
Thanks in advance guys.
The Champion increases his size, hence increasing his hitpoints and armor. All nearby enemy units are shrunk and their damage is reduced.
The problems I have are that I can't figure out a non-leaking way to create the 'shrinking' effect and I don't really know how to decrease nearby unit's damage.
-
Gigantism
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Gigantism
-
-
Actions
-
Set Target_Point[1] = (Position of (Casting unit))
-
Set Caster = (Triggering unit)
-
Unit Group - Pick every unit in (Units within 400.00 of Target_Point[1]) and do (Actions)
-
Loop - Actions
-
Animation - Change (Picked unit)'s size to (80.00%, 80.00%, 80.00%) of its original size
-
Wait 5.00 seconds
-
Animation - Change (Picked unit)'s size to (100.00%, 100.00%, 100.00%) of its original size
-
-
For each (Integer A) from 1 to 6, do (Actions)
-
Loop - Actions
-
Set Target_Point[2] = (Target_Point[1] offset by 400.00 towards (60.00 x (Real((Integer A)))) degrees)
-
Unit - Create 1 Giant Dummy for (Owner of (Triggering unit)) at Target_Point[2] facing Default building facing degrees
-
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
-
Special Effect - Create a special effect at Target_Point[2] using Abilities\Spells\Other\Charm\CharmTarget.mdl
-
Special Effect - Destroy (Last created special effect)
-
Custom script: call RemoveLocation(udg_Target_Point[2])
-
-
-
Custom script: call RemoveLocation(udg_Target_Point[1])
-
-
-
Thanks in advance guys.