1. Are you planning to upload your awesome spell or system to Hive? Please review the rules here.
    Dismiss Notice
  2. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  3. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still haven't received your rank award? Then please contact the administration.
    Dismiss Notice
  4. The reforging of the races is complete. Come see the 14th Techtree Contest Results.
    Dismiss Notice
  5. It's time to choose your horse in the race - the 32nd Modeling Contest Poll is up!
    Dismiss Notice
  6. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Purge of Nature

Submitted by Paladon
This bundle is marked as substandard. It may contain bugs, not perform optimally or otherwise be in violation of the submission rules.
This spell is made for the Spells & Systems Mini-Contest #16.
The spell should be leakless and of course MUI.
_____________________________________________________
Purge of Nature
In order to purge the earth and the nature, the druid creates an organic being which spews the impurities out of earth. If an enemied unit is hit by these noxious substances, it will receive damage over time and gets a lowered armour as well as a slower movement and attackspeed. There is a chance of 20% to spawn a corrupted treant if the venom hits a tree. After cleaning the earth, the ground is free from toxin and every allied unit in 400 AoE of the area receives an improved regeneration of the hitpoints for 25 seconds.
The disgorging lasts 5/10/15 seconds.

Changelog:
11-11-2008---Updated, improved efficiency, removed two leaks, added a new effect.
11-12-2008---Added a (preventable) 'remove blight' effect.


Keywords:
Nature, Venom, Toxin, Earth, Green, Treant, Druid,
Contents

Purge of Nature (Map)

Reviews
Moderator
12th Dec 2015 IcemanBo: Too long as NeedsFix. Rejected. 2 Dec 2011 Bribe: Acid Rain destroys bridges. The conditions also leak unit groups.
  1. 12th Dec 2015
    IcemanBo: Too long as NeedsFix. Rejected.

    2 Dec 2011
    Bribe: Acid Rain destroys bridges. The conditions also leak unit groups.
     
  2. Anachron

    Anachron

    Joined:
    Sep 9, 2007
    Messages:
    6,221
    Resources:
    66
    Icons:
    49
    Packs:
    2
    Tools:
    1
    Maps:
    3
    Spells:
    9
    Tutorials:
    1
    JASS:
    1
    Resources:
    66
    Checking this tomorrow.
     
  3. StaberFire

    StaberFire

    Joined:
    Jun 28, 2008
    Messages:
    682
    Resources:
    8
    Icons:
    4
    Skins:
    1
    Spells:
    3
    Resources:
    8
    Two thumbs up. Very nice spell for GUI. Giant green pukeworm ftw!
     
  4. Hanky

    Hanky

    Joined:
    Jan 15, 2007
    Messages:
    353
    Resources:
    4
    Maps:
    1
    Spells:
    3
    Resources:
    4
    Good job. The visual effects are really good. The triggering is ok and the spell seem to be MUI. Also the tooltip fit the spell. Well done so far, but I found two leaks and also it's not really effective to have the trigger "Acid Rain" all the time on. And please add some more documentation for example how to import the spell.

    Possible Ways to fix your flaws:

    Way to fix the leaks

    The first leak I found was in the trigger "Acid Rain". It seems you forgot that the action "(Random unit from (Units within 125.00 of AR_TempPoint matching [...]" create a group. There is the possible way how to fix it:
    • Acid Rain
      • Events
        • Time - Every 0.10 seconds of game time
      • Conditions
        • Or - Any (Conditions) are true
          • Conditions
            • (Number of units in (Units of type DummyAR)) Greater than 0
            • (Number of units in (Units of type DummyARVenom)) Greater than 0
      • Actions
        • Set AR_DummyGroup = (Units of type DummyAR)
        • Unit Group - Pick every unit in AR_DummyGroup and do (Actions)
          • Loop - Actions
            • Set AR_TempPoint = (Position of (Picked unit))
            • Set AR_TargetPoint = (AR_TempPoint offset by (Random real number between 25.00 and 600.00) towards (Random angle) degrees)
            • Unit - Order (Picked unit) to Neutral Tinker - Pocket Factory AR_TargetPoint
            • Custom script: call RemoveLocation (udg_AR_TargetPoint)
            • Custom script: call RemoveLocation (udg_AR_TempPoint)
        • Custom script: call DestroyGroup (udg_AR_DummyGroup)
        • Set AR_DummyGroup = (Units of type DummyARVenom)
        • Unit Group - Pick every unit in AR_DummyGroup and do (Actions)
          • Loop - Actions
            • Set AR_TempPoint = (Position of (Picked unit))
            • Custom script: set bj_wantDestroyGroup=true
            • Set AR_TargetUnit = (Random unit from (Units within 125.00 of AR_TempPoint matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is Magic Immune) Equal to False) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enem
            • Unit - Order (Picked unit) to Neutral Alchemist - Acid Bomb AR_TargetUnit
            • Set AR_TargetUnit = No unit
            • Destructible - Pick every destructible within 150.00 of AR_TempPoint and do (Actions)
              • Loop - Actions
                • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  • If - Conditions
                    • (Current life of (Picked destructible)) Not equal to 0.00
                    • (Random integer number between 1 and 5) Equal to 1
                  • Then - Actions
                    • Set AR_TargetPoint = (Position of (Picked destructible))
                    • Destructible - Remove (Picked destructible)
                    • Special Effect - Create a special effect at AR_TargetPoint using Objects\Spawnmodels\NightElf\EntBirthTarget\EntBirthTarget.mdl
                    • Special Effect - Destroy (Last created special effect)
                    • Unit - Create 1 DummySpawnTreant for (Owner of (Picked unit)) at AR_TargetPoint facing Default building facing degrees
                    • Unit - Order (Last created unit) to Human Archmage - Summon Water Elemental
                    • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
                    • Unit - Make (Last created unit) Explode on death
                    • Custom script: call RemoveLocation (udg_AR_TargetPoint)
                  • Else - Actions
                    • Destructible - Kill (Picked destructible)
            • Custom script: call RemoveLocation (udg_AR_TempPoint)
        • Custom script: call DestroyGroup (udg_AR_DummyGroup)


    The second leak I found is in the Map Initialization, in the trigger "VisibilityTimeRespawnStart". I know it won't leak that much but I just want the best demo map quality. Ok there is the possible way how to fix:
    • VisibilityTimeRespawnStart
      • Events
        • Map initialization
      • Conditions
      • Actions
        • Custom script: set bj_wantDestroyGroup=true
        • Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 2 (Blue)) and do (Actions)
          • Loop - Actions
            • Set Temp_Integer = (Temp_Integer + 1)
            • Unit - Set the custom value of (Picked unit) to Temp_Integer
            • Set Creep_Point[Temp_Integer] = (Position of (Picked unit))
        • Melee Game - Use melee time of day (for all players)
        • Visibility - Disable fog of war
        • Visibility - Disable black mask
        • Quest - Display to (All players) the Quest Update message: This spell is made ...


    Way to make the spell more effective

    How I said it is not very effective to have a periodic trigger that is active all the time. You have to make a activation trigger and add in the trigger RemoveDummy some new lines of actions. Also you need to create a integer variable with the name "AR_Size". Ok after you done that create a new trigger with the name "Acid Release". The trigger should look then like this:
    • Acid Release
      • Events
        • Unit - A unit Starts the effect of an ability
      • Conditions
        • (Ability being cast) Equal to Purge of Nature
      • Actions
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • AR_Size Equal to 0
          • Then - Actions
            • Trigger - Turn on Acid Rain <gen>
          • Else - Actions
        • Set AR_Size = (AR_Size + 1)


    When you finished with that add some lines of actions to the "RemoveDummy"
    trigger like here:
    • RemoveDummy
      • Events
        • Unit - A unit Dies
      • Conditions
        • Or - Any (Conditions) are true
          • Conditions
            • ((Triggering unit) is in (Units of type DummyARVenom)) Equal to True
            • ((Triggering unit) is in (Units of type DummyAR)) Equal to True
            • ((Triggering unit) is in (Units of type Acid Rain)) Equal to True
            • ((Triggering unit) is in (Units of type Acid Rain)) Equal to True
      • Actions
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • ((Triggering unit) is in (Units of type Acid Rain)) Equal to True
          • Then - Actions
            • Set AR_Size = (AR_Size - 1)
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • AR_Size Equal to 0
              • Then - Actions
                • Trigger - Turn off Acid Rain <gen>
              • Else - Actions
            • Set AR_TempPoint = (Position of (Triggering unit))
            • Special Effect - Create a special effect at AR_TempPoint using Objects\Spawnmodels\NightElf\NEDeathMedium\NEDeath.mdl
            • Special Effect - Destroy (Last created special effect)
            • Unit - Create 1 DummySpawnTreant for (Owner of (Triggering unit)) at AR_TempPoint facing Default building facing degrees
            • Unit - Add Purge of Nature (Aura) to (Last created unit)
            • Unit - Add a 25.00 second Generic expiration timer to (Last created unit)
            • Unit - Make (Last created unit) Explode on death
            • Custom script: call RemoveLocation (udg_AR_TempPoint)
          • Else - Actions
        • Unit - Remove (Triggering unit) from the game



    I hope that helped you. After you fixed this Im going to approve this spell.
     
  5. Paladon

    Paladon

    Joined:
    Dec 6, 2007
    Messages:
    2,083
    Resources:
    42
    Icons:
    28
    Packs:
    2
    Spells:
    12
    Resources:
    42
    Updated, thanks.
     
  6. arafor

    arafor

    Joined:
    Jul 22, 2008
    Messages:
    282
    Resources:
    0
    Resources:
    0
    Dude thats an awesome spell I really liked it alot. 5/5
     
  7. FirstLegacy

    FirstLegacy

    Joined:
    Nov 8, 2008
    Messages:
    142
    Resources:
    3
    Models:
    3
    Resources:
    3
    YeH Ur RigTh!!!the effectz were great!!!
     
  8. Jay-D

    Jay-D

    Joined:
    Jun 29, 2008
    Messages:
    50
    Resources:
    0
    Resources:
    0
    fantastic thats pure awesomness
     
  9. toraxxx

    toraxxx

    Joined:
    Nov 2, 2008
    Messages:
    41
    Resources:
    0
    Resources:
    0
    nice spell 5/5
     
  10. FranzFerenc

    FranzFerenc

    Joined:
    Jul 23, 2009
    Messages:
    11
    Resources:
    0
    Resources:
    0
    hello again,
    also for this one, for eg, I want to know how to use it independently from your map.
    I need only the spell!

    importan:
    what do you use to create them?!! pls tell me!! :D
     
  11. Vengeancekael

    Vengeancekael

    Joined:
    Aug 11, 2009
    Messages:
    5,742
    Resources:
    16
    Tools:
    1
    Maps:
    13
    Spells:
    1
    StarCraft II Resources:
    1
    Resources:
    16
    Really good! 5/5
     
  12. cpjok

    cpjok

    Joined:
    Feb 18, 2010
    Messages:
    152
    Resources:
    0
    Resources:
    0
    ok its a awesome abillity but it dont work for me

    i copied and pasted every unit buff and abillity adn trigger in my map and it doesnt spawn and work like it does on this map
     
  13. Orcnet

    Orcnet

    Joined:
    Jul 31, 2010
    Messages:
    3,857
    Resources:
    4
    Maps:
    3
    Tutorials:
    1
    Resources:
    4
    an excellent synergy of the spell dude! it reminds me of magic:the gathering :grin:
     
  14. Zaldazzor

    Zaldazzor

    Joined:
    Apr 16, 2011
    Messages:
    3
    Resources:
    1
    Maps:
    1
    Resources:
    1
    thanks for this man, i need this for my map 5/5
     
  15. SpectreD

    SpectreD

    Joined:
    Apr 4, 2011
    Messages:
    548
    Resources:
    0
    Resources:
    0
    very nice
     
  16. sarumanthecursed

    sarumanthecursed

    Joined:
    Jun 10, 2013
    Messages:
    472
    Resources:
    0
    Resources:
    0
    for some reason when ever this is casted massive lags occur if the camera is at the point which the ability is casted. any idea as to why?