• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Chronosphere bugged

Status
Not open for further replies.
Level 6
Joined
Aug 5, 2015
Messages
202
my chronosphere suddenly dont have cooldown (i already set cooldown to 200 seconds)

the chronosphere ability based on cluster rockets
the ability when cast is not cancelled (the proof is my mana is decreases after cast and the ability is worked , its just dont have cooldown i dont get it)

the trigger

  • Chronosphere
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to ChAbilityMain
    • Actions
      • Set Chronosphere_Caster = (Casting unit)
      • Set Chronosphere_Point[0] = (Target point of ability being cast)
      • Unit - Create 1 ChUnitEffect for (Owner of Chronosphere_Caster) at Chronosphere_Point[0] facing Default building facing degrees
      • Unit Group - Add (Last created unit) to Chronosphere_Group[0]
      • If ((Level of ChAbilityMain for (Triggering unit)) Equal to 1) then do (Unit - Add a 3.00 second Generic expiration timer to (Last created unit)) else do (Do nothing)
      • If ((Level of ChAbilityMain for (Triggering unit)) Equal to 2) then do (Unit - Add a 4.00 second Generic expiration timer to (Last created unit)) else do (Do nothing)
      • If ((Level of ChAbilityMain for (Triggering unit)) Equal to 3) then do (Unit - Add a 5.00 second Generic expiration timer to (Last created unit)) else do (Do nothing)
      • If ((Level of ChAbilityMain for (Triggering unit)) Equal to 4) then do (Unit - Add a 6.00 second Generic expiration timer to (Last created unit)) else do (Do nothing)
      • If ((Level of ChAbilityMain for (Triggering unit)) Equal to 5) then do (Unit - Add a 7.00 second Generic expiration timer to (Last created unit)) else do (Do nothing)
      • Custom script: call RemoveLocation(udg_Chronosphere_Point[0])
      • Trigger - Turn on Chronosphere Loop <gen>
      • Unit - Order Chronosphere_Caster to Stop
  • Chronosphere Loop
    • Events
      • Time - Every 0.01 seconds of game time
    • Conditions
    • Actions
      • Unit Group - Pick every unit in Chronosphere_Group[0] and do (Actions)
        • Loop - Actions
          • Set Chronosphere_Point[1] = (Position of (Picked unit))
          • Set Chronosphere_Group[1] = (Units within 400.00 of Chronosphere_Point[1] matching ((Owner of (Matching unit)) Not equal to (Owner of Chronosphere_Caster)))
          • Unit Group - Pick every unit in Chronosphere_Group[1] and do (Actions)
            • Loop - Actions
              • Unit - Pause (Picked unit)
              • Animation - Change (Picked unit)'s animation speed to 0.00% of its original speed
      • Custom script: call RemoveLocation(udg_Chronosphere_Point[1])
  • Chronosphere Resume
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Dying unit)) Equal to ChUnitEffect
    • Actions
      • Unit - Remove (Dying unit) from the game
      • Set Chronosphere_Point[2] = (Position of (Dying unit))
      • Set Chronosphere_Group[2] = (Units within 400.00 of Chronosphere_Point[2] matching ((Matching unit) Not equal to Chronosphere_Caster))
      • Unit Group - Pick every unit in Chronosphere_Group[2] and do (Actions)
        • Loop - Actions
          • Unit - Unpause (Picked unit)
          • Animation - Change (Picked unit)'s animation speed to 100.00% of its original speed
      • Custom script: call RemoveLocation(udg_Chronosphere_Point[2])
Additional trigger

  • Spells Vars
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set TiBuff = Time Lock (Pause)
      • Set BaItem = Backtrack
      • Set ChAbilityMain = Chronosphere
      • Set ChUnitEffect = Chronosphere
      • Set DummyCaster = Dummy Caster
 
Status
Not open for further replies.
Top