- Joined
- Mar 6, 2015
- Messages
- 130
well this is a Spell that uses my Knockback system a unit jump up and then crush the ground a dummy unit will be created and grouped automatically by system then this trigger runs by system that picks and impales the enemies then toss them into the air , finally it uses system again to land them (Like Tidehunter`s Ravage in dota) but there is an odd bug i found !
this spell pick them and add them to the system but one of them gets the Thunderclap`s buff forever and beside of that it won`t be impaled at all ! what`s the issue?!!
thanks in advance
this spell pick them and add them to the system but one of them gets the Thunderclap`s buff forever and beside of that it won`t be impaled at all ! what`s the issue?!!
-
ThunderClap Cast
-
Events
-
Conditions
-
Actions
-
Unit Group - Pick every unit in kb3d_DummyG and do (Actions)
-
Loop - Actions
-
Set tempunit1 = (Picked unit)
-
Unit - Order tempunit1 to Human Mountain King - Thunder Clap
-
Special Effect - Create a special effect at (Position of tempunit1) using Abilities\Spells\Orc\EarthQuake\EarthQuakeTarget.mdl
-
Special Effect - Destroy (Last created special effect)
-
Custom script: set bj_wantDestroyGroup=true
-
Unit Group - Pick every unit in (Units within 512.00 of (Position of tempunit1)) and do (Actions)
-
Loop - Actions
-
Set tempunit = (Picked unit)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(tempunit belongs to an enemy of (Owner of tempunit1)) Equal to True
-
(tempunit is alive) Equal to True
-
-
Then - Actions
-
Set kb3d_GetUnit = tempunit
-
Set temppoint = (Position of kb3d_GetUnit)
-
Special Effect - Create a special effect at temppoint using Abilities\Spells\Undead\Impale\ImpaleHitTarget.mdl
-
Special Effect - Destroy (Last created special effect)
-
Set kb3d_GetAngle = 90.00
-
Set kb3d_GetVelocity = 20.00
-
Set kb3d_GetZmax = 150.00
-
Trigger - Run KnockBack 3D <gen> (ignoring conditions)
-
Custom script: call RemoveLocation(udg_temppoint)
-
-
Else - Actions
-
-
-
-
Unit - Add a 0.50 second Generic expiration timer to tempunit1
-
Custom script: call DestroyGroup(udg_kb3d_DummyG)
-
-
-
-