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.

Hammer of Thor v1.08

Submitted by Maker
This bundle is marked as approved. It works and satisfies the submission rules.
Summons the legendary Hammer of Thor to the hero's aid from the skies. The hammer hovers in the air, and launches projectiles at enemies nearby. After a while the hammer slams the ground, stunning and setting enemies on fire for three seconds. After the slam, the hammer rises up back to heaven.

Hammer of Thor is GUI, MUI and leakless.

The spell is easily configurable. You can configure

*Base damage of the projectile
*Ability level bonus damage
*Projectile range
*Spell duration
*Slam AoE
*Slam base damage
*Slam ability level bonus damage
*Burn damage
*Burn & stun duration

The spell uses imported hammer model, which is taken from an existing Blizzard model. It also uses a custom dummy unit with imported model.

Credits to Vexorian (I believe) for dummy.mdx.

Changelog

v1.01
Fixed location leaks.
Replaced a BJ with non-BJ.
Icon changed from passive to active.
Projectile dummies now have locust.

v1.02
Changed the lines that turn off the periodic triggers from the end of the triggers to right after units are removed from the unit group. This makes the spell require less CPU time.

v1.05
Changed stun to be added by creating a dummy unit and oredring it to use Storm Bolt on units.
Removed one trigger, added its function to another trigger. This solved a bug that caused the hammer sometimes to not slam to the ground.
Fixed a MUI issue on burn effects.
Removed one wait, it was pointless. Using a timer bound to the hammer now.

v1.06
The hammer now unleashes the energies contained in it's enchantment as it slams the groung, causing it's effects to vanish.

v1.07
Better tooltip.
Units are now set on fire like they should be.
Added locust to the hammer dummy.

v1.08
Fixed a bug that cause dummy units not to be cleared when their target was dead.


Keywords:
Hammer of thor holy paladin slam
Contents

Hammer of Thor (Map)

Reviews
Moderator
15:56, 4th Oct 2009 TriggerHappy187: As I said in my review, this spell is awesome. Rated Recommended.
  1. 15:56, 4th Oct 2009
    TriggerHappy187:

    As I said in my review, this spell is awesome.

    Rated Recommended.
     
  2. Aspard

    Aspard

    Joined:
    Jul 2, 2008
    Messages:
    595
    Resources:
    1
    Spells:
    1
    Resources:
    1
    Here is the link for the non-passive button of the icon you've chosen:
    ReplaceableTextures\CommandButtons\BTNStormHammer.blp

    Why the hero has low hit points at the beggining? Also place, please, an ability to the X:0; Y:2 position in the commands panel, for me it's really irritating when I learn skill in one position, but then it appears in another. ;(

    • Custom script: call UnitAddAbilityBJ( 'Aloc', udg_Temp_Unit_2 )


    Why use BJ if it's easy to call UnitAddAbility? If I'm not mistaken, just the order of the variables will change.

    Nevertheless, there are too many triggers for me here >< As far as I still didn't study through Hashtables.

    In "Hammer of Thor Lightning Move" you don't remove locations, but just store them into variables. Well, that's all from me... It's really difficult to understand how all this triggers are connected :)

    Otherwise, the spell is decent, I really like it! Concept is creative and the spell seems to be MUI and work properly. I can rate it 3/5.

    EDIT: What the heck, why can't I rate spells? *CRY* If somebody has already rated it - I can add my rating, but I can't do it first... T_T
     
  3. TriggerHappy

    TriggerHappy

    Code Moderator

    Joined:
    Jun 23, 2007
    Messages:
    3,665
    Resources:
    22
    Spells:
    11
    Tutorials:
    2
    JASS:
    9
    Resources:
    22
    Visually the spell is awesome and fairly unique. I loved it, one of the better GUI spells.

    • Replace
      UnitAddAbilityBJ('Aloc', udg_Temp_Unit_2 )
      with
      UnitAddAbility(udg_Temp_Unit_2, 'Aloc')
      .
    • Nice work with hashtables, you are doing everything correctly in your code unless I missed something.

    The code is seemingly flawless for GUI spell, I highly reccomend this spell to be approved.
     
  4. Aspard

    Aspard

    Joined:
    Jul 2, 2008
    Messages:
    595
    Resources:
    1
    Spells:
    1
    Resources:
    1
    No, this will be:

    Code (vJASS):
    call UnitAddAbility(udg_Temp_Unit_2, 'Aloc')


    The order is different :)
     
  5. Maker

    Maker

    Joined:
    Mar 6, 2006
    Messages:
    9,190
    Resources:
    17
    Maps:
    2
    Spells:
    14
    Tutorials:
    1
    Resources:
    17
    Thanks, updated.

    Hit points set to 100 % and position changed :)
    Changed that to non-BJ.

    Fixed.

    Thanks a lot for your comments and suggestions :thumbs_up:


    Thank you :cool:
     
  6. Aspard

    Aspard

    Joined:
    Jul 2, 2008
    Messages:
    595
    Resources:
    1
    Spells:
    1
    Resources:
    1
    Well... and now I rated it successfuly... who can explain? Can it be somehow connected to my browser? I use Opera. :)

    Btw: 4/5
     
  7. BloodSoul

    BloodSoul

    Joined:
    May 10, 2009
    Messages:
    741
    Resources:
    2
    Spells:
    2
    Resources:
    2
    Nice spell and effects. I like it.
    Your revive system, revive dummy also. :p
     
  8. Maker

    Maker

    Joined:
    Mar 6, 2006
    Messages:
    9,190
    Resources:
    17
    Maps:
    2
    Spells:
    14
    Tutorials:
    1
    Resources:
    17
    ^Thanks.

    Small update on the test map, not the ability. The dummy is no longer revived. They dummy used to be revived for neutral
    hostile, and there would be a lot of those attacking you, so you lost health really fast, and the spell attacked those invisible units. All should be good now.
     
  9. Weep

    Weep

    Joined:
    Jul 12, 2009
    Messages:
    316
    Resources:
    3
    Models:
    2
    Spells:
    1
    Resources:
    3
    Very, very cool spell idea and FX. Nice to see a good use of Hashtables. :thumbs_up:

    One problem I noticed is that the projectile dummies aren't given Locust and their health bars show up.
     
  10. GLB

    GLB

    Joined:
    Jan 30, 2009
    Messages:
    211
    Resources:
    6
    Maps:
    6
    Resources:
    6
    That's a wonderful spell! And the spell's triggering is nice, as welll. Since it is a GUI-spell and most of GUI spells are uncarly triggered, but not this one, I would give 4/5. Have a nice day...
     
  11. Maker

    Maker

    Joined:
    Mar 6, 2006
    Messages:
    9,190
    Resources:
    17
    Maps:
    2
    Spells:
    14
    Tutorials:
    1
    Resources:
    17
    Thanks for noticing that. Now they have locust.

    Thanks!
     
  12. Lambdadelta

    Lambdadelta

    Joined:
    Jul 6, 2009
    Messages:
    719
    Resources:
    1
    Maps:
    1
    Resources:
    1
    I always like spells that have a triggered birth and death :)

    This. Sandman.
     
  13. X-OMG-X

    X-OMG-X

    Joined:
    Nov 10, 2008
    Messages:
    1,942
    Resources:
    16
    Icons:
    1
    Skins:
    3
    Maps:
    2
    Spells:
    8
    Template:
    1
    Tutorials:
    1
    Resources:
    16
    Yea +11 gold! The paladin is getting rich.
    Back to topic: Havent tried it yet but it seems quite good. You can configurate alot and that makes it attractive:grin:
     
  14. Maker

    Maker

    Joined:
    Mar 6, 2006
    Messages:
    9,190
    Resources:
    17
    Maps:
    2
    Spells:
    14
    Tutorials:
    1
    Resources:
    17
    Small update. I changed the lines that turn off the periodic triggers from the end of the triggers to right after units are removed from the unit group. This makes the spell require less CPU time.
     
  15. NOSAKIAS

    NOSAKIAS

    Joined:
    Apr 10, 2009
    Messages:
    30
    Resources:
    0
    Resources:
    0
    Still has some serious bugs.

    Check out my discovery! :grin: :xxd: :ctwist:
    [​IMG]
    :croll: :clol:
     
  16. NOSAKIAS

    NOSAKIAS

    Joined:
    Apr 10, 2009
    Messages:
    30
    Resources:
    0
    Resources:
    0
    [​IMG]
    gg

    edit: PHAIL IMAGE xD
     
  17. Maker

    Maker

    Joined:
    Mar 6, 2006
    Messages:
    9,190
    Resources:
    17
    Maps:
    2
    Spells:
    14
    Tutorials:
    1
    Resources:
    17
    ^And how did you manage to do that? Don't tell me you abused the esc thingy, resetting cooldown?

    It shouldn't matter anymore anyway.

    Update:

    v1.05
    Changed stun to be added by creating a dummy unit and oredring it to use Storm Bolt on units.
    Removed one trigger, added its function to another trigger. This solved a bug that caused the hammer sometimes to not slam to the ground.
    Fixed a MUI issue on burn effects.
    Removed one wait, it was pointless. Using a timer bound to the hammer now.
     
  18. mjllonir

    mjllonir

    Joined:
    May 31, 2009
    Messages:
    432
    Resources:
    3
    Spells:
    3
    Resources:
    3
    Thank you for making a spell about me :D. No but really this is amazing! Great job!
     
  19. NOSAKIAS

    NOSAKIAS

    Joined:
    Apr 10, 2009
    Messages:
    30
    Resources:
    0
    Resources:
    0
    In the first image yeah, I did. In the second no.