- Joined
- Feb 3, 2009
- Messages
- 3,292
The bellow trigger is supposed to create a dummy and make it cast a mana burn on the target. Everything is fine but it doesn't cast the ability, the order is correct I checked plenty of times, I tried to cast the spell manually via the dummy to see if everything else is fine and it appears to be. The GUI order function returned the same results.
Any ideas?
Any ideas?
-
Destroy Mana
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Destroy Mana
-
Actions
- Set TempUnit = (Target unit of ability being cast)
- Set TempLoc = (Position of (Triggering unit))
- Set TempReal = (Mana of TempUnit)
- Unit - Create 1 Destroy Mana for (Owner of (Triggering unit)) at TempLoc facing Default building facing degrees
- Set TempUnit2 = (Last created unit)
- Unit - Set level of Destroy Mana Dummy for TempUnit2 to (Level of Destroy Mana for (Triggering unit))
- Custom script: call IssueTargetOrderById(udg_TempUnit2, 851986, udg_TempUnit)
- Unit - Add a 5.00 second Generic expiration timer to TempUnit2
- Custom script: set udg_TempUnit = null
- Custom script: set udg_TempUnit2 = null
- Custom script: call RemoveLocation(udg_TempLoc)
-
Events