Xebarsis
New Member
- Reaction score
- 7
I'm trying to make it so that if a player kills a lever (I made the lever a unit instead of a destructible), that rain of chaos will be casted on the position of the unit for the player who killed the lever. Some reason the dummy caster refuses to cast the spell.
I've made sure my dummy caster is invulnerable, has no attack, is a building, has 10,000 mana, and that the Rain of Mini-Infernal Chaos (Trap) costs 0 mana and has a max cast range. I've also tried to give the dummy caster to neutral extra to see if it would still cast the spell, but some reason it still doesn't work.
Code:
Unit - Create 1 Dummy Caster for (Owner of (Killing unit)) at (Position of (Dying unit)) facing Default building facing degrees
Unit - Add Rain of Mini-Infernal Chaos (Trap) to (Last created unit)
Unit - Add a 15.00 second Generic expiration timer to (Last created unit)
Unit - Order (Last created unit) to Special Archimonde - Rain Of Chaos (Position of (Dying unit))
I've made sure my dummy caster is invulnerable, has no attack, is a building, has 10,000 mana, and that the Rain of Mini-Infernal Chaos (Trap) costs 0 mana and has a max cast range. I've also tried to give the dummy caster to neutral extra to see if it would still cast the spell, but some reason it still doesn't work.