• 🏆 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!

Hammer of Thor v1.08

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.


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
15:56, 4th Oct 2009 TriggerHappy187: As I said in my review, this spell is awesome. Rated Recommended.

Moderator

M

Moderator

15:56, 4th Oct 2009
TriggerHappy187:

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

Rated Recommended.
 
Level 11
Joined
Jul 2, 2008
Messages
601
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
 
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.
 
Level 37
Joined
Mar 6, 2006
Messages
9,240
Here is the link for the non-passive button of the icon you've chosen:
ReplaceableTextures\CommandButtons\BTNStormHammer.blp

Thanks, updated.

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

Hit points set to 100 % and position changed :)
  • Custom script: call UnitAddAbilityBJ( 'Aloc', udg_Temp_Unit_2 )

Changed that to non-BJ.

In "Hammer of Thor Lightning Move" you don't remove locations

Fixed.

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.

Thanks a lot for your comments and suggestions :thumbs_up:


Visually the spell is awesome and fairly unique. I loved it, one of the better GUI spells.

Thank you :cool:
 
Level 37
Joined
Mar 6, 2006
Messages
9,240
^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.
 

GLB

GLB

Level 8
Joined
Jan 30, 2009
Messages
233
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...
 
Level 37
Joined
Mar 6, 2006
Messages
9,240
^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.
 
Level 3
Joined
Apr 10, 2009
Messages
32
^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.

In the first image yeah, I did. In the second no.
 
Level 6
Joined
Jun 18, 2011
Messages
147
Another beautiful spell. Hard to implement, though. I keep overlooking a variable or something I think. I'll figure it out, though, I think.

Edit: Oh, your instructions should do the trick :). Thank you. Step 11 jumped out at me, and I definetly forgot it.
 
Level 7
Joined
Sep 9, 2007
Messages
253
Maker Why do you add the Locust ability to the HoT_dummy_unit when the unit already has this ability by default as per the object editor?

  • Actions
    • -------- -------------------- --------
    • Unit - Create 1 Hammer_of_Thor_Dummy for Neutral Passive at Temp_Loc_1 facing (Random angle) degrees
    • Set Temp_Unit_2 = (Last created unit)
    • Custom script: call UnitAddAbility(udg_Temp_Unit_2, 'Aloc')
    • -------- -------------------- --------
 
Top