Leazy
You can change this now in User CP.
- Reaction score
- 50
Hello, I'm making a Frost Nova spell. It is suppose to play some fancy special effect (breath of frost forming a circle) & cast a custom entagling roots spell on the units freezed. Here is my trigger:
Everything works fine, apart from the freezing. Entagling roots isn't casted =/ I can't figure out why :S
I'll post a demo map featuring the entagling roots dummy spell.
Trigger:
- Frost Nova
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Frost Nova (Mage)
- Actions
- Set Unit[1] = (Triggering unit)
- -------- Effect --------
- Set General_Point[1] = (Position of Unit[1])
- For each (Integer A) from 1 to 18, do (Actions)
- Loop - Actions
- Set General_Point[2] = (General_Point[1] offset by 50.00 towards (20.00 x (Real((Integer A)))) degrees)
- Unit - Create 1 Dummy Unit for (Owner of Unit[1]) at General_Point[1] facing Default building facing degrees
- Unit - Add [Dummy] Frost Nova (Effect) to (Last created unit)
- Unit - Order (Last created unit) to Undead Dreadlord - Carrion Swarm General_Point[2]
- Custom script: call RemoveLocation (udg_General_Point[2])
- Loop - Actions
- -------- Freeze & DMG --------
- Set General_Unitgroup[1] = (Units within 650.00 of General_Point[1] matching ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True)))
- Unit Group - Pick every unit in General_Unitgroup[1] and do (Actions)
- Loop - Actions
- -------- DMG --------
- Set Real[1] = (SpellDMG[(Player number of (Owner of Unit[1]))] / 3.00)
- Set Real[2] = (30.00 + Real[1])
- Unit - Cause Unit[1] to damage (Picked unit), dealing Real[2] damage of attack type Spells and damage type Normal
- -------- Freeze --------
- Unit - Create 1 Dummy Unit for (Owner of Unit[1]) at General_Point[1] facing Default building facing degrees
- Unit - Add [Dummy] Frost Nova (Immobilizing) to (Last created unit)
- Unit - Order (Last created unit) to Night Elf Keeper Of The Grove - Entangling Roots (Picked unit)
- Loop - Actions
- Custom script: call RemoveLocation (udg_General_Point[1])
- Events
Everything works fine, apart from the freezing. Entagling roots isn't casted =/ I can't figure out why :S
I'll post a demo map featuring the entagling roots dummy spell.