Need help wiht leak spell

Fegga5

New Member
Reaction score
4
How can I do this spell leak less?
Code:
Spell number ultimate
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to Ice Lord's wrath 
    Actions
        Set Caster_U = (Triggering unit)
        Set Casters_point_U = (Position of Caster_U)
        Unit - Make Caster_U Invulnerable
        Special Effect - Create a special effect at (Casters_point_U offset by 75.00 towards 0.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 75.00 towards 0.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 75.00 towards 90.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 75.00 towards 90.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 75.00 towards 180.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 75.00 towards 180.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 75.00 towards 270.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 75.00 towards 270.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Unit - Make Caster_U Vulnerable
        Wait 0.05 seconds
        Unit - Make Caster_U Invulnerable
        Special Effect - Create a special effect at (Casters_point_U offset by 100.00 towards 9.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 100.00 towards 9.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 100.00 towards 99.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 100.00 towards 99.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 100.00 towards 189.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 100.00 towards 189.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 100.00 towards 279.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 100.00 towards 279.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Unit - Make Caster_U Vulnerable
        Wait 0.05 seconds
        Unit - Make Caster_U Invulnerable
        Special Effect - Create a special effect at (Casters_point_U offset by 125.00 towards 18.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 125.00 towards 18.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 125.00 towards 108.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 125.00 towards 108.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 125.00 towards 198.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 125.00 towards 198.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 125.00 towards 289.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 125.00 towards 289.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Unit - Make Caster_U Vulnerable
        Wait 0.05 seconds
        Unit - Make Caster_U Invulnerable
        Special Effect - Create a special effect at (Casters_point_U offset by 150.00 towards 27.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 150.00 towards 27.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 150.00 towards 117.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 150.00 towards 117.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 150.00 towards 206.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 150.00 towards 206.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 150.00 towards 297.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 150.00 towards 297.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Unit - Make Caster_U Vulnerable
        Wait 0.05 seconds
        Unit - Make Caster_U Invulnerable
        Special Effect - Create a special effect at (Casters_point_U offset by 175.00 towards 36.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 175.00 towards 36.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 175.00 towards 126.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 175.00 towards 126.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 175.00 towards 216.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 175.00 towards 216.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 175.00 towards 306.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 175.00 towards 306.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Unit - Make Caster_U Vulnerable
        Wait 0.05 seconds
        Unit - Make Caster_U Invulnerable
        Special Effect - Create a special effect at (Casters_point_U offset by 200.00 towards 45.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 200.00 towards 45.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 200.00 towards 135.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 200.00 towards 135.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 200.00 towards 225.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 200.00 towards 225.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 200.00 towards 315.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 200.00 towards 315.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Unit - Make Caster_U Vulnerable
        Wait 0.05 seconds
        Unit - Make Caster_U Invulnerable
        Special Effect - Create a special effect at (Casters_point_U offset by 225.00 towards 54.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 225.00 towards 54.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 225.00 towards 144.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 225.00 towards 144.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 225.00 towards 234.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 225.00 towards 234.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 225.00 towards 324.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 225.00 towards 324.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Unit - Make Caster_U Vulnerable
        Wait 0.05 seconds
        Special Effect - Create a special effect at (Casters_point_U offset by 250.00 towards 63.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 250.00 towards 63.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 250.00 towards 153.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 250.00 towards 153.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 250.00 towards 243.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 250.00 towards 243.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 250.00 towards 333.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 250.00 towards 333.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Wait 0.05 seconds
        Special Effect - Create a special effect at (Casters_point_U offset by 275.00 towards 72.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 275.00 towards 72.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 275.00 towards 162.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 275.00 towards 162.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 275.00 towards 252.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 275.00 towards 252.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 275.00 towards 342.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 275.00 towards 342.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Wait 0.05 seconds
        Special Effect - Create a special effect at (Casters_point_U offset by 300.00 towards 81.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 300.00 towards 81.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 300.00 towards 171.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 300.00 towards 171.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 300.00 towards 261.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 300.00 towards 261.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 300.00 towards 351.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 351.00 towards 81.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Wait 0.05 seconds
        Special Effect - Create a special effect at (Casters_point_U offset by 325.00 towards 90.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 325.00 towards 90.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 325.00 towards 180.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 325.00 towards 180.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 325.00 towards 270.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 325.00 towards 270.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
        Special Effect - Create a special effect at (Casters_point_U offset by 325.00 towards 360.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
        Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 325.00 towards 360.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
Its a bit to long to! :)
 
1) Use loops.

2) Set the caster's location to a point variable, set the "point offset by X towards Y degrees" to another point variable, using the first point variable as the origin point
e.g.
Code:
Set Point1 = Position of <unit>
Set Point2 = Point1 offset by 10 towards 50 degrees
Do your actions
Custom script: call RemoveLocation (udg_Point1)
Custom script: call RemoveLocation (udg_Point2)

3) Search for a leak tutorial, you'll need it
 
hehe! ok! thx!

Okey! I did something wrong but i dont know what, can you help me?
Code:
Untitled Trigger 001
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to Ice Lord's wrath 
    Actions
        For each (Integer A) from 1 to 10, do (Actions)
            Loop - Actions
                Set Casters_point_U = (Position of (Triggering unit))
                Set Offset_point_U = ((Position of (Last created unit)) offset by 25.00 towards 9.00 degrees)
                Unit - Make (Triggering unit) Invulnerable
                Special Effect - Create a special effect at (Casters_point_U offset by 75.00 towards 0.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
                Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 75.00 towards 0.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
                Special Effect - Create a special effect at (Casters_point_U offset by 75.00 towards 90.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
                Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 75.00 towards 90.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
                Special Effect - Create a special effect at (Casters_point_U offset by 75.00 towards 180.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
                Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 75.00 towards 180.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
                Special Effect - Create a special effect at (Casters_point_U offset by 75.00 towards 270.00 degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
                Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 75.00 towards 270.00 degrees), dealing 20.00 damage of attack type Spells and damage type Cold
                Unit - Make (Triggering unit) Vulnerable
                Wait 0.05 seconds
                Custom script:   call RemoveLocation (udg_Caster_point_U)
                Custom script:   call RemoveLocation (udg_Offset_point_U)
 
You could try this for each section:

For each integer A from 1 to 4 do actions
Special Effect - Create a special effect at (Casters_point_U offset by 75.00 towards ((Integer A -1) * 90) degrees) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
Special Effect - Destroy last created special effect
Unit - Cause Caster_U to damage circular area after 0.00 seconds of radius 200.00 at (Casters_point_U offset by 75.00 towards ((Integer A -1) * 90) degrees), dealing 20.00 damage of attack type Spells and damage type Cold

Note: I didn't use the editor to write this, so some things may be slightly off.

I'm not sure if creating special effects leaks, but assuming it does, you'd destroy them immediately after creation (it should still display the animation).
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    News portal has been retired. Main page of site goes to Headline News forum now
  • The Helper The Helper:
    I am working on getting access to the old news portal under a different URL for those that would rather use that for news before we get a different news view.
  • Ghan Ghan:
    Easily done
    +1
  • The Helper The Helper:
    https://www.thehelper.net/pages/news/ is a link to the old news portal - i will integrate it into the interface somewhere when i figure it out
  • Ghan Ghan:
    Need to try something
  • Ghan Ghan:
    Hopefully this won't cause problems.
  • Ghan Ghan:
    Hmm
  • Ghan Ghan:
    I have converted the Headline News forum to an Article type forum. It will now show the top 20 threads with more detail of each thread.
  • Ghan Ghan:
    See how we like that.
  • The Helper The Helper:
    I do not see a way to go past the 1st page of posts on the forum though
  • The Helper The Helper:
    It is OK though for the main page to open up on the forum in the view it was before. As long as the portal has its own URL so it can be viewed that way I do want to try it as a regular forum view for a while
  • Ghan Ghan:
    Yeah I'm not sure what the deal is with the pagination.
  • Ghan Ghan:
    It SHOULD be there so I think it might just be an artifact of having an older style.
  • Ghan Ghan:
    I switched it to a "Standard" article forum. This will show the thread list like normal, but the threads themselves will have the first post set up above the rest of the "comments"
  • The Helper The Helper:
    I don't really get that article forum but I think it is because I have never really seen it used on a multi post thread
  • Ghan Ghan:
    RpNation makes more use of it right now as an example: https://www.rpnation.com/news/
  • The Helper The Helper:
  • The Helper The Helper:
    What do you think Tom?
  • tom_mai78101 tom_mai78101:
    I will have to get used to this.
  • tom_mai78101 tom_mai78101:
    The latest news feed looks good

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top