Cluster Missile v1.0

This bundle is marked as useful / simple. Simplicity is bliss, low effort and/or may contain minor bugs.
Hello! This is my new spell here in hives hope its MUI and Leakless


Tinker launches 10 Mega Rocket in his launch pad. The Mega collapse into mini rockets and targeted all visible enemy in the map and damaging them.

Level 1 - Each Mini Rocket deals 60 damage.
Level 2 - Each Mini Rocket deals 120 damage.
Level 3 - Each Mini Rocket deals 180 damage.



  • Cluster Missile
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Cluster Missile MAIN
    • Actions
      • Set Index = (Index + 1)
      • Set Caster[Index] = (Triggering unit)
      • Set Point[Index] = (Position of Caster[Index])
      • Set Duration[Index] = 2.00
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Index Equal to 1
        • Then - Actions
          • Trigger - Turn on Cluster Missile Loop <gen>
        • Else - Actions

  • Cluster Missile Loop
    • Events
      • Time - Every 0.20 seconds of game time
    • Conditions
    • Actions
      • For each (Integer Index_Copy) from 1 to Index, do (Actions)
        • Loop - Actions
          • Set Duration[Index_Copy] = (Duration[Index_Copy] - 0.20)
          • Set Point[Index_Copy] = (Position of Caster[Index_Copy])
          • Unit - Create 1 Rocket for (Owner of Caster[Index_Copy]) at Point[Index_Copy] facing Default building facing degrees
          • Set DummyRocket[Index_Copy] = (Last created unit)
          • Animation - Change DummyRocket[Index_Copy] flying height to 2000.00 at 700.00
          • Unit - Add a 2.00 second Generic expiration timer to DummyRocket[Index_Copy]
          • Unit - Create 1 DummyCaster for (Owner of Caster[Index_Copy]) at Point[Index_Copy] facing Default building facing degrees
          • Set DummyRocketCaster[Index_Copy] = (Last created unit)
          • Unit - Add a 1.00 second Generic expiration timer to DummyRocketCaster[Index_Copy]
          • Unit - Add Cluster Missile to DummyRocketCaster[Index_Copy]
          • Unit - Set level of Cluster Missile for DummyRocketCaster[Index_Copy] to (Level of Cluster Missile MAIN for Caster[Index_Copy])
          • Unit - Order DummyRocketCaster[Index_Copy] to Night Elf Warden - Fan Of Knives
          • Custom script: call RemoveLocation(udg_Point[udg_Index_Copy])
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Duration[Index_Copy] Less than or equal to 0.00
            • Then - Actions
              • Set Caster[Index_Copy] = Caster[Index]
              • Set DummyRocket[Index_Copy] = DummyRocket[Index]
              • Set DummyRocketCaster[Index_Copy] = DummyRocketCaster[Index]
              • Set Duration[Index_Copy] = Duration[Index]
              • Set Point[Index_Copy] = Point[Index]
              • Set Index = (Index - 1)
              • Set Index_Copy = (Index_Copy - 1)
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • Index Equal to 0
                • Then - Actions
                  • Trigger - Turn off (This trigger)
                • Else - Actions
            • Else - Actions


Keywords:
Robot, Missile,Rocket,boom,KABOOM!
Contents

Just another Warcraft III map (Map)

Reviews
03:38, 7th Jan 2015 IcemanBo: The idea behind might be good, but I don't like the coding approach. It is too simple. Periodicly creating & ordering a dummy to cast a spell is by far not enough to get it approved. Try to see the spell from object...

Moderator

M

Moderator

03:38, 7th Jan 2015
IcemanBo:
The idea behind might be good, but I don't like the coding approach. It is too simple.
Periodicly creating & ordering a dummy to cast a spell is by far not enough to get it approved.
Try to see the spell from object editor only as casting platform, but try to trigger the main part yourself.
 
Top