ArmyOfFrogs
New Member
- Reaction score
- 20
Can anyone spot the problem with this? The dummy unit spawns, but won't actually cast the spell. It's most likely something silly too ;[
Thanks
Trigger:
- EntangleEffect
- Events
- Unit - A unit Is attacked
- Conditions
- (Level of Entangling Armor for (Attacked unit)) Greater than or equal to 1
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Random integer number between 1 and 100) Less than or equal to 12
- Then - Actions
- Set TempCastPoint[37] = (Position of (Attacked unit))
- Unit - Create 1 EntArm Dummy for (Owner of (Attacked unit)) at TempCastPoint[37] facing Default building facing degrees
- Set tmpdummy = (Last created unit)
- Unit - Add EntArmorSpell to tmpdummy
- Unit - Set level of EntArmorSpell for tmpdummy to (Level of Entangling Armor for (Attacked unit))
- Unit - Order tmpdummy to Night Elf Tree Of Life - Entangle (Attacking unit)
- Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
- Custom script: call RemoveLocation(udg_TempCastPoint[37])
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
Thanks