What is wrong with this spell ? It doesnt work :/ And I cant figure it out myself.
Trigger:
- Entagling roots
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Rain of Fire
- Actions
- Set TempPoint = (Position of (Target unit of ability being cast))
- Set TempReal = 400.00
- Set TempUnitGroup = (Units within TempReal of TempPoint matching (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True))
- Unit - Create 1 DUmmy for (Owner of (Triggering unit)) at TempPoint facing Default building facing degrees
- Set TempUnit = (Last created unit)
- Unit - Add Entangling Roots to TempUnit
- Unit - Add a 5.00 second Generic expiration timer to TempUnit
- Unit Group - Pick every unit in TempUnitGroup and do (Actions)
- Loop - Actions
- Unit - Order TempUnit to Night Elf Keeper Of The Grove - Entangling Roots (Picked unit)
- Loop - Actions
- Custom script: call RemoveLocation(udg_TempPoint)
- Custom script: call DestroyGroup(udg_TempUnitGroup)
- Events