- Joined
- Apr 13, 2005
- Messages
- 630
I got this problem with this spell. Its based off Roots and it cast on an enemy unit then the triggers kicks in. its MUI and suppose to create a dummy then cast it on all the enemys within 1000 range. The problem is One the hero keeps casting the spell once the cooldown ends and next the trigger wont create the dummy that will cast the spells
-
Rock Trap
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Rock Trap
-
Actions
- Set RocktrapUnits = (Casting unit)
- Set Positionofcaster = (Position of RocktrapUnits)
- Set RockTrapPoint = (Units within 1000.00 of Positionofcaster matching (((Matching unit) belongs to an enemy of (Owner of RocktrapUnits)) Equal to True))
- Floating Text - Create floating text that reads Rock Trap above RocktrapUnits with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
- Floating Text - Change the lifespan of (Last created floating text) to 3.00 seconds
- Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds
-
Unit Group - Pick every unit in RockTrapPoint and do (Actions)
-
Loop - Actions
- Set RockEnemy = (Picked unit)
- Unit - Create 1 Dummy (Rock Trap) for (Owner of RocktrapUnits) at (Position of RocktrapUnits) facing Default building facing degrees
- Set RockDummy = (Last created unit)
- Unit - Order RockDummy to Night Elf Tree Of Life - Entangle RockEnemy
- Unit - Add a 2.00 second Generic expiration timer to RockDummy
-
Loop - Actions
- Custom script: call DestroyGroup(udg_RockTrapPoint)
- Custom script: call RemoveLocation(udg_Positionofcaster)
- Set RockEnemy = No unit
- Set RocktrapUnits = No unit
-
Events
Last edited: