Spell Arctic Eraser

pongpong

Member
Reaction score
9
Arctic Eraser

MUI - NO
GUI/JASS - GUI
LEAK - I think no?

Greetings everyone. I am now learning to make spells and this is my simple spell. This spell is inspired from C&C Generals (particle cannon). It works almost like that particle cannon, just it is more icy and not a global skill (can change if you want:)).

WC3ScrnShot_071708_145658_02.jpg


Calls down a controllable blizzard that blasts enemy units with damaging frost every 0.4 second and slows their movement and attack rate for 4 seconds.
The blizzard will leave icy trail behind it for 5 seconds that deals 30 damage per second to enemy units. The blizzard lasts 20 seconds.

Level 1 - 30 damage per blast.
Level 2 - 45 damage per blast.
Level 3 - 60 damage per blast.
Code:
Spell Start
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Arctic Eraser 
    Actions
        Set Artic_units[1] = (Casting unit)
        Wait until ((Number of living Blizzard units owned by (Owner of Artic_units[1])) Greater than 0), checking every 0.10 seconds
        Set ArticGroup = (Units owned by (Owner of Artic_units[1]) of type Blizzard)
        Unit Group - Pick every unit in ArticGroup and do (Set Artic_units[2] = (Picked unit))
        Custom script:   call DestroyGroup (udg_ArticGroup)
        Trigger - Turn on Spell Animation <gen>
        Selection - Select Artic_units[2] for (Owner of Artic_units[1])
        Unit - Turn collision for Artic_units[2] Off
        Unit - Change color of Artic_units[2] to Blue
        Animation - Change Artic_units[2]'s vertex coloring to (100.00%, 100.00%, 100.00%) with 100.00% transparency
        Wait 0.30 seconds
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Artic_units[2] is alive) Equal to True
            Then - Actions
                Trigger - Turn on Spell Damage <gen>
            Else - Actions
                Do nothing
Code:
Spell Stop
    Events
        Unit - A unit Stops casting an ability
    Conditions
        (Ability being cast) Equal to Arctic Eraser 
    Actions
        Trigger - Turn off Spell Animation <gen>
        Trigger - Turn off Spell Damage <gen>
Code:
Spell Damage
    Events
        Time - Every 0.40 seconds of game time
    Conditions
    Actions
        Set Artic_position[1] = (Position of Artic_units[2])
        Unit - Make Artic_units[1] face Artic_units[2] over 0.70 seconds
        Unit - Create 1 Universal Dummy (Blizzard) for (Owner of Artic_units[1]) at Artic_position[1] facing Default building facing degrees
        Set Artic_units[3] = (Last created unit)
        Unit - Turn collision for Artic_units[3] Off
        Unit - Add a 0.30 second Generic expiration timer to Artic_units[3]
        Unit - Add Arctic Damage  to Artic_units[3]
        Unit - Set level of Arctic Damage  for Artic_units[3] to (Level of Arctic Eraser  for Artic_units[1])
        Unit - Order Artic_units[3] to Undead Lich - Frost Nova Artic_units[3]
        Unit - Create 1 Universal Dummy (trail) for (Owner of Artic_units[1]) at Artic_position[1] facing Default building facing degrees
        Set Artic_units[4] = (Last created unit)
        Unit - Add a 5.00 second Generic expiration timer to Artic_units[4]
        Custom script:   call RemoveLocation(udg_Artic_position[1])
Code:
Spell Animation
    Events
        Time - Every 0.09 seconds of game time
    Conditions
    Actions
        Special Effect - Create a special effect attached to the origin of Artic_units[2] using Abilities\Spells\Human\Blizzard\BlizzardTarget.mdl
        Special Effect - Destroy (Last created special effect)
Please comment;) thank you
 

Attachments

  • Spell Submission - Artic Blizzard.w3x
    47.3 KB · Views: 260

THE_X

New Member
Reaction score
49
Hmm... well I like the idea that you can move it around, but you could very easily do this MUI :D just select all units of type of that unit that your moving and every w/e seconds make the ice shards come down at him and dealing the damage based upon his custom value witch you can set the the level of ability for the casting unit

Is leak free tho nj :thup:
 

Furberg

Ultra Cool Member
Reaction score
45
I think that this is an awesome spell and i think it's lame that almost no one have answered this - It reminds of that Beam thing from Command & Conquer ^^. Maybe you should make it go random spots. It would maybe make it look more "pro". Anyways good job! +rep for you
 

AdamGriffith

You can change this now in User CP.
Reaction score
69
You could easily make this MUI. Nice spell though! (Y)

Make a little bit inbalanced :p
 
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