Ok, here's a spell, Rotting Touch.
It's supposed to cause blight in the area and shortly after that destroy all trees there.
First of all, the dummy spell is based on Flame Strike. It has no damage, no casting time, no duration, no buffs/effects and no targets allowed. It's range is 600.00, area of effect is 200.00. (is this important? )
here's the trigger
----------------------------------
Events:
A unit Finishes casting an ability
Conditions:
(Spell being cast) Equal to Rotting Touch
Actions:
-Environment - Create Blight for Neutral Passive from (Target point of ability being cast) to a radius of 200.00
-Wait 1.00 seconds
-Destructible - Pick every destructible within 200.00 of (Target point of ability being cast) and do (Actions)
Loop - Actions:
Destructible - Kill (Picked destructible)
---------------------------------
Now the problem is, when I cast the spell, nothing happens. My mana decreases, spell is put on cooldown yes. But nothing happens! Trees still standing there. No blight.
The trigger just doesn't trigger.
In an older version , I had targets allowed: Tree. And what happened! Trees in the area would instantly die (even though dummy spell has 0 damage) but no blight or 1 second delay before killing trees would appear.
What the hell is wrong?
It's supposed to cause blight in the area and shortly after that destroy all trees there.
First of all, the dummy spell is based on Flame Strike. It has no damage, no casting time, no duration, no buffs/effects and no targets allowed. It's range is 600.00, area of effect is 200.00. (is this important? )
here's the trigger
----------------------------------
Events:
A unit Finishes casting an ability
Conditions:
(Spell being cast) Equal to Rotting Touch
Actions:
-Environment - Create Blight for Neutral Passive from (Target point of ability being cast) to a radius of 200.00
-Wait 1.00 seconds
-Destructible - Pick every destructible within 200.00 of (Target point of ability being cast) and do (Actions)
Loop - Actions:
Destructible - Kill (Picked destructible)
---------------------------------
Now the problem is, when I cast the spell, nothing happens. My mana decreases, spell is put on cooldown yes. But nothing happens! Trees still standing there. No blight.
The trigger just doesn't trigger.
In an older version , I had targets allowed: Tree. And what happened! Trees in the area would instantly die (even though dummy spell has 0 damage) but no blight or 1 second delay before killing trees would appear.
What the hell is wrong?