• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[Trigger] Why my skill will kick player

Status
Not open for further replies.
Level 4
Joined
Aug 3, 2011
Messages
222
When i use the skill (just like a huskar's Life Break with a stun)
All of the player (Except the Target and Host) Disconnect...:ogre_rage:
Then the host (me) use the spell to the same target again...

THE TARGET DISCONNECT ALSO!!

Here is the Trigger
  • Blinkslash Start
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Blinkslash
    • Actions
      • Set CRUnit = (Triggering unit)
      • Set CRUnitTarget = (Target unit of ability being cast)
      • Animation - Play CRUnit's Attack 2 animation
      • Special Effect - Destroy Effect_Copy
      • Special Effect - Create a special effect attached to the weapon of CRUnit using war3mapImported\BloodElementalMisile.mdx
      • Set Effect_Copy = (Last created special effect)
      • Unit - Turn collision for CRUnit Off
      • Wait 0.03 seconds
      • Trigger - Turn on Blinkslash Rush <gen>

This trigger (Second Trigger) is unchecked the "Initially On"
  • Blinkslash Rush
    • Events
      • Time - Every 0.02 seconds of game time
    • Conditions
    • Actions
      • Set CRUnitPoint = (Position of CRUnit)
      • Set CRTarget = (Position of CRUnitTarget)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Distance between CRTarget and CRUnitPoint) Less than or equal to 120.00
        • Then - Actions
          • Trigger - Turn off (This trigger)
          • Animation - Play CRUnit's attack animation
          • Special Effect - Create a special effect attached to the chest of CRUnitTarget using Objects\Spawnmodels\Orc\OrcLargeDeathExplode\OrcLargeDeathExplode.mdl
          • Special Effect - Destroy (Last created special effect)
          • Sound - Play MetalHeavySliceFlesh1 <gen> at 100.00% volume, located at (Position of CRUnit) with Z offset 0.00
          • Unit - Turn collision for CRUnit On
          • Environment - Create a 0.50 second random deformation at CRTarget with radius 300.00, using depths between -10.00 and 10.00, updating every 0.10 seconds
          • Unit - Cause CRUnit to damage CRUnitTarget, dealing 20.00 damage of attack type Normal and damage type Normal
          • Special Effect - Create a special effect attached to the overhead of CRUnitTarget using Abilities\Spells\Human\Thunderclap\ThunderclapTarget.mdl
          • Set Effect = (Last created special effect)
          • Unit - Pause CRUnitTarget
          • Wait 1.00 seconds
          • Unit - Unpause CRUnitTarget
          • Special Effect - Destroy Effect
        • Else - Actions
          • Set Point = (CRUnitPoint offset by 30.00 towards ((Angle from CRTarget to CRUnitPoint) - 180.00) degrees)
          • Unit - Move CRUnit instantly to Point
          • Special Effect - Destroy Effect_Copy
          • Custom script: call RemoveLocation(udg_Point)
      • Custom script: call RemoveLocation(udg_CRUnitPoint)
      • Custom script: call RemoveLocation(udg_CRTarget)
 
Status
Not open for further replies.
Top