FireBladesX
Eating my wings!
- Reaction score
- 123
I'm making a spell where a unit fires off a shockwave when it deals damage. The dummy is created, but no shockwave fires.
I'm using weep's damage detection system. I'm certain it works in this trigger. The dummy unit is created at the position of the damage source. I know it has the ability, it has enough mana for the ability, it has enough time to cast the ability before it dies, and the target range is within the Shockwave ability's cast range.
TLDR: Everything works, dummy unit created at the right spot, ordered to target a valid area. But shockwave doesn't cast. 0 mana cost, 10000 cast range.
Any ideas?
Extra info: to test, I made the dummy visible and gave it movement speed, but the dummy doesn't even turn to cast the ability (but it will for other abilities). The dummy has 0 cast point, locusted, flying, no attack, etc etc. It's always worked before.
Trigger:
- ShockwaveTotem2
- Events
- Game - GDD_Event becomes Equal to 0.00
- Conditions
- (Level of Shockwave Totem Periodic for GDD_DamageSource) Greater than 0
- GDD_Damage Greater than or equal to 0.01
- Actions
- Unit - Remove Phoenix Fire buff from GDD_DamagedUnit
- Set L = (Position of GDD_DamageSource)
- Set L2 = (Position of GDD_DamagedUnit)
- Unit - Create 1 Footman for (Owner of GDD_DamageSource) at L facing Default building facing degrees
- Unit - Add Shockwave Real to (Last created unit)
- Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave L2
- Unit - Add a 1.00 second Water Elemental expiration timer to (Last created unit)
- Custom script: call RemoveLocation(udg_L)
- Custom script: call RemoveLocation(udg_L2)
- Events
I'm using weep's damage detection system. I'm certain it works in this trigger. The dummy unit is created at the position of the damage source. I know it has the ability, it has enough mana for the ability, it has enough time to cast the ability before it dies, and the target range is within the Shockwave ability's cast range.
TLDR: Everything works, dummy unit created at the right spot, ordered to target a valid area. But shockwave doesn't cast. 0 mana cost, 10000 cast range.
Any ideas?
Extra info: to test, I made the dummy visible and gave it movement speed, but the dummy doesn't even turn to cast the ability (but it will for other abilities). The dummy has 0 cast point, locusted, flying, no attack, etc etc. It's always worked before.