Hi There. Im making a map with one of my friends, he however made a massive trigger error in a charge spell for a ram.
The problem is that when you cast it, you go invulnerable, you may however move around and cancel the straight line movement and therefore be invulnerable while auto-attacking anything you want until it runs out.
We also wanted to take collision off too so you can go through enemy hero's and units but has however made you able to go through the areas of the map your not supposed to go through.
It also destroy's towers which we dont want it to do.
Any help could be appreciated
The Trigger is :
The problem is that when you cast it, you go invulnerable, you may however move around and cancel the straight line movement and therefore be invulnerable while auto-attacking anything you want until it runs out.
We also wanted to take collision off too so you can go through enemy hero's and units but has however made you able to go through the areas of the map your not supposed to go through.
It also destroy's towers which we dont want it to do.
Any help could be appreciated
The Trigger is :
-
Charge
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Charge
-
-
Actions
-
Unit - Turn collision for (Triggering unit) Off
-
Unit - Set (Triggering unit) movement speed to 385.00
-
Unit - Make (Triggering unit) Invulnerable
-
Unit - Order (Triggering unit) to Move To (Target point of ability being cast)
-
For each (Integer A) from 1 to 10, do (Actions)
-
Loop - Actions
-
Special Effect - Create a special effect at (Position of (Triggering unit)) using Objects\Spawnmodels\Undead\ImpaleTargetDust\ImpaleTargetDust.mdl
-
Special Effect - Destroy (Last created special effect)
-
Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 110.00 at (Position of (Triggering unit)), dealing ((Real((Level of Charge for (Triggering unit)))) x 50.00) damage of attack type Siege and damage type Unknown
-
Wait 0.50 seconds
-
-
-
Unit - Set (Triggering unit) movement speed to (Default movement speed of (Triggering unit))
-
Unit - Make (Triggering unit) Vulnerable
-
Unit - Turn collision for (Triggering unit) On
-
-