• 🏆 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!
  • ✅ Time to vote for the top 3 models! The POLL for Hive's 6th HD Modeling Contest: Mechanical is now open! 📅 Poll close on July 16, 2024! 🔗 Cast your vote now!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

[Gui Spell Request] - Death Grip

Status
Not open for further replies.
Level 5
Joined
Feb 6, 2008
Messages
134
Here is video:
http://www.youtube.com/watch?v=pFamlI405UI&feature=related

I need death grip abbility with 4 levels done in gui.

Must be
-MPI (mui isn't required)
-Leakfree

Description:
Harness the unholy energy that surrounds and binds all matter, drawing the target toward the caster and forcing the caster to attack the enemy. EDIT1: caster becomes invulnerable while channeling.

Effect: Mana drain lighting between caster and target

Level 1 - Range 350
Level 2 - Ragne 425
Level 3 - Range 500
Level 4 - Range 575

Spell could uploaded to spells section for all Hive members.

Rep and Credits will be given.
 
Last edited:
Level 4
Joined
Jul 28, 2009
Messages
64
I've been interested in this for a while. I'm at work though, and I haven't figured out how to use my world editor here yet. I was able to draft up some triggers for it that I think will work. I'll try to implement them when I get home in like an hour, but feel free to try yourself.

The spell these triggers are paired with would be pretty important. For instance if you want it to be a channeled spell, I'd go with channel, but if you want it to be an instant spell, id go with something like Stormbolt (which could add a stun) and create a special effect with an altered Secondary Lightning effect or something. The range would simply be altered in the object editor too.
Deathgrip Start
Events:
A unit begins the effect of an ability.

Conditions:
Ability (ability being cast) = Deathgrip

Actions:
Set (DeathGripCaster) = Triggering Unit
Set (DeathGripTarget) = Target Unit of Ability Being Cast
Set (DeathGripAngle) = Angle between (DeathGripTarget) and (DeathGripCaster)
Set (DeathGripDistance) = Distance between (DeathGripTarget) and (DeathGripCaster)
Unit- Turn collision OFF for (DeathGripTarget)
Turn on – (Deathgrip Movement)
Turn on – (Deathgrip End)

Deathgrip Movement – Initially off
Events:
Periodic Event – Every .02 seconds of game time
Conditions:
None
Actions:
If Then Else (Multiple Actions):
If:
DeathGripTime is Greater Than (((DeathGripDistance)/5)x.02)
Then:
Set (DeathGripMovementHeight) = (DeathGripMovementHeight) - .02
Else:
Set (DeathGripMovementHeight) = (DeathGripMovementHeight) + .02
Set movement height of (DeathGripTarget) = (Default Movement Height) +(DeathGripMovementHeight)
Set (DeathGripTrajectory) = Position of (DeathGripTarget) offset by 10 towards (DeathGripAngle) degrees.
Move (DeathGripTarget) instantly to (DeathGripTrajectory)
Set (DeathGripTime) = (DeathGripTime) + .02
Custom Script: call RemoveLocation(udg_DeathGripTrajectory)

Deathgrip End – Initially off
Events:
Periodic Event – Every .02 seconds of game time
Conditions:
None
Actions:
If Then Else (Multiple Actions):
If:
DeathGripTarget is within 100(range) of (DeathGripCaster)
Then:
Turn off (Deathgrip Movement)
Turn collision ON for (DeathGripTarget)
Set movement height of (DeathGripTarget) = (Default Movement Height)
Order (DeathGripTarget) to Attack (DeathGripCaster)
Create Special Effect on the (origin) of DeathGripTarget using Model (warstomp)
Destroy Last Created Special Effect
Turn OFF (this trigger)
Else:
 
Last edited:
Level 4
Joined
Jul 28, 2009
Messages
64
Well this is what I came up with. I don't know what MUI or MPI mean, but I think it has something to do with multiple people using it? I'm not sure if it satisfies that yet. let me know.

Updated:

Fine-Tuned it. Works perfect to me.
 

Attachments

  • deathgrip.w3x
    21.6 KB · Views: 71
Last edited:
Status
Not open for further replies.
Top