• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Fix leaks in this spell please

Status
Not open for further replies.
Level 2
Joined
May 21, 2010
Messages
4
My request is removing leaks from the trigger and the variable i think.

My other chinese friend(AFB Maker) said that the leaks are in the sfx and sfx group. i am guessing maybe in the variables. is where the sfx leaks are making.

I tried asking chaosrealm however it seems like the spell fixer of leaks are absent.

It seems very hard for me to find a spell leak fixer. i didn't ask hiveshop yet. so i went to ask here.

I personally am not a spellmaker. however last time i tried to make a map due to leaks nobody played my map due to fatal error and lag.... afterwards.


The spell is made by My friend Syaoran Clone. It just that he a bit busy in real life.

he ss this about the leaks
0P2SOfQ.jpg
 

Attachments

  • Elizabeth-Bathory-Redo-of-Lancer.w3x
    2.1 MB · Views: 55
Last edited:
Level 13
Joined
Mar 24, 2013
Messages
1,105
Sure, but not everyone that can help is going to be able to access WE, or want to try to hunt down which trigger is the issue within the map.

Posting the trigger in question in the language of the forum, is not an unreasonable request.
 
Level 2
Joined
May 21, 2010
Messages
4
@pOke here

  • Elizabeth Bathory Setup
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set ElizabethID = Elizabeth Bathory - Dummy
      • Set ElizabethPath[0] = war3mapImported\Wind.mdx
      • Set ElizabethPath[1] = war3mapImported\A7_zisekuosan.mdx
      • Set ElizabethPath[2] = war3mapImported\AuraItachi.mdx
      • Set ElizabethPath[4] = war3mapImported\Dark Tohka Slash.mdx
      • Set ElizabethPath[5] = war3mapImported\DeadSpirit Pink.mdx
      • Set ElizabethPath[6] = war3mapImported\ElCastle.mdx
      • Set ElizabethPath[7] = war3mapImported\SenbonzakuraPart.mdx
      • Set ElizabethPath[8] = war3mapImported\Shockwave2(PurpleRed(Large).mdx
      • Set ElizabethPath[9] = war3mapImported\DTPink.mdx
      • Set ElizabethPath[10] = war3mapImported\DTPurple.mdl
      • Set ElizabethPath[11] = war3mapImported\Lancer of Elizabeth.mdx
      • Set ElizabethPath[12] = war3mapImported\StarParticleWhite (Void).mdx
      • Set ElizabethPath[13] = war3mapImported\A(BlackPurple).mdx
      • Set ElizabethPath[14] = war3mapImported\arcdirve02b1.mdx
      • Set ElizabethPath[15] = war3mapImported\Lance of Elizabeth.mdx
      • Set ElizabethPath[16] = war3mapImported\BloodTornado.mdx
      • Set ElizabethPath[17] = war3mapImported\FireTohka2.mdx
      • Set ElizabethPath[18] = war3mapImported\SasukeSpark.mdx
      • Set ElizabethPath[19] = war3mapImported\Asuma-Explosion4.mdx
      • Set ElizabethPath[20] = war3mapImported\FireShockRun1(Pink180).mdx
      • Set ElizabethPath[21] = war3mapImported\nitu.mdx
      • Set ElizabethPath[22] = war3mapImported\SandPoff.mdx
      • Set ElizabethPath[23] = war3mapImported\fuzzystomp.mdx
  • Bathory Erzsebet
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Bathory Erzsebet
    • Actions
      • Set Elizabeth[0] = (Triggering unit)
      • Set ElizabethPoint[0] = (Position of Elizabeth[0])
      • Set ElizabethPlayer = (Owner of Elizabeth[0])
      • Set ElizabethInt[0] = 0
      • Set ElizabethPoint[1] = (Target point of ability being cast)
      • Set EizabethReal[0] = (Angle from ElizabethPoint[0] to ElizabethPoint[1])
      • Set EizabethReal[2] = 0.00
      • -------- Damage --------
      • Set EizabethReal[1] = ((Real((Agility of Elizabeth[0] (Include bonuses)))) x 10.00)
      • -------- Distance --------
      • Set EizabethReal[3] = (Distance between ElizabethPoint[0] and ElizabethPoint[1])
      • -------- Speed --------
      • Set EizabethReal[4] = 80.00
      • -------- Time --------
      • Set EizabethReal[5] = ((EizabethReal[3] / EizabethReal[4]) x 0.05)
      • -------- Other --------
      • Set ElizabethInt[1] = 0
      • Set ElizabethInt[2] = 0
      • Custom script: set udg_ElizabethGroup[0] = CreateGroup()
      • Unit - Pause Elizabeth[0]
      • Trigger - Turn on Bathory Erzsebet Loop <gen>
  • Bathory Erzsebet Loop
    • Events
      • Time - Every 0.05 seconds of game time
    • Conditions
    • Actions
      • Set ElizabethInt[0] = (ElizabethInt[0] + 1)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ElizabethInt[0] Greater than or equal to 1
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ElizabethInt[0] Equal to 1
            • Then - Actions
              • Custom script: call SetUnitAnimationByIndex(udg_Elizabeth[0],10)
              • Animation - Change Elizabeth[0]'s animation speed to 160.00% of its original speed
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Random integer number between 1 and 3) Equal to 1
                • Then - Actions
                  • Sound - Play Bathory_Erzsebet <gen>
                • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Random integer number between 1 and 3) Equal to 2
                    • Then - Actions
                      • Sound - Play BathoryErzsebetOther <gen>
                    • Else - Actions
                      • Sound - Play Bathory_ErzsebetStart <gen>
              • Camera - Lock camera target for ElizabethPlayer to Elizabeth[0], offset by (0.00, 0.00) using Default rotation
              • Camera - Set ElizabethPlayer's camera Distance to target to 400.00 over 0.00 seconds
              • Camera - Set ElizabethPlayer's camera Height Offset to 120.00 over 0.00 seconds
              • Camera - Set ElizabethPlayer's camera Rotation to (EizabethReal[0] + 70.00) over 0.00 seconds
              • Camera - Set ElizabethPlayer's camera Angle of attack to 365.00 over 0.00 seconds
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ElizabethInt[0] Equal to 20
            • Then - Actions
              • Camera - Set ElizabethPlayer's camera Distance to target to 1250.00 over 0.00 seconds
              • Camera - Set ElizabethPlayer's camera Rotation to (EizabethReal[0] + 180.00) over 1.00 seconds
              • Camera - Set ElizabethPlayer's camera Height Offset to 200.00 over 0.00 seconds
              • Camera - Set ElizabethPlayer's camera Angle of attack to 350.00 over 1.00 seconds
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ElizabethInt[0] Equal to 30
            • Then - Actions
              • Set ElizabethPoint[0] = (Position of Elizabeth[0])
              • Camera - Set ElizabethPlayer's camera Distance to target to 1800.00 over 0.50 seconds
              • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[0] facing EizabethReal[0] degrees
              • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[0]
              • Animation - Change (Last created unit) flying height to 300.00 at 0.00
              • Animation - Change (Last created unit)'s size to (250.00%, 250.00%, 250.00%) of its original size
              • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
              • Custom script: call RemoveLocation(udg_ElizabethPoint[0])
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ElizabethInt[0] Equal to 60
            • Then - Actions
              • Set ElizabethPoint[0] = (Position of Elizabeth[0])
              • Set ElizabethPoint[2] = (ElizabethPoint[0] offset by 100.00 towards EizabethReal[0] degrees)
              • Sound - Play Bathory_ErzsebetExtra <gen>
              • Animation - Change Elizabeth[0]'s animation speed to 60.00% of its original speed
              • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[2] facing EizabethReal[0] degrees
              • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[1]
              • Animation - Change (Last created unit)'s size to (100.00%, 100.00%, 100.00%) of its original size
              • Animation - Change (Last created unit)'s animation speed to 50.00% of its original speed
              • Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
              • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[2] facing EizabethReal[0] degrees
              • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[7]
              • Animation - Change (Last created unit) flying height to 250.00 at 0.00
              • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
              • Animation - Change (Last created unit)'s size to (250.00%, 150.00%, 150.00%) of its original size
              • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[2] facing EizabethReal[0] degrees
              • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[8]
              • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
              • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[2] facing EizabethReal[0] degrees
              • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[5]
              • Animation - Change (Last created unit)'s size to (250.00%, 150.00%, 150.00%) of its original size
              • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
              • Unit - Create 1 Elizabeth Bathory - Feather for ElizabethPlayer at ElizabethPoint[2] facing EizabethReal[0] degrees
              • Animation - Change (Last created unit) flying height to 250.00 at 0.00
              • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
              • Custom script: call RemoveLocation(udg_ElizabethPoint[0])
              • Custom script: call RemoveLocation(udg_ElizabethPoint[2])
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ElizabethInt[0] Equal to 65
            • Then - Actions
              • Set ElizabethPoint[0] = (Position of Elizabeth[0])
              • Set ElizabethPoint[2] = (ElizabethPoint[0] offset by -500.00 towards EizabethReal[0] degrees)
              • Camera - Set ElizabethPlayer's camera Distance to target to 2800.00 over 0.00 seconds
              • For each (Integer A) from 1 to 8, do (Actions)
                • Loop - Actions
                  • Set EizabethReal[2] = (EizabethReal[2] + 100.00)
                  • Set ElizabethPoint[3] = (ElizabethPoint[2] offset by EizabethReal[2] towards (EizabethReal[0] + 90.00) degrees)
                  • Set ElizabethPoint[4] = (ElizabethPoint[2] offset by EizabethReal[2] towards (EizabethReal[0] - 90.00) degrees)
                  • Unit - Create 1 Elizabeth Bathory - Aura for ElizabethPlayer at ElizabethPoint[4] facing EizabethReal[0] degrees
                  • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[2]
                  • Animation - Change (Last created unit)'s size to (200.00%, 150.00%, 150.00%) of its original size
                  • Unit - Add a 2.50 second Generic expiration timer to (Last created unit)
                  • Unit - Create 1 Elizabeth Bathory - Aura for ElizabethPlayer at ElizabethPoint[3] facing EizabethReal[0] degrees
                  • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[2]
                  • Animation - Change (Last created unit)'s size to (200.00%, 150.00%, 150.00%) of its original size
                  • Unit - Add a 2.50 second Generic expiration timer to (Last created unit)
                  • Custom script: call RemoveLocation(udg_ElizabethPoint[3])
                  • Custom script: call RemoveLocation(udg_ElizabethPoint[4])
              • Unit - Create 1 Elizabeth Bathory - Castle for ElizabethPlayer at ElizabethPoint[2] facing EizabethReal[0] degrees
              • Set Elizabeth[1] = (Last created unit)
              • Animation - Change (Last created unit)'s size to (1400.00%, 1000.00%, 1000.00%) of its original size
              • Animation - Change (Last created unit) flying height to 0.00 at (500.00 / 1.00)
              • Custom script: call RemoveLocation(udg_ElizabethPoint[0])
              • Custom script: call RemoveLocation(udg_ElizabethPoint[2])
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ElizabethInt[0] Equal to 70
            • Then - Actions
              • Animation - Change Elizabeth[0]'s animation speed to 150.00% of its original speed
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ElizabethInt[0] Equal to 110
            • Then - Actions
              • Camera - Set ElizabethPlayer's camera Distance to target to 2000.00 over 0.00 seconds
              • Camera - Set ElizabethPlayer's camera Rotation to (EizabethReal[0] + 230.00) over 0.00 seconds
              • Set ElizabethPoint[0] = (Position of Elizabeth[0])
              • Set ElizabethPoint[2] = (ElizabethPoint[0] offset by 100.00 towards EizabethReal[0] degrees)
              • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[2] facing EizabethReal[0] degrees
              • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[4]
              • Animation - Change (Last created unit) flying height to 600.00 at 0.00
              • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
              • Custom script: call RemoveLocation(udg_ElizabethPoint[0])
              • Custom script: call RemoveLocation(udg_ElizabethPoint[2])
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Or - Any (Conditions) are true
                • Conditions
                  • ElizabethInt[0] Equal to 120
                  • ElizabethInt[0] Equal to 191
            • Then - Actions
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ElizabethInt[0] Equal to 160
            • Then - Actions
              • Camera - Set ElizabethPlayer's camera Far Z to 1000000000.00 over 0.00 seconds
              • Camera - Set ElizabethPlayer's camera Rotation to (EizabethReal[0] + 320.00) over 1.00 seconds
              • Camera - Set ElizabethPlayer's camera Distance to target to 3000.00 over 0.00 seconds
              • Camera - Set ElizabethPlayer's camera Height Offset to 650.00 over 0.00 seconds
              • Camera - Set ElizabethPlayer's camera Angle of attack to 325.00 over 0.00 seconds
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ElizabethInt[0] Greater than 120
            • Then - Actions
              • Set ElizabethPoint[0] = (Position of Elizabeth[0])
              • Set ElizabethPoint[2] = (ElizabethPoint[0] offset by 100.00 towards EizabethReal[0] degrees)
              • Set EizabethReal[2] = 0.00
              • Set ElizabethInt[2] = (ElizabethInt[2] + 1)
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • ElizabethInt[2] Equal to 10
                • Then - Actions
                  • Set ElizabethPoint[7] = (Position of Elizabeth[1])
                  • For each (Integer A) from 1 to 4, do (Actions)
                    • Loop - Actions
                      • Set EizabethReal[2] = (EizabethReal[2] + 200.00)
                      • Set ElizabethPoint[8] = (ElizabethPoint[7] offset by EizabethReal[2] towards (EizabethReal[0] + 90.00) degrees)
                      • Set ElizabethPoint[9] = (ElizabethPoint[7] offset by EizabethReal[2] towards (EizabethReal[0] - 90.00) degrees)
                      • Unit - Create 1 Elizabeth Bathory - PinkNova for ElizabethPlayer at ElizabethPoint[8] facing (EizabethReal[0] + 90.00) degrees
                      • Animation - Change (Last created unit)'s size to (100.00%, 100.00%, 100.00%) of its original size
                      • Animation - Change (Last created unit) flying height to (Random real number between 100.00 and 300.00) at 0.00
                      • Unit - Add a 0.50 second Generic expiration timer to (Last created unit)
                      • Unit - Create 1 Elizabeth Bathory - PinkNova for ElizabethPlayer at ElizabethPoint[9] facing (EizabethReal[0] + 90.00) degrees
                      • Animation - Change (Last created unit) flying height to (Random real number between 100.00 and 300.00) at 0.00
                      • Animation - Change (Last created unit)'s size to (100.00%, 100.00%, 100.00%) of its original size
                      • Unit - Add a 0.50 second Generic expiration timer to (Last created unit)
                      • Custom script: call RemoveLocation(udg_ElizabethPoint[8])
                      • Custom script: call RemoveLocation(udg_ElizabethPoint[9])
                  • Set ElizabethInt[2] = 0
                  • Custom script: call RemoveLocation(udg_ElizabethPoint[7])
                • Else - Actions
              • Unit - Create 1 Elizabeth Bathory - Wind for ElizabethPlayer at ElizabethPoint[2] facing (EizabethReal[0] + 90.00) degrees
              • Unit Group - Add (Last created unit) to ElizabethGroup[0]
              • Animation - Change (Last created unit)'s animation speed to 50.00% of its original speed
              • Animation - Change (Last created unit)'s size to (200.00%, 200.00%, 200.00%) of its original size
              • Animation - Change (Last created unit)'s vertex coloring to (100.00%, 39.20%, 100.00%) with 0.00% transparency
              • Animation - Change (Last created unit) flying height to 700.00 at 0.00
              • Unit - Create 1 Elizabeth Bathory - Ring for ElizabethPlayer at ElizabethPoint[2] facing (EizabethReal[0] + 90.00) degrees
              • Animation - Play (Last created unit)'s birth animation
              • Unit Group - Add (Last created unit) to ElizabethGroup[0]
              • Animation - Change (Last created unit)'s size to (200.00%, 200.00%, 200.00%) of its original size
              • Animation - Change (Last created unit) flying height to 700.00 at 0.00
              • Unit Group - Pick every unit in ElizabethGroup[0] and do (Actions)
                • Loop - Actions
                  • Set ElizabethPoint[3] = (Position of (Picked unit))
                  • Set ElizabethPoint[4] = (ElizabethPoint[3] offset by EizabethReal[4] towards EizabethReal[0] degrees)
                  • Unit - Move (Picked unit) instantly to ElizabethPoint[4], facing (EizabethReal[0] + 90.00) degrees
                  • Animation - Change (Picked unit) flying height to 0.00 at (700.00 / EizabethReal[5])
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Distance between ElizabethPoint[3] and ElizabethPoint[1]) Less than or equal to 100.00
                    • Then - Actions
                      • Set ElizabethPoint[5] = (Position of (Picked unit))
                      • Unit - Remove (Picked unit) from the game
                      • Trigger - Turn on Bathory Erzsebet Loop 2 <gen>
                    • Else - Actions
                  • Custom script: call RemoveLocation(udg_ElizabethPoint[3])
                  • Custom script: call RemoveLocation(udg_ElizabethPoint[4])
              • Custom script: call RemoveLocation(udg_ElizabethPoint[0])
              • Custom script: call RemoveLocation(udg_ElizabethPoint[2])
            • Else - Actions
        • Else - Actions
  • Bathory Erzsebet Loop 2
    • Events
      • Time - Every 0.50 seconds of game time
    • Conditions
    • Actions
      • Set ElizabethInt[1] = (ElizabethInt[1] + 1)
      • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[5] facing (Random angle) degrees
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random integer number between 1 and 2) Equal to 1
        • Then - Actions
          • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[9]
        • Else - Actions
          • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[10]
      • Unit - Add a 0.50 second Generic expiration timer to (Last created unit)
      • Animation - Change (Last created unit)'s size to (300.00%, 200.00%, 200.00%) of its original size
      • For each (Integer A) from 1 to 6, do (Actions)
        • Loop - Actions
          • Set ElizabethPoint[6] = (ElizabethPoint[5] offset by (Random real number between 300.00 and 500.00) towards (60.00 x (Real((Integer A)))) degrees)
          • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[6] facing (Random angle) degrees
          • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[8]
          • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
          • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[6] facing (Random angle) degrees
          • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[1]
          • Animation - Change (Last created unit)'s size to (100.00%, 200.00%, 200.00%) of its original size
          • Unit - Add a 0.50 second Generic expiration timer to (Last created unit)
          • Custom script: call RemoveLocation(udg_ElizabethPoint[6])
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick every unit in (Units within 800.00 of ElizabethPoint[5] matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) belongs to an enemy of ElizabethPlayer) Equal to True) and (((Matching unit) is alive) Equal to True)))) and do (Actions)
        • Loop - Actions
          • Unit - Cause Elizabeth[0] to damage (Picked unit), dealing EizabethReal[1] damage of attack type Spells and damage type Universal
      • Custom script: call RemoveLocation(udg_ElizabethPoint[5])
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ElizabethInt[1] Equal to 10
        • Then - Actions
          • Unit - Unpause Elizabeth[0]
          • Camera - Reset camera for ElizabethPlayer to standard game-view over 0.00 seconds
          • Camera - Set ElizabethPlayer's camera Distance to target to 2800.00 over 0.00 seconds
          • Unit Group - Pick every unit in ElizabethGroup[0] and do (Actions)
            • Loop - Actions
              • Unit - Remove (Picked unit) from the game
          • Unit - Remove Elizabeth[1] from the game
          • Animation - Change Elizabeth[0]'s animation speed to 100.00% of its original speed
          • Animation - Reset Elizabeth[0]'s animation
          • Custom script: call DestroyGroup(udg_ElizabethGroup[0])
          • Custom script: call RemoveLocation(udg_ElizabethPoint[1])
          • Trigger - Turn off Bathory Erzsebet Loop <gen>
          • Trigger - Turn off (This trigger)
        • Else - Actions
  • Estet Repules
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Estet Repules
    • Actions
      • Set Elizabeth[2] = (Triggering unit)
      • Set ElizabethPoint[10] = (Position of Elizabeth[2])
      • Set ElizabethPlayer = (Owner of Elizabeth[2])
      • Set Elizabeth[3] = (Target unit of ability being cast)
      • Set ElizabethPoint[11] = (Position of Elizabeth[3])
      • Set ElizabethInt[3] = 0
      • Set EizabethReal[6] = (Angle from ElizabethPoint[10] to ElizabethPoint[11])
      • -------- Damage --------
      • Set EizabethReal[7] = ((Real((Agility of Elizabeth[2] (Include bonuses)))) x 10.00)
      • Unit - Pause Elizabeth[2]
      • Unit - Turn collision for Elizabeth[2] Off
      • Sound - Play Estet_Repules_Start <gen>
      • Trigger - Turn on Estet Repules Loop <gen>
  • Estet Repules Loop
    • Events
      • Time - Every 0.05 seconds of game time
    • Conditions
    • Actions
      • Set ElizabethInt[3] = (ElizabethInt[3] + 1)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ElizabethInt[3] Greater than or equal to 1
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ElizabethInt[3] Equal to 1
            • Then - Actions
              • Set ElizabethPoint[10] = (Position of Elizabeth[2])
              • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[10] facing (Random angle) degrees
              • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[12]
              • Animation - Change (Last created unit)'s size to (300.00%, 200.00%, 200.00%) of its original size
              • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
              • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[10] facing (Random angle) degrees
              • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[8]
              • Animation - Change (Last created unit)'s size to (150.00%, 200.00%, 200.00%) of its original size
              • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
              • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[10] facing (Random angle) degrees
              • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[10]
              • Animation - Change (Last created unit)'s size to (150.00%, 200.00%, 200.00%) of its original size
              • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
              • Custom script: call RemoveLocation(udg_ElizabethPoint[10])
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ElizabethInt[3] Equal to 20
            • Then - Actions
              • Set ElizabethPoint[10] = (Position of Elizabeth[2])
              • Animation - Change Elizabeth[2]'s animation speed to 205.00% of its original speed
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Distance between ElizabethPoint[10] and ElizabethPoint[11]) Greater than or equal to 300.00
                • Then - Actions
                  • Custom script: call SetUnitAnimationByIndex(udg_Elizabeth[2],12)
                  • Set ElizabethInt[4] = 1
                • Else - Actions
                  • Custom script: call SetUnitAnimationByIndex(udg_Elizabeth[2],7)
                  • Set ElizabethInt[4] = 0
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ElizabethInt[3] Equal to 32
            • Then - Actions
              • Animation - Change Elizabeth[2]'s animation speed to 0.00% of its original speed
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ElizabethInt[3] Equal to 40
              • ElizabethInt[4] Equal to 0
            • Then - Actions
              • Set ElizabethInt[3] = 103
              • Unit - Make Elizabeth[2] face (Angle from (Position of Elizabeth[2]) to (Position of Elizabeth[3])) over 0.00 seconds
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ElizabethInt[3] Greater than 30
              • ElizabethInt[3] Less than or equal to 102
              • ElizabethInt[4] Equal to 1
            • Then - Actions
              • Set ElizabethPoint[10] = (Position of Elizabeth[2])
              • Set ElizabethPoint[11] = (Position of Elizabeth[3])
              • Set EizabethReal[6] = (Angle from ElizabethPoint[10] to ElizabethPoint[11])
              • Set ElizabethPoint[12] = (ElizabethPoint[10] offset by 100.00 towards EizabethReal[6] degrees)
              • Unit - Move Elizabeth[2] instantly to ElizabethPoint[12], facing EizabethReal[6] degrees
              • Unit - Create 1 Elizabeth Bathory - Glowline for ElizabethPlayer at ElizabethPoint[12] facing (EizabethReal[6] + 90.00) degrees
              • Animation - Change (Last created unit)'s size to (300.00%, 300.00%, 300.00%) of its original size
              • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Distance between ElizabethPoint[10] and ElizabethPoint[11]) Less than or equal to 600.00
                • Then - Actions
                  • Unit - Turn collision for Elizabeth[2] On
                  • Unit - Make Elizabeth[3] face (EizabethReal[6] + 180.00) over 0.00 seconds
                  • Set ElizabethInt[3] = 103
                • Else - Actions
              • Custom script: call RemoveLocation(udg_ElizabethPoint[10])
              • Custom script: call RemoveLocation(udg_ElizabethPoint[11])
              • Custom script: call RemoveLocation(udg_ElizabethPoint[12])
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ElizabethInt[3] Equal to 104
            • Then - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Distance between ElizabethPoint[10] and ElizabethPoint[11]) Less than or equal to 1000.00
                • Then - Actions
                  • Set ElizabethPoint[11] = (Position of Elizabeth[3])
                  • Sound - Play Estet_Repules <gen>
                  • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[11] facing (Random angle) degrees
                  • Unit - Add Stun of The Spear to (Last created unit)
                  • Unit - Order (Last created unit) to Human Mountain King - Storm Bolt Elizabeth[3]
                  • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
                  • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[11] facing (Random angle) degrees
                  • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[1]
                  • Animation - Change (Last created unit)'s size to (120.00%, 100.00%, 100.00%) of its original size
                  • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
                  • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[11] facing (Random angle) degrees
                  • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[10]
                  • Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
                  • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[11] facing (Random angle) degrees
                  • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[13]
                  • Animation - Change (Last created unit)'s size to (300.00%, 300.00%, 300.00%) of its original size
                  • Animation - Change (Last created unit) flying height to 200.00 at 0.00
                  • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
                  • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[11] facing (Random angle) degrees
                  • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[14]
                  • Animation - Change (Last created unit)'s size to (500.00%, 500.00%, 500.00%) of its original size
                  • Animation - Change (Last created unit) flying height to 200.00 at 0.00
                  • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
                  • Unit - Cause Elizabeth[2] to damage Elizabeth[3], dealing EizabethReal[7] damage of attack type Spells and damage type Normal
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Elizabeth[3] is dead) Equal to True
                    • Then - Actions
                      • Animation - Change Elizabeth[2]'s animation speed to 100.00% of its original speed
                      • Custom script: call SetUnitAnimationByIndex(udg_Elizabeth[2],0)
                      • Set ElizabethInt[3] = 150
                    • Else - Actions
                      • Animation - Change Elizabeth[2]'s animation speed to 60.00% of its original speed
                • Else - Actions
                  • Unit - Unpause Elizabeth[2]
                  • Animation - Change Elizabeth[2]'s animation speed to 100.00% of its original speed
                  • Custom script: call SetUnitAnimationByIndex(udg_Elizabeth[2],0)
                  • Trigger - Turn off (This trigger)
              • Custom script: call RemoveLocation(udg_ElizabethPoint[11])
              • Custom script: call RemoveLocation(udg_ElizabethPoint[10])
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ElizabethInt[3] Equal to 110
              • ElizabethInt[4] Equal to 1
            • Then - Actions
              • Sound - Play Estet_Repules_End <gen>
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ElizabethInt[3] Equal to 150
            • Then - Actions
              • Unit - Unpause Elizabeth[2]
              • Animation - Change Elizabeth[2]'s animation speed to 100.00% of its original speed
              • Trigger - Turn off (This trigger)
            • Else - Actions
        • Else - Actions
  • Ado Kinzas
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Ado Kinzas
    • Actions
      • Set Elizabeth[4] = (Triggering unit)
      • Set ElizabethPoint[13] = (Position of Elizabeth[4])
      • Set ElizabethPlayer = (Owner of Elizabeth[4])
      • Set ElizabethPoint[14] = (Target point of ability being cast)
      • Set ElizabethInt[5] = 0
      • Set ElizabethInt[6] = 0
      • Set EizabethReal[8] = (Angle from ElizabethPoint[13] to ElizabethPoint[14])
      • -------- Damage --------
      • Set EizabethReal[9] = ((Real((Agility of Elizabeth[4] (Include bonuses)))) x 15.00)
      • -------- Height is const : 400 --------
      • -------- Range --------
      • Set EizabethReal[10] = (Distance between ElizabethPoint[13] and ElizabethPoint[14])
      • -------- Speed --------
      • Set EizabethReal[11] = 80.00
      • -------- Time --------
      • Set EizabethReal[12] = ((EizabethReal[10] / EizabethReal[11]) x 0.05)
      • -------- Her spear will reduce this height every 0,05 s --------
      • Set EizabethReal[13] = ((400.00 / (EizabethReal[12] / 0.05)) x 1.00)
      • Unit - Pause Elizabeth[4]
      • Trigger - Turn on Ado Kinzas Loop <gen>
  • Ado Kinzas Loop
    • Events
      • Time - Every 0.05 seconds of game time
    • Conditions
    • Actions
      • Set ElizabethInt[5] = (ElizabethInt[5] + 1)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ElizabethInt[5] Greater than or equal to 1
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ElizabethInt[5] Equal to 1
            • Then - Actions
              • Sound - Play Szerelem_Almodik <gen>
              • Sound - Play AdoKinzas <gen>
              • Set ElizabethPoint[13] = (Position of Elizabeth[4])
              • Custom script: call SetUnitAnimationByIndex(udg_Elizabeth[4],11)
              • Animation - Change Elizabeth[4]'s animation speed to 70.00% of its original speed
              • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[13] facing (Random angle) degrees
              • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[12]
              • Animation - Change (Last created unit)'s size to (300.00%, 200.00%, 200.00%) of its original size
              • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
              • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[13] facing (Random angle) degrees
              • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[8]
              • Animation - Change (Last created unit)'s size to (150.00%, 200.00%, 200.00%) of its original size
              • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
              • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[13] facing (Random angle) degrees
              • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[10]
              • Animation - Change (Last created unit)'s size to (150.00%, 200.00%, 200.00%) of its original size
              • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
              • Custom script: call RemoveLocation(udg_ElizabethPoint[13])
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ElizabethInt[5] Equal to 30
            • Then - Actions
              • Custom script: call SetUnitAnimationByIndex(udg_Elizabeth[4],13)
              • Sound - Stop AdoKinzas <gen> Immediately
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ElizabethInt[5] Equal to 60
            • Then - Actions
              • Set ElizabethPoint[13] = (Position of Elizabeth[4])
              • Unit - Create 1 Elizabeth Bathory - Spear for ElizabethPlayer at ElizabethPoint[13] facing EizabethReal[8] degrees
              • Set Elizabeth[5] = (Last created unit)
              • Animation - Change (Last created unit)'s size to (150.00%, 150.00%, 150.00%) of its original size
              • Animation - Change (Last created unit) flying height to 400.00 at 0.00
              • Custom script: call RemoveLocation(udg_ElizabethPoint[13])
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ElizabethInt[5] Greater than 60
            • Then - Actions
              • Set ElizabethPoint[13] = (Position of Elizabeth[5])
              • Set ElizabethPoint[15] = (ElizabethPoint[13] offset by EizabethReal[11] towards EizabethReal[8] degrees)
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • ElizabethInt[6] Equal to 0
                • Then - Actions
                  • Unit - Move Elizabeth[5] instantly to ElizabethPoint[15], facing EizabethReal[8] degrees
                  • Animation - Change Elizabeth[5] flying height to ((Current flying height of Elizabeth[5]) - EizabethReal[13]) at 0.00
                  • Unit - Create 1 Elizabeth Bathory - Wind for ElizabethPlayer at ElizabethPoint[13] facing (EizabethReal[8] + 90.00) degrees
                  • Animation - Change (Last created unit) flying height to (Current flying height of Elizabeth[5]) at 0.00
                  • Animation - Change (Last created unit)'s size to (200.00%, 150.00%, 150.00%) of its original size
                  • Unit - Add a 0.80 second Generic expiration timer to (Last created unit)
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Current flying height of Elizabeth[5]) Less than 10.00
                    • Then - Actions
                      • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[13] facing (Random angle) degrees
                      • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[12]
                      • Animation - Change (Last created unit)'s size to (200.00%, 150.00%, 150.00%) of its original size
                      • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
                      • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[13] facing (Random angle) degrees
                      • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[1]
                      • Animation - Change (Last created unit)'s size to (150.00%, 150.00%, 150.00%) of its original size
                      • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
                      • Custom script: set bj_wantDestroyGroup = true
                      • Unit Group - Pick every unit in (Units within 400.00 of ElizabethPoint[13] matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) belongs to an enemy of ElizabethPlayer) Equal to True) and (((Matching unit) is alive) Equal to True)))) and do (Actions)
                        • Loop - Actions
                          • Unit - Cause Elizabeth[4] to damage (Picked unit), dealing (EizabethReal[9] / 2.00) damage of attack type Spells and damage type Universal
                      • Animation - Change Elizabeth[4]'s animation speed to 100.00% of its original speed
                      • Unit - Remove Elizabeth[5] from the game
                      • Unit - Unpause Elizabeth[4]
                      • Trigger - Turn off (This trigger)
                    • Else - Actions
                • Else - Actions
              • -------- ------------------------------------------------ --------
              • Custom script: set bj_wantDestroyGroup = true
              • Unit Group - Pick every unit in (Units within 150.00 of ElizabethPoint[13] matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) belongs to an enemy of ElizabethPlayer) Equal to True) and (((Matching unit) is alive) Equal to True)))) and do (Actions)
                • Loop - Actions
                  • Set ElizabethPoint[16] = (Position of (Picked unit))
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Distance between ElizabethPoint[13] and ElizabethPoint[16]) Less than or equal to 100.00
                      • (Current flying height of Elizabeth[5]) Less than 350.00
                    • Then - Actions
                      • Set ElizabethInt[6] = (ElizabethInt[6] + 1)
                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        • If - Conditions
                          • ElizabethInt[6] Equal to 1
                        • Then - Actions
                          • Set ElizabethPoint[13] = (Position of Elizabeth[5])
                          • Sound - Play AdoKinzas <gen> at 100.00% volume, skipping the first 3.50 seconds
                          • Unit - Cause Elizabeth[4] to damage (Picked unit), dealing EizabethReal[9] damage of attack type Spells and damage type Universal
                          • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[13] facing (Random angle) degrees
                          • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[1]
                          • Unit - Add Stun 1 s to (Last created unit)
                          • Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Picked unit)
                          • Animation - Change (Last created unit) flying height to (Current flying height of Elizabeth[5]) at 0.00
                          • Animation - Change (Last created unit)'s size to (150.00%, 150.00%, 150.00%) of its original size
                          • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
                          • Unit - Create 1 Elizabeth Bathory - Explosion for ElizabethPlayer at ElizabethPoint[13] facing (EizabethReal[8] - 90.00) degrees
                          • Unit - Add DummySeal to (Last created unit)
                          • Unit - Order (Last created unit) to Neutral Pit Lord - Doom (Picked unit)
                          • Animation - Change (Last created unit) flying height to (Current flying height of Elizabeth[5]) at 0.00
                          • Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
                          • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[13] facing (Random angle) degrees
                          • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[9]
                          • Animation - Change (Last created unit)'s size to (200.00%, 150.00%, 150.00%) of its original size
                          • Animation - Change (Last created unit) flying height to (Current flying height of Elizabeth[5]) at 0.00
                          • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
                          • Unit - Add a 1.50 second Generic expiration timer to Elizabeth[5]
                          • Unit - Unpause Elizabeth[4]
                          • Animation - Change Elizabeth[4]'s animation speed to 100.00% of its original speed
                          • -------- -------------Just make clolor, you can remove all these if you want--------------------- --------
                          • Floating Text - Create floating text that reads (+ + ((String((Integer(EizabethReal[9])))) + ( + HP))) above Elizabeth[4] with Z offset 100.00, using font size 15.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
                          • Floating Text - Change (Last created floating text): Disable permanence
                          • Floating Text - Set the velocity of (Last created floating text) to 100.00 towards 90.00 degrees
                          • Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
                          • Floating Text - Create floating text that reads > Recover < above Elizabeth[4] with Z offset 50.00, using font size 12.00, color (100.00%, 100.00%, 0.00%), and 0.00% transparency
                          • Floating Text - Set the velocity of (Last created floating text) to 50.00 towards 90.00 degrees
                          • Floating Text - Change (Last created floating text): Disable permanence
                          • Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
                          • Floating Text - Create floating text that reads > Curse < above (Picked unit) with Z offset 100.00, using font size 15.00, color (58.00%, 19.60%, 100.00%), and 0.00% transparency
                          • Floating Text - Set the velocity of (Last created floating text) to 50.00 towards 90.00 degrees
                          • Floating Text - Change (Last created floating text): Disable permanence
                          • Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
                          • -------- ----------------------------------------------------------------------------------------------------------------- --------
                          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            • If - Conditions
                              • ((Picked unit) is dead) Equal to True
                            • Then - Actions
                              • Set ElizabethInt[6] = 5
                            • Else - Actions
                          • Custom script: call RemoveLocation(udg_ElizabethPoint[13])
                        • Else - Actions
                    • Else - Actions
                  • Custom script: call RemoveLocation(udg_ElizabethPoint[16])
              • Custom script: call RemoveLocation(udg_ElizabethPoint[13])
              • Custom script: call RemoveLocation(udg_ElizabethPoint[15])
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ElizabethInt[6] Equal to 5
            • Then - Actions
              • Set ElizabethPoint[13] = (Position of Elizabeth[4])
              • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[13] facing (Random angle) degrees
              • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[12]
              • Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
              • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[13] facing (Random angle) degrees
              • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[16]
              • Animation - Change (Last created unit)'s size to (200.00%, 150.00%, 150.00%) of its original size
              • Unit - Add a 2.50 second Generic expiration timer to (Last created unit)
              • Unit - Set life of Elizabeth[4] to ((Life of Elizabeth[4]) + EizabethReal[9])
              • For each (Integer A) from 1 to 6, do (Actions)
                • Loop - Actions
                  • Set ElizabethPoint[15] = (ElizabethPoint[13] offset by 300.00 towards (60.00 x (Real((Integer A)))) degrees)
                  • Unit - Create 1 Elizabeth Bathory - Aura for ElizabethPlayer at ElizabethPoint[15] facing (Random angle) degrees
                  • Animation - Change (Last created unit)'s size to (200.00%, 150.00%, 150.00%) of its original size
                  • Unit - Add a 2.50 second Generic expiration timer to (Last created unit)
                  • Custom script: call RemoveLocation(udg_ElizabethPoint[15])
              • Custom script: call RemoveLocation(udg_ElizabethPoint[13])
              • Trigger - Turn off (This trigger)
            • Else - Actions
        • Else - Actions
  • Lert Suger Tran
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Lert Suger Tran
    • Actions
      • Set Elizabeth[6] = (Triggering unit)
      • Set ElizabethPoint[17] = (Position of Elizabeth[6])
      • Set ElizabethPlayer = (Owner of Elizabeth[6])
      • Set Elizabeth[7] = (Target unit of ability being cast)
      • Set ElizabethPoint[18] = (Position of Elizabeth[7])
      • Set ElizabethInt[7] = 0
      • Set EizabethReal[14] = (Angle from ElizabethPoint[17] to ElizabethPoint[18])
      • -------- Damage --------
      • Set EizabethReal[15] = ((Real((Agility of Elizabeth[6] (Include bonuses)))) x 7.00)
      • Unit - Pause Elizabeth[6]
      • Sound - Play Lert_suger_Tran <gen>
      • Trigger - Turn on Lert Suger Tran Loop <gen>
  • Lert Suger Tran Loop
    • Events
      • Time - Every 0.05 seconds of game time
    • Conditions
    • Actions
      • Set ElizabethInt[7] = (ElizabethInt[7] + 1)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ElizabethInt[7] Greater than or equal to 1
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ElizabethInt[7] Equal to 1
            • Then - Actions
              • Custom script: call SetUnitAnimationByIndex(udg_Elizabeth[6],2)
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ElizabethInt[7] Equal to 20
            • Then - Actions
              • Set ElizabethPoint[17] = (Position of Elizabeth[6])
              • Animation - Change Elizabeth[6]'s animation speed to 0.00% of its original speed
              • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[17] facing EizabethReal[14] degrees
              • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[15]
              • Animation - Change (Last created unit)'s size to (200.00%, 200.00%, 200.00%) of its original size
              • Set Elizabeth[8] = (Last created unit)
              • Custom script: call RemoveLocation(udg_ElizabethPoint[17])
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ElizabethInt[7] Greater than 20
            • Then - Actions
              • Set ElizabethPoint[17] = (Position of Elizabeth[6])
              • Set ElizabethPoint[18] = (Position of Elizabeth[7])
              • Set EizabethReal[14] = (Angle from ElizabethPoint[17] to ElizabethPoint[18])
              • Set ElizabethPoint[19] = (Position of Elizabeth[8])
              • Set ElizabethPoint[20] = (ElizabethPoint[19] offset by 120.00 towards EizabethReal[14] degrees)
              • If (adAll Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Distance between ElizabethPoint[19] and ElizabethPoint[18]) Greater than 150.00
                • Then - Actions
                  • Unit - Move Elizabeth[8] instantly to ElizabethPoint[20], facing EizabethReal[14] degrees
                  • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[19] facing EizabethReal[14] degrees
                  • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[17]
                  • Animation - Change (Last created unit)'s size to (200.00%, 200.00%, 200.00%) of its original size
                  • Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
                  • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[19] facing EizabethReal[14] degrees
                  • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[20]
                  • Animation - Change (Last created unit)'s size to (200.00%, 200.00%, 200.00%) of its original size
                  • Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
                  • Special Effect - Create a special effect at ElizabethPoint[19] using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
                  • Special Effect - Destroy (Last created special effect)
                • Else - Actions
                  • Floating Text - Create floating text that reads > PARALYSIS < above Elizabeth[7] with Z offset 50.00, using font size 15.00, color (94.00%, 76.00%, 5.00%), and 0.00% transparency
                  • Floating Text - Set the velocity of (Last created floating text) to 50.00 towards 90.00 degrees
                  • Floating Text - Change (Last created floating text): Disable permanence
                  • Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
                  • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[18] facing (Random angle) degrees
                  • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[18]
                  • Animation - Change (Last created unit)'s size to (300.00%, 120.00%, 120.00%) of its original size
                  • Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
                  • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[18] facing (Random angle) degrees
                  • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[19]
                  • Animation - Change (Last created unit)'s size to (400.00%, 300.00%, 300.00%) of its original size
                  • Animation - Change (Last created unit) flying height to 150.00 at 0.00
                  • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
                  • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[18] facing (Random angle) degrees
                  • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[1]
                  • Animation - Change (Last created unit)'s size to (150.00%, 120.00%, 120.00%) of its original size
                  • Animation - Change (Last created unit) flying height to 150.00 at 0.00
                  • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
                  • Unit - Unpause Elizabeth[6]
                  • Animation - Change Elizabeth[6]'s animation speed to 100.00% of its original speed
                  • Unit - Add Paralysis to Elizabeth[8]
                  • Unit - Order Elizabeth[8] to Orc Shaman - Purge Elizabeth[7]
                  • Unit - Add a 1.50 second Generic expiration timer to Elizabeth[8]
                  • Unit - Cause Elizabeth[6] to damage Elizabeth[7], dealing EizabethReal[15] damage of attack type Spells and damage type Normal
                  • Trigger - Turn off (This trigger)
              • Custom script: call RemoveLocation(udg_ElizabethPoint[17])
              • Custom script: call RemoveLocation(udg_ElizabethPoint[18])
              • Custom script: call RemoveLocation(udg_ElizabethPoint[19])
              • Custom script: call RemoveLocation(udg_ElizabethPoint[20])
            • Else - Actions
        • Else - Actions

  • Ver Salgovar
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Ver Salgovar
    • Actions
      • Set Elizabeth[9] = (Triggering unit)
      • Set ElizabethPoint[21] = (Position of Elizabeth[9])
      • Set ElizabethPlayer = (Owner of Elizabeth[9])
      • Set ElizabethInt[8] = 0
      • Set EizabethReal[16] = (Facing of Elizabeth[9])
      • -------- Damage --------
      • Set EizabethReal[17] = ((Real((Agility of Elizabeth[9] (Include bonuses)))) x 5.00)
      • Unit - Pause Elizabeth[9]
      • Trigger - Turn on Ver Salgovar Loop <gen>


  • Ver Salgovar Loop
    • Events
      • Time - Every 0.05 seconds of game time
    • Conditions
    • Actions
      • Set ElizabethInt[8] = (ElizabethInt[8] + 1)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ElizabethInt[8] Greater than or equal to 1
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ElizabethInt[8] Equal to 1
            • Then - Actions
              • Custom script: call SetUnitAnimationByIndex(udg_Elizabeth[9],6)
              • Sound - Play Ver_Salgovar <gen>
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ElizabethInt[8] Equal to 20
            • Then - Actions
              • Set ElizabethPoint[21] = (Position of Elizabeth[9])
              • Set ElizabethPoint[22] = (ElizabethPoint[21] offset by 700.00 towards EizabethReal[16] degrees)
              • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[22] facing (Random angle) degrees
              • Unit - Add Stun AOE to (Last created unit)
              • Set Elizabeth[10] = (Last created unit)
              • Unit - Order Elizabeth[10] to Orc Tauren Chieftain - War Stomp
              • Custom script: set bj_wantDestroyGroup = true
              • Unit Group - Pick every unit in (Units within 300.00 of ElizabethPoint[22] matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) belongs to an enemy of ElizabethPlayer) Equal to True) and (((Matching unit) is alive) Equal to True)))) and do (Actions)
                • Loop - Actions
                  • Floating Text - Create floating text that reads > STUN < above (Picked unit) with Z offset 20.00, using font size 15.00, color (100.00%, 50.00%, 100.00%), and 0.00% transparency
                  • Floating Text - Set the velocity of (Last created floating text) to 50.00 towards 90.00 degrees
                  • Floating Text - Change (Last created floating text): Disable permanence
                  • Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
                  • Unit - Cause Elizabeth[9] to damage (Picked unit), dealing EizabethReal[17] damage of attack type Spells and damage type Normal
              • Custom script: call RemoveLocation(udg_ElizabethPoint[21])
              • Custom script: call RemoveLocation(udg_ElizabethPoint[22])
              • For each (Integer A) from 1 to 6, do (Actions)
                • Loop - Actions
                  • Set ElizabethPoint[22] = (Position of Elizabeth[10])
                  • Set ElizabethPoint[23] = (ElizabethPoint[22] offset by 300.00 towards (60.00 x (Real((Integer A)))) degrees)
                  • Set ElizabethPoint[24] = (ElizabethPoint[22] offset by (Random real number between 300.00 and 400.00) towards (60.00 x (Real((Integer A)))) degrees)
                  • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[23] facing (Random angle) degrees
                  • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[23]
                  • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
                  • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[23] facing (Random angle) degrees
                  • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[22]
                  • Animation - Change (Last created unit)'s size to (250.00%, 250.00%, 250.00%) of its original size
                  • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
                  • Unit - Create 1 ElizabethID for ElizabethPlayer at ElizabethPoint[24] facing ElizabethPoint[22]
                  • Special Effect - Create a special effect attached to the origin of (Last created unit) using ElizabethPath[21]
                  • Animation - Change (Last created unit)'s size to (300.00%, 300.00%, 300.00%) of its original size
                  • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
                  • Custom script: call RemoveLocation(udg_ElizabethPoint[22])
                  • Custom script: call RemoveLocation(udg_ElizabethPoint[23])
                  • Custom script: call RemoveLocation(udg_ElizabethPoint[24])
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ElizabethInt[8] Equal to 30
            • Then - Actions
              • Unit - Unpause Elizabeth[9]
              • Unit - Remove Elizabeth[10] from the game
              • Trigger - Turn off (This trigger)
            • Else - Actions
        • Else - Actions

  • Remove
    • Events
      • Unit - A unit Dies
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Unit-type of (Triggering unit)) Equal to Elizabeth Bathory - Dummy
          • (Unit-type of (Triggering unit)) Equal to Elizabeth Bathory - Feather
          • (Unit-type of (Triggering unit)) Equal to Elizabeth Bathory - PinkNova
          • (Unit-type of (Triggering unit)) Equal to Elizabeth Bathory - Wind
          • (Unit-type of (Triggering unit)) Equal to Elizabeth Bathory - Ring
          • (Unit-type of (Triggering unit)) Equal to Elizabeth Bathory - Castle
          • (Unit-type of (Triggering unit)) Equal to Elizabeth Bathory - Glowline
          • (Unit-type of (Triggering unit)) Equal to Elizabeth Bathory - Spear
          • (Unit-type of (Triggering unit)) Equal to Elizabeth Bathory - Aura
    • Actions
      • Unit - Remove (Triggering unit) from the game
 
Last edited:
Status
Not open for further replies.
Top