• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Underworld Beckoning

This bundle is marked as useful / simple. Simplicity is bliss, low effort and/or may contain minor bugs.
A quick passive I created in a half an hour. Let me know what you think. Gives move speed and health regen bonus, and will use one of four effects on each attack. They are stun, bonus damage, stealing health, and healing self.
Full permission granted to do anything you want with it. Rename it and re-upload it if you want, I reall don't care... Just sharing my idea :)
I'm to lazy to repair leaks/learn jass -- Sorry about that


[trigger="Underworld Beckoning"]
Events
Unit - A unit Is attacked
Conditions
((Attacking unit) has buff Underworld Beckoning ) Equal to True
Actions
Set RanNum = (Random integer number between 1 and 4)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
RanNum Equal to 1
Then - Actions
Game - Display to (Player group((Owner of (Attacking unit)))) for 3.00 seconds the text: Stun
Unit - Pause (Attacked unit)
Wait (0.25 + ((Real((Level of Underworld Beckoning for (Attacking unit)))) x 0.25)) seconds
Unit - Unpause (Attacked unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
RanNum Equal to 2
Then - Actions
Game - Display to (Player group((Owner of (Attacking unit)))) for 3.00 seconds the text: 2nd Strike
Unit - Cause (Attacking unit) to damage (Attacked unit), dealing ((Real((Level of Underworld Beckoning for (Attacking unit)))) x 10.00) damage of attack type Hero and damage type Normal
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
RanNum Equal to 3
Then - Actions
Game - Display to (Player group((Owner of (Attacking unit)))) for 3.00 seconds the text: Stole Health
Unit - Cause (Attacking unit) to damage (Attacked unit), dealing ((Real((Level of Underworld Beckoning for (Attacking unit)))) x 5.00) damage of attack type Hero and damage type Normal
Unit - Set life of (Attacking unit) to ((Life of (Attacking unit)) + ((Real((Level of Underworld Beckoning for (Attacking unit)))) x 5.00))
Else - Actions
Game - Display to (Player group((Owner of (Attacking unit)))) for 3.00 seconds the text: Healed Self
Unit - Set life of (Attacking unit) to ((Life of (Attacking unit)) + ((Real((Level of Underworld Beckoning for (Attacking unit)))) x 10.00))
[/trigger]


Keywords:
Undead, Passive, Incomplete
Contents

Underworld Beckoning (Map)

Reviews
13:41, 30th May 2011 Maker: Too simple to be approved.

Moderator

M

Moderator

13:41, 30th May 2011
Maker: Too simple to be approved.
 
Level 3
Joined
Sep 25, 2010
Messages
33
Uses waits and it pauses the unit
one tip for the stun: Use a dummy unit with a storm bolt ( or any stunning ability is good) ability to stun instead of pausing and using waits
 
I agree with opiumwar
Create a dummy unit ability based on storm bolt, give it to a dummy unit that you create at the position of the attacker, then issue an order for that dummy to cast storm bolt on the attacked unit. Don't forget to add a generic expiration timer to the dummy and save it to a variable that you will set to "null" at the end of the trigger.

And more thing that i want to point out: This spell bugs with a multishot.

I don't know EXACTLY what you have to do to fix it, but i'd say you should use hashtables or indexes (indexing is better in this case because it is a very simple spell)

Overall, i think the spell might be useful!
I'd give you a 3/5 after you make it MUI.
That's excellent for a beginner (usually any beginner would get a 1/5 or 2/5 on his first spell)
gj :)
 
Level 3
Joined
Jun 7, 2010
Messages
15
After reading forums on stun triggering, that was what I was going to do (storm bolt dummy), but I wanted to keep it to easy to install with minimal custom unit/abilities/buffs. But if that is what is recommended I'll update it today then.:) Thanks Guys
 
Last edited:
Top