• 🏆 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] i need ursa pass (Trigger)

Status
Not open for further replies.
Level 4
Joined
Nov 4, 2013
Messages
33
i post my meet hook trigger.
need fix / help me fix ~.~ ty

  • MH Cast Копировать
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Mea|c00FF9224t|r Hook pudge
    • Actions
      • Set MH_Level = (Level of Mea|c00FF9224t|r Hook pudge for (Triggering unit))
      • Set MH_Angel2 = (Angle from (Position of (Triggering unit)) to (Target point of ability being cast))
      • Set MH_Unit[5] = (Triggering unit)
      • Trigger - Turn on MH Extend Копировать <gen>
  • MH Extend Копировать
    • Events
      • Time - Every 0.04 seconds of game time
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • MH_Links2 Less than 39
        • Then - Actions
          • Set MH_Links2 = (MH_Links2 + 1)
          • Unit - Create 1 Chain Link for (Owner of MH_Unit[5]) at ((Position of MH_Unit[5]) offset by (Real((50 x MH_Links2))) towards MH_Angel2 degrees) facing MH_Angel2 degrees
          • Set MH_Link2[MH_Links2] = (Last created unit)
          • Set Temp_Group2 = (Units within 115.00 of (Position of MH_Link2[MH_Links2]) matching ((((Matching unit) is alive) Equal to True) and (((Matching unit) is A Hero) Equal to True)))
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • MH_Links2 Greater than 3
            • Then - Actions
              • Set MH_Unit[6] = (Random unit from Temp_Group2)
              • Custom script: call DestroyGroup(udg_Temp_Group2)
              • Custom script: set udg_Temp_Group2 = null
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (MH_Unit[6] belongs to an ally of (Owner of MH_Unit[5])) Equal to False
                • Then - Actions
                  • Unit - Cause MH_Unit[5] to damage MH_Unit[6], dealing 460.00 damage of attack type Spells and damage type Normal
                • Else - Actions
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • MH_Unit[6] Not equal to No unit
            • Then - Actions
              • Trigger - Turn on MH Retract Копировать <gen>
              • Trigger - Turn off (This trigger)
            • Else - Actions
        • Else - Actions
          • Trigger - Turn on MH Retract Копировать <gen>
          • Trigger - Turn off (This trigger)
  • MH Retract Копировать
    • Events
      • Time - Every 0.04 seconds of game time
    • Conditions
    • Actions
      • Unit - Move MH_Unit[6] instantly to (Position of MH_Link2[MH_Links2])
      • Unit - Remove MH_Link2[MH_Links2] from the game
      • Set MH_Links2 = (MH_Links2 - 1)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • MH_Links2 Equal to 0
        • Then - Actions
          • Custom script: set udg_MH_Unit[6] = null
          • Custom script: set udg_MH_Unit[5] = null
          • Trigger - Turn off (This trigger)
        • Else - Actions
Whenever I use the meet hook-dealing 460.00 damage of attack type Spells and damage type Normal
But I use after, is itself a rebound 175 damage, why is it so?
 
Last edited by a moderator:
Status
Not open for further replies.
Top