- Joined
- Aug 14, 2006
- Messages
- 7,602
Hello there everyone!
I have huge bug that I cannot fix somehow. Many people have been saying that spell called "Teleport Strike" won't work perfectly.
Here is the spell:
So anyone can help? How do I fix this problem?
I have huge bug that I cannot fix somehow. Many people have been saying that spell called "Teleport Strike" won't work perfectly.
Mechmap said:I discovered that if you do lightning bolt while doing teleport strike will cause you to stay in teleport strike forever but you can move around and such.
Here is the spell:
Teleport Strike
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Teleport Strike (Fradz) =R 1,2
Actions
Unit - Turn collision for (Casting unit) Off
Set teleportstrike_returnpoint = (Position of (Casting unit))
Animation - Change (Casting unit)'s vertex coloring to (100.00%, 100.00%, 0.00%) with 15.00% transparency
Unit - Add 100%_Evasion to (Casting unit)
Unit - Add 100%_Magic_immune (Item) to (Casting unit)
Special Effect - Create a special effect attached to the right hand of (Casting unit) using Abilities\Weapons\WingedSerpentMissile\WingedSerpentMissile.mdl
Set RAGE_SFX = (Last created special effect)
Special Effect - Create a special effect attached to the chest of (Casting unit) using Abilities\Spells\Orc\LightningShield\LightningShieldTarget.mdl
Set RAGE_SFX_2 = (Last created special effect)
Animation - Change (Casting unit)'s animation speed to 500.00% of its original speed
For each (Integer A) from 1 to 5, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Number of units in (Units within 500.00 of (Position of (Casting unit)) matching ((((Matching unit) belongs to an ally of (Owner of (Casting unit))) Equal to False) and (((Matching unit) is alive) Equal to True)))) Less than or equal to 0
Then - Actions
Else - Actions
Set target = (Random unit from (Units within 500.00 of (Position of (Casting unit)) matching ((((Matching unit) belongs to an ally of (Owner of (Casting unit))) Equal to False) and (((Matching unit) is alive) Equal to True))))
Unit - Make target face (Casting unit) over 0.10 seconds
Unit - Make (Casting unit) face target over 0.10 seconds
Animation - Play (Casting unit)'s attack animation
Wait 0.13 seconds
Unit - Move (Casting unit) instantly to ((Position of target) offset by 150.00 towards ((Facing of target) + 180.00) degrees)
Unit - Cause (Casting unit) to damage target, dealing (50.00 x (Real((Level of Teleport Strike (Fradz) =R 1,2 for (Casting unit))))) damage of attack type Chaos and damage type Normal
Special Effect - Create a special effect attached to the origin of target using Abilities\Weapons\Bolt\BoltImpact.mdl
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect attached to the origin of target using Abilities\Spells\Other\Charm\CharmTarget.mdl
Special Effect - Destroy (Last created special effect)
Wait 0.13 seconds
Unit - Move (Casting unit) instantly to teleportstrike_returnpoint
Unit - Remove 100%_Evasion from (Casting unit)
Unit - Remove 100%_Magic_immune (Item) from (Casting unit)
Animation - Change (Casting unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency
Animation - Change (Casting unit)'s animation speed to 100.00% of its original speed
Animation - Reset (Casting unit)'s animation
Unit - Turn collision for (Casting unit) On
Special Effect - Destroy RAGE_SFX
Special Effect - Destroy RAGE_SFX_2
So anyone can help? How do I fix this problem?