• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Spell request. Simple line spell warstomp

Status
Not open for further replies.
Level 5
Joined
Aug 15, 2007
Messages
145
I need a really simple spell that ive been struglling with. Basically the caster casts the spell and in a line warstomps form 1 after the other like a domino effect.
Cast!-> X-X-X-X
X= warstomps -= tiny pause for effect.
Can any1 help me out here? all credits will be given to you on my map and +rep.
 
Level 5
Joined
Aug 15, 2007
Messages
145
geez goodpoint. What would i need to edit tho. But its more like say a unit is running, then u cud in theory run away from the warstomps. and the stun is not instant, so when 1 goes off u get stuned move a bit, then get hit by the other.so its staggered as if the earth is cracking
 
Level 8
Joined
Aug 1, 2008
Messages
420
You would have to tell people how much delay you want, and im no good, i could probably make you one with Waits but that wouldnt be MUI so... :(
 
Level 8
Joined
Aug 1, 2008
Messages
420
No - he wants delay added, and make it dodgeable, so that technically wouldnt work. If he edited Impale it would be instant
 
Level 10
Joined
Sep 6, 2008
Messages
423
Here you have a modified version of my spell. It's not mui nor mpi since i had to put waits to get the delay.
  • Warstomp Wave
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Wave Warstomp
    • Actions
      • -------- SpellDamage is a Integer variable set to what ever the damage base should be --------
      • Set SpellDamage = (((Strength of (Triggering unit) (Exclude bonuses)) + ((Agility of (Triggering unit) (Exclude bonuses)) + (Intelligence of (Triggering unit) (Exclude bonuses)))) / 2)
      • -------- WaveLoc is a point array --------
      • Set WaveLoc[1] = (Position of (Triggering unit))
      • Set WaveLoc[2] = (Target point of ability being cast)
      • -------- Set WaveLoc[2] to how long it should go (change the 600 to how long the wave should be --------
      • Set WaveLoc[2] = (WaveLoc[1] offset by 600.00 towards (Angle from WaveLoc[1] to WaveLoc[2]) degrees)
      • -------- Change the (5 x (Level of (Ability being cast) for (Triggering unit))) to how many time the warstomp effect should occur --------
      • For each (Integer A) from 1 to (5 x (Level of (Ability being cast) for (Triggering unit))), do (Actions)
        • Loop - Actions
          • -------- Change the (5 x (Level of (Ability being cast) for (Triggering unit))) so it occurs with a distance between each warstomp --------
          • Set WaveLoc[3] = (WaveLoc[1] offset by ((Distance between WaveLoc[1] and WaveLoc[2]) / (5.00 x (Real((Level of (Ability being cast) for (Triggering unit)))))) towards (Angle from WaveLoc[1] to WaveLoc[2]) degrees)
          • -------- Clear the WaveLoc[1] location and set it to WaveLoc[3] so it won't hit the same spot in the next loop --------
          • Custom script: call RemoveLocation (udg_WaveLoc[1])
          • Set WaveLoc[1] = WaveLoc[3]
          • -------- Create and destroy the effect --------
          • Special Effect - Create a special effect at WaveLoc[3] using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
          • Special Effect - Destroy (Last created special effect)
          • -------- Change 250 to what ever aoe should damage the units --------
          • Set WaveGroup = (Units within 250.00 of WaveLoc[1])
          • Unit Group - Pick every unit in WaveGroup and do (Actions)
            • Loop - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (((Picked unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True) and (((Picked unit) is alive) Equal to True)
                • Then - Actions
                  • -------- Damages the picked unit with SpellDamage (if the unit is an enemy) --------
                  • Unit - Cause (Triggering unit) to damage (Picked unit), dealing (Real((SpellDamage x (Level of Nether Strike for (Triggering unit))))) damage of attack type Spells and damage type Normal
                • Else - Actions
          • Wait 1.00 seconds
          • Custom script: call DestroyGroup(udg_WaveGroup)
          • Custom script: call RemoveLocation (udg_WaveLoc[3])
      • Custom script: call RemoveLocation (udg_WaveLoc[1])
      • Custom script: call RemoveLocation (udg_WaveLoc[2])
 
Status
Not open for further replies.
Top