After reading the tutorial made by Daelin (thank you very much for writing this post
)
I decided to try out my first trigger enhanced spell base on the example in that tutorial.
Also what kind of ability should i use ? I want a instant cast with a AOE selector when you want to cast the spell.
I try flame strike before it cause the game to lag , so I using blizzard instead.
However the effect wasn't quite satisfying cause there is a hidden damage cause by blizzard ability (I can't set the damage of the spell to 0).
I set the unitgroup matching check to ground only cause the polymorph itself will not affect ally unit.I wonder is this ok?
Any constructive suggestion would be highly appreciated, thank!

I decided to try out my first trigger enhanced spell base on the example in that tutorial.
-
Mass Polymorph
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Mass polymorph
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Then - Actions
-
Set Mass_polymorph_point = (Target point of ability being cast)
-
Set Mass_polymorph_group = (Units within 512.00 of Mass_polymorph_point matching (((Matching unit) is A ground unit) Equal to True))
-
Unit Group - Pick every unit in Mass_polymorph_group and do (Actions)
-
Loop - Actions
-
Unit - Create 1 Dummy unit for Player 1 (Red) at Mass_polymorph_point facing Default building facing degrees
-
Unit - Add Polymorph [dummy] to (Last created unit)
-
Unit - Order (Last created unit) to Human Sorceress - Polymorph (Picked unit)
-
Unit - Add a 0.50 second Generic expiration timer to (Last created unit)
-
-
-
Custom script: call RemoveLocation (udg_Mass_polymorph_point)
-
Custom script: call DestroyGroup (udg_Mass_polymorph_group)
-
-
Else - Actions
-
-
-
Also what kind of ability should i use ? I want a instant cast with a AOE selector when you want to cast the spell.
I try flame strike before it cause the game to lag , so I using blizzard instead.
However the effect wasn't quite satisfying cause there is a hidden damage cause by blizzard ability (I can't set the damage of the spell to 0).
I set the unitgroup matching check to ground only cause the polymorph itself will not affect ally unit.I wonder is this ok?
Any constructive suggestion would be highly appreciated, thank!