1. Are you planning to upload your awesome spell or system to Hive? Please review the rules here.
    Dismiss Notice
  2. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  3. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  4. The Lich King demands your service! We've reached the 19th edition of the Icon Contest. Come along and make some chilling servants for the one true king.
    Dismiss Notice
  5. The 4th SFX Contest has started. Be sure to participate and have a fun factor in it.
    Dismiss Notice
  6. The poll for the 21st Terraining Contest is LIVE. Be sure to check out the entries and vote for one.
    Dismiss Notice
  7. The results are out! Check them out.
    Dismiss Notice
  8. Don’t forget to sign up for the Hive Cup. There’s a 555 EUR prize pool. Sign up now!
    Dismiss Notice
  9. The Hive Workshop Cup contest results have been announced! See the maps that'll be featured in the Hive Workshop Cup tournament!
    Dismiss Notice
  10. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Meat Hook [MUI] [!FIXED!] v1.6

Submitted by Egorman
This bundle is marked as substandard. It may contain bugs, not perform optimally or otherwise be in violation of the submission rules.
This spell is very similar to a Pudge Meat Hook of DotA Allstars, but he is not a copy of it =) Well, I nedeyus you will appreciate this spell on merit. Thank you =)

Level 1 - 75 damage, 800 range.
Level 2 - 150 damage, 1000 range.
Level 3 - 225 damage, 1200 range.
Level 4 - 300 damage, 1400 range.


Now the spell has no leaks and bugs.

Keywords:
meat hook, meat, hook, Egorman, pudge, dota, butcher, spell, damage, haha.
Contents

Meat Hook by Egorman (Map)

Reviews
Moderator
12th Dec 2015 IcemanBo: For long time as NeedsFix. Rejected. IcemanBo: http://www.hiveworkshop.com/forums/spells-569/meat-hook-mui-fixed-v1-6-a-177745/index2.html#post2638067 18:49, 27th Sep 2010 The_Reborn_Devil: Status: Approved Rating:...
  1. Vengeancekael

    Vengeancekael

    Joined:
    Aug 11, 2009
    Messages:
    5,746
    Resources:
    16
    Tools:
    1
    Maps:
    13
    Spells:
    1
    StarCraft II Resources:
    1
    Resources:
    16
    Post the triggers here.
    Edit: Add multiple heroes to the map to see if it's MUI.
    Improve the spell description, it's too short.
    Remove the cliff and replace the footmen by peasents.
    Remove the chains when the throwed thing is returning to the hero.
    Why do you pause the unit when the spell is being casted?
    • Unit - Create 1 Hook for (Owner of MH_Caster[MH_Index[1]]) at ((Position of MH_Caster[MH_Index[1]]) offset by 100.00 towards (Angle from (Position of MH_Caster[MH_Index[1]]) to (Target point of ability being cast)) degrees) facing (Angle from (Position of MH_Caster[MH_Index[1]]) to (Target point of ability being cast)) degrees

    Store the position of the unit in a variable first and then use the variable in that action, it leaks. Afterwards, remove it.
    • Time - Every 0.03 seconds of game time

    Change it to 0.05, it will still be smooth.
    Also destroy groups in the end.

    By judging its originality, I'd give it 2/5. But this will be rejected if you don't fix it first.


    The triggers:
    • Meat Hook Cast
      • Events
        • Unit - A unit Starts the effect of an ability
      • Conditions
        • (Ability being cast) Equal to Meat Hook
      • Actions
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • MH_Index[0] Equal to 0
          • Then - Actions
            • Trigger - Turn on Meat Hook Move <gen>
          • Else - Actions
        • Set MH_Index[0] = (MH_Index[0] + 1)
        • Set MH_Index[1] = (MH_Index[1] + 1)
        • Set MH_Caster[MH_Index[1]] = (Casting unit)
        • Set MH_Spell[MH_Index[1]] = (Ability being cast)
        • Set MH_Damage[MH_Index[1]] = (75.00 x (Real((Level of MH_Spell[MH_Index[1]] for MH_Caster[MH_Index[1]]))))
        • Set MH_Time[MH_Index[1]] = 0.00
        • Set MH_Attack[MH_Index[1]] = False
        • Set MH_Distance[MH_Index[1]] = (600.00 + (200.00 x (Real((Level of MH_Spell[MH_Index[1]] for MH_Caster[MH_Index[1]])))))
        • Set MH_Move[MH_Index[1]] = MH_Distance[MH_Index[1]]
        • Set MH_Life[MH_Index[1]] = ((MH_Distance[MH_Index[1]] x (2.00 x 0.03)) + 0.03)
        • Unit - Create 1 Hook for (Owner of MH_Caster[MH_Index[1]]) at ((Position of MH_Caster[MH_Index[1]]) offset by 100.00 towards (Angle from (Position of MH_Caster[MH_Index[1]]) to (Target point of ability being cast)) degrees) facing (Angle from (Position of MH_Caster[MH_Index[1]]) to (Target point of ability being cast)) degrees
        • Set MH_Hook[MH_Index[1]] = (Last created unit)
        • Unit Group - Remove all units from MH_Group[MH_Index[1]]
        • Unit - Turn collision for MH_Hook[MH_Index[1]] Off
        • Unit - Pause MH_Caster[MH_Index[1]]
        • Unit - Make MH_Caster[MH_Index[2]] Invulnerable

    • Meat Hook Move
      • Events
        • Time - Every 0.03 seconds of game time
      • Conditions
      • Actions
        • For each (Integer MH_Index[2]) from 1 to MH_Index[1], do (Actions)
          • Loop - Actions
            • Set MH_Time[MH_Index[2]] = (MH_Time[MH_Index[2]] + 20.00)
            • Set MH_Life[MH_Index[2]] = (MH_Life[MH_Index[2]] - 0.03)
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • And - All (Conditions) are true
                  • Conditions
                    • MH_Attack[MH_Index[2]] Equal to False
                    • MH_Time[MH_Index[2]] Less than or equal to MH_Distance[MH_Index[2]]
              • Then - Actions
                • Set MH_Move[MH_Index[2]] = (MH_Move[MH_Index[2]] + 20.00)
                • Set MH_Point[1] = (Position of MH_Hook[MH_Index[2]])
                • Set MH_Point[2] = (MH_Point[1] offset by 20.00 towards (Facing of MH_Hook[MH_Index[2]]) degrees)
                • Unit - Move MH_Hook[MH_Index[2]] instantly to MH_Point[2]
                • Unit - Create 1 Piece of Hook for (Owner of MH_Caster[MH_Index[2]]) at MH_Point[2] facing (Facing of MH_Hook[MH_Index[2]]) degrees
                • Set MH_Shmat[MH_Index[2]] = (Last created unit)
                • Unit - Add a MH_Life[MH_Index[2]] second Generic expiration timer to MH_Shmat[MH_Index[2]]
                • Unit Group - Add MH_Shmat[MH_Index[2]] to MH_Hooks[MH_Index[2]]
                • Unit Group - Pick every unit in (Units within 80.00 of MH_Point[2]) and do (Actions)
                  • Loop - Actions
                    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                      • If - Conditions
                        • MH_Attack[MH_Index[2]] Equal to False
                        • (Picked unit) Not equal to MH_Caster[MH_Index[2]]
                        • (Picked unit) Not equal to MH_Hook[MH_Index[2]]
                        • ((Picked unit) is in MH_Group[MH_Index[2]]) Equal to False
                        • (Life of (Picked unit)) Greater than 0.00
                      • Then - Actions
                        • Set MH_Attack[MH_Index[2]] = True
                        • Set MH_Target[MH_Index[2]] = (Picked unit)
                        • Unit - Turn collision for MH_Target[MH_Index[2]] Off
                        • Unit Group - Add MH_Target[MH_Index[2]] to MH_Group[MH_Index[2]]
                        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                          • If - Conditions
                            • (MH_Target[MH_Index[2]] belongs to an enemy of (Owner of MH_Caster[MH_Index[2]])) Equal to True
                          • Then - Actions
                            • Unit - Cause MH_Caster[MH_Index[2]] to damage MH_Target[MH_Index[2]], dealing MH_Damage[MH_Index[2]] damage of attack type Spells and damage type Normal
                          • Else - Actions
                      • Else - Actions
                • Custom script: call RemoveLocation (udg_MH_Point[1])
                • Custom script: call RemoveLocation (udg_MH_Point[2])
              • Else - Actions
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • Or - Any (Conditions) are true
                  • Conditions
                    • MH_Attack[MH_Index[2]] Equal to True
                    • And - All (Conditions) are true
                      • Conditions
                        • MH_Time[MH_Index[2]] Greater than MH_Distance[MH_Index[2]]
                        • MH_Time[MH_Index[2]] Less than or equal to (MH_Distance[MH_Index[2]] x 2.00)
              • Then - Actions
                • Set MH_Move[MH_Index[2]] = (MH_Move[MH_Index[2]] - 20.00)
                • Set MH_Point[1] = (Position of MH_Hook[MH_Index[2]])
                • Set MH_Point[2] = (MH_Point[1] offset by 20.00 towards ((Facing of MH_Hook[MH_Index[2]]) - 180.00) degrees)
                • Unit - Move MH_Hook[MH_Index[2]] instantly to MH_Point[2]
                • Unit Group - Pick every unit in (Units within 80.00 of MH_Point[2]) and do (Actions)
                  • Loop - Actions
                    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                      • If - Conditions
                        • MH_Attack[MH_Index[2]] Equal to False
                        • (Picked unit) Not equal to MH_Caster[MH_Index[2]]
                        • (Picked unit) Not equal to MH_Hook[MH_Index[2]]
                        • ((Picked unit) is in MH_Group[MH_Index[2]]) Equal to False
                        • (Life of (Picked unit)) Greater than 0.00
                      • Then - Actions
                        • Set MH_Attack[MH_Index[2]] = True
                        • Set MH_Target[MH_Index[2]] = (Picked unit)
                        • Unit Group - Add MH_Target[MH_Index[2]] to MH_Group[MH_Index[2]]
                        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                          • If - Conditions
                            • (MH_Target[MH_Index[2]] belongs to an enemy of (Owner of MH_Caster[MH_Index[2]])) Equal to True
                          • Then - Actions
                            • Unit - Cause MH_Caster[MH_Index[2]] to damage MH_Target[MH_Index[2]], dealing MH_Damage[MH_Index[2]] damage of attack type Spells and damage type Normal
                          • Else - Actions
                      • Else - Actions
                • Unit Group - Pick every unit in MH_Group[MH_Index[2]] and do (Actions)
                  • Loop - Actions
                    • Unit - Move (Picked unit) instantly to MH_Point[2]
                • Custom script: call RemoveLocation (udg_MH_Point[1])
                • Custom script: call RemoveLocation (udg_MH_Point[2])
              • Else - Actions
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • MH_Move[MH_Index[2]] Equal to MH_Distance[MH_Index[2]]
              • Then - Actions
                • Unit Group - Pick every unit in MH_Hooks[MH_Index[2]] and do (Actions)
                  • Loop - Actions
                    • Unit - Remove (Picked unit) from the game
                    • Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Weapons\WardenMissile\WardenMissile.mdl
                    • Special Effect - Destroy (Last created special effect)
                • Unit - Turn collision for MH_Target[MH_Index[2]] On
                • Unit - Make MH_Caster[MH_Index[2]] Vulnerable
                • Unit - Turn collision for MH_Hook[MH_Index[2]] On
                • Unit - Remove MH_Hook[MH_Index[2]] from the game
                • Unit Group - Remove all units from MH_Group[MH_Index[2]]
                • Unit - Unpause MH_Caster[MH_Index[1]]
                • Set MH_Index[0] = (MH_Index[0] - 1)
                • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  • If - Conditions
                    • MH_Index[0] Equal to 0
                  • Then - Actions
                    • Set MH_Index[1] = 0
                    • Trigger - Turn off (This trigger)
                  • Else - Actions
              • Else - Actions



    Also, adding a target unit version would also be nice.
     
    Last edited: Sep 2, 2010
  2. Noobsmoke

    Noobsmoke

    Joined:
    Nov 20, 2007
    Messages:
    631
    Resources:
    1
    Spells:
    1
    Resources:
    1
    this spell is bugged :D download the replay and see the bug
     

    Attached Files:

  3. Vengeancekael

    Vengeancekael

    Joined:
    Aug 11, 2009
    Messages:
    5,746
    Resources:
    16
    Tools:
    1
    Maps:
    13
    Spells:
    1
    StarCraft II Resources:
    1
    Resources:
    16
    You've fixed everything as far as I know.

    Rating: 2/5
    Approvable.
     
  4. WherewolfTherewolf

    WherewolfTherewolf

    Joined:
    Jul 18, 2008
    Messages:
    2,821
    Resources:
    3
    Models:
    3
    Resources:
    3
    Meh, how many of this same spell do we have here?
     
  5. Egorman

    Egorman

    Joined:
    Mar 29, 2009
    Messages:
    28
    Resources:
    0
    Resources:
    0
    I have upload a few spells here, but this is my first fixed spell =) I want to have something mine was here =))
     
  6. Noobsmoke

    Noobsmoke

    Joined:
    Nov 20, 2007
    Messages:
    631
    Resources:
    1
    Spells:
    1
    Resources:
    1
    let me retest it:pnewt:

    very nice, no bugs founded ^^ - i vote for approval
     
  7. G00dG4m3

    G00dG4m3

    Joined:
    Oct 31, 2009
    Messages:
    97
    Resources:
    16
    Maps:
    1
    Spells:
    15
    Resources:
    16
    I was playing DotA the other day, and I started to think if two pudges would hook each other, would they swap their positions? :D
     
  8. Klingo

    Klingo

    Joined:
    Dec 19, 2009
    Messages:
    246
    Resources:
    5
    Spells:
    5
    Resources:
    5
    It depend how icefrog coded his hook ^^ but I think your right
     
  9. Zealon

    Zealon

    Joined:
    Mar 13, 2010
    Messages:
    1,142
    Resources:
    0
    Resources:
    0
    I like this one, the only problem for me is that there are already like five meat hooks on this site sorry :( 3/5
     
  10. CRYOFFIRE

    CRYOFFIRE

    Joined:
    Sep 7, 2010
    Messages:
    1
    Resources:
    0
    Resources:
    0
    Egorman my friend, but his hook ugly one. It just attracts a goal, but does not attract the way someone to butcher. So cool:D.
     
  11. konjured1103

    konjured1103

    Joined:
    Mar 10, 2009
    Messages:
    39
    Resources:
    0
    Resources:
    0
    as the unit was hooked, it jumps/stops a bit, it's like being hook twice.
     
  12. .OmG.

    .OmG.

    Joined:
    May 9, 2010
    Messages:
    256
    Resources:
    2
    Spells:
    2
    Resources:
    2
    I did not like it. Idea-unoriginal... Casting very bad. If cast twice or more it contain bugs... only 1/5
     
  13. 88WaRCraFT3

    88WaRCraFT3

    Joined:
    Jun 9, 2009
    Messages:
    1,139
    Resources:
    1
    Spells:
    1
    Resources:
    1
    Everybody who makes the meat hook, says this :/
     
  14. caiokdb

    caiokdb

    Joined:
    Jul 8, 2011
    Messages:
    2
    Resources:
    0
    Resources:
    0
    the spell was to target constructions too??
     
  15. TheForsaken

    TheForsaken

    Joined:
    Feb 13, 2011
    Messages:
    98
    Resources:
    0
    Resources:
    0
    i love it! its a classic one
     
  16. Kristeron

    Kristeron

    Joined:
    Mar 25, 2010
    Messages:
    17
    Resources:
    0
    Resources:
    0
    The hook is great, but I have a problem.
    After some time playing with the hook my hero gets "stop" permanently toggled (I get stuck)...
     
  17. edward3500

    edward3500

    Joined:
    Apr 8, 2011
    Messages:
    7
    Resources:
    0
    Resources:
    0
    :thumbs_down:I cant understand this.... :c:thumbs_down:
     
  18. edward3500

    edward3500

    Joined:
    Apr 8, 2011
    Messages:
    7
    Resources:
    0
    Resources:
    0
    thats my problem too....:ogre_haosis: