Spell Frost Shield

Hot

New Member
Reaction score
9
Just a simple spell i made when i was bored, should be Leakless

what the spell does when its cast a circle of is blocks are formed around the caster, any enemy who leaves or enters will be slowed and inside the circle Frost Novas are being summoned



Trigger 1

Trigger:
  • Frost Shield
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Frost Shield
    • Actions
      • Trigger - Turn on Perodic <gen>
      • Set TmpCaster = (Triggering unit)
      • Set TmpPoint = (Position of TmpCaster)
      • For each (Integer A) from 1 to 20, do (Actions)
        • Loop - Actions
          • Set TmpLoc = (TmpPoint offset by 490.00 towards Real degrees)
          • Set Real = (Real + 18.00)
          • Unit - Create 1 Frost Block for (Owner of (Triggering unit)) at TmpLoc facing Real degrees
          • Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
          • Custom script: call RemoveLocation( udg_TmpLoc )

Trigger 2

Trigger:
  • Perodic
    • Events
      • Time - Every 0.40 seconds of game time
    • Conditions
    • Actions
      • Set Count = (Count + 1)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Count Equal to 11
        • Then - Actions
          • Trigger - Turn off (This trigger)
          • Set Count = 0
          • Custom script: call RemoveLocation( udg_TmpPoint )
        • Else - Actions
          • Set Real2 = (Real2 + 36.00)
          • Set TmpPoint2 = (TmpPoint offset by 290.00 towards Real2 degrees)
          • Unit - Create 1 Dummy for (Owner of TmpCaster) at TmpPoint2 facing Default building facing degrees
          • Unit - Order (Last created unit) to Human Mountain King - Thunder Clap
          • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
          • Special Effect - Create a special effect at TmpPoint2 using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
          • Special Effect - Destroy (Last created special effect)
          • Custom script: call RemoveLocation( udg_TmpPoint2 )

fell free to comment about things that can be improved or other stuff
 

Attachments

  • Frost Shield.w3x
    46.5 KB · Views: 226

Hot

New Member
Reaction score
9
screenshot is up now, well the slow is now only for enmies so gonna change that to in description
 

Hot

New Member
Reaction score
9
thx for your reply gonna fix the Leak btw i never said it was MPI/MUI x)
 

Hot

New Member
Reaction score
9
yes but this spell wouldent fit for multi unit casting maybe MPI for heroes
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top