- Joined
- Jan 5, 2012
- Messages
- 116
Hello! As the title says, Warcraft crashes when my Hero casts an ability. I put the trigger to tell me if something there causes the problem.
-
Ground Trap
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Ground Trap
-
-
Actions
-
Set GT_Point = (Target point of ability being cast)
-
Set GT_Group = (Units within (150.00 + (50.00 x (Real((Level of Ground Trap for (Triggering unit)))))) of GT_Point matching ((Owner of (Matching unit)) Equal to Player 7 (Green)))
-
Custom script: set bj_wantDestroyGroup = true
-
Unit Group - Pick every unit in GT_Group and do (Unit - Cause (Triggering unit) to damage (Picked unit), dealing (30.00 x (Real((Level of Ground Trap for (Triggering unit))))) damage of attack type Spells and damage type Normal)
-
Special Effect - Create a special effect at GT_Point using Abilities\Spells\NightElf\Taunt\TauntCaster.mdl
-
Special Effect - Destroy (Last created special effect)
-
Unit - Create 1 Ground Trap Dummy for (Triggering player) at GT_Point facing Default building facing degrees
-
Set GT_Dummy = (Last created unit)
-
Unit - Add a 1.00 second Generic expiration timer to GT_Dummy
-
Unit - Add GT Slow to GT_Dummy
-
Unit - Order GT_Dummy to Human Mountain King - Thunder Clap
-
Custom script: call RemoveLocation(udg_GT_Point)
-
-
Last edited: