1. Are you planning to upload your awesome spell or system to Hive? Please review the rules here.
    Dismiss Notice
  2. Find your way through the deepest dungeon in the 18th Mini Mapping Contest Poll.
    Dismiss Notice
  3. A brave new world lies beyond the seven seas. Join the 34th Modeling Contest today!
    Dismiss Notice
  4. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
Hive 3 Remoosed BETA - NOW LIVE. Go check it out at BETA Hive Workshop! Post your feedback in this new forum BETA Feedback.
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

X-OMG-X's Spellpack v1.4

Submitted by X-OMG-X
This bundle is marked as substandard. It may contain bugs, not perform optimally or otherwise be in violation of the submission rules.
Yo.

A spellpack with currently 10 spells. Some of them will be improved soon and there will also be added new spells. My goal is to create 2 spells for each of the categories below:
Lightning, Light, Earth, Nature, Fire, Water, Darkness, ???

Descriptions

Electricity Stomp
Stomps the ground, stunning and damaging all nearby enemies hit by the electricity coming up from the ground. Units close to the caster will take 25 extra damage. If an enemy hero is hit by the electricity it will take 2x its own intelligence in damage and will have a 10% chance to release a new electricity stomp.

Electric Push
Charges massive lightnings to push the target enemy. The pushed unit will be knocked back for 400 range. When pushed the caster throws electricity in all directions around the caster dealing 25/50/75 damage to all nearby units.

Divine Surrounding
When attacked, there will be a 15/30/45% chance to surround the attacking unit with a divine shield thats blocks all attacks from the unit and makes it unable to move for 1/2/3 seconds.

Sunrise
Creates a shiny sun that shines on all units in 200/400/600 range. The sun will heal all friendly units in range and there will be a 50% chance to make the sun shiny really much and damage all enemy units in rage by 2x intelligence.

Torment of Spikes
Creates a box of spikes at a target area. Units within the box will be tormented by massive spikes coming up from the ground. The spiked units will be damaged by 45/90/135 and be stunned for 1/2/3 seconds.

Rockcircle
Creates a circle of massive rocks around the caster that boxes ground units within the circle and makes ground units outside the circle unable to enter it. Each rock lasts for 10 seconds and upon death they will explode and deal 30/60/90 damage to all enemy units near them.

Entangelious
The caster causes the ground to overgroth and entangle all enemy units in 200/300/400 range. The entangled units will not be able to move and will take 20/30/40 damage every second. The overgroth lasts 3/5/8 seconds.

Overgrown
The caster makes the ground overgrowth and stops all units in its area. The units hit by the ovegrowth will take 20/40/60 damage each overgrowth explosion.

Flame Wheel
Sends a wave of flames in a target direction and when it reaches its target it explodes and creates a circle of fire around the targeted point. The fire deals damage equalt to 0.5/1.0/1.5 x the casters strenght, but units with more than 60% hitpoints is resistant for the flames and wont take damage.

Fire Burst
Causes random 3/5/7 explosions around the caster, splitting into smaller fire bolts, that deals 10/20/30 damage to all close enemy units.

Black Hole
Opens a black hole at a target area that pulls nearby enemy units into it. When a unit reaches the center of the hole, it will be damaged for 25/50/75 + 2x the level of the casting unit. Destroys trees.

Sacrificial
Casts an unholy mist around the caster. The mist steals 10/20/30% hitpoints from all enemy units and if the unit have less than 30% hitpoints it will be instantly killed. The casting unit will pay 2% of its life, for each enemy unit affacted by the mist. When the mist disappears it destroys all the casters negative buffs and there will be a 40% chance to give the casting unit an incredibly fast attackspeed but will take 5 hitpoints each second. Lasts 10 seconds.


Triggers
  • Electricity Stomp
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Electricity Stomp
    • Actions
      • -------- Okay lets start with setting the variables --------
      • Set ES_Caster = (Triggering unit)
      • Set ES_Point = (Position of ES_Caster)
      • Set ES_Level = (Level of Electricity Stomp for ES_Caster)
      • -------- Now we start the pretty circle --------
      • For each (Integer ES_Integer) from 1 to 10, do (Actions)
        • Loop - Actions
          • -------- Here we set the points in the circle --------
          • Set ES_Offset = (ES_Point offset by 250.00 towards ((Real(ES_Integer)) x 36.00) degrees)
          • -------- Now we create the dummies --------
          • Unit - Create 1 Dummy for (Owner of ES_Caster) at ES_Offset facing Default building facing degrees
          • Unit - Add Electricity Stomp (Dummy) to (Last created unit)
          • Unit - Set level of Electricity Stomp (Dummy) for (Last created unit) to ES_Level
          • Unit - Order (Last created unit) to Orc Tauren Chieftain - War Stomp
          • -------- And now its time for the effects --------
          • Special Effect - Create a special effect at ES_Offset using Abilities\Weapons\Bolt\BoltImpact.mdl
          • Special Effect - Destroy (Last created special effect)
          • Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
          • -------- And now we remove the leaks --------
          • Custom script: call RemoveLocation(udg_ES_Offset)
      • For each (Integer ES_Integer) from 1 to 15, do (Actions)
        • Loop - Actions
          • -------- As we did in the lines above we set variables --------
          • Set ES_Offset2 = (ES_Point offset by 400.00 towards ((Real(ES_Integer)) x 24.00) degrees)
          • -------- And creates the dummies --------
          • Unit - Create 1 Dummy for (Owner of ES_Caster) at ES_Offset2 facing Default building facing degrees
          • Unit - Add Electricity Stomp (Dummy) to (Last created unit)
          • Unit - Set level of Electricity Stomp (Dummy) for (Last created unit) to ES_Level
          • Unit - Order (Last created unit) to Orc Tauren Chieftain - War Stomp
          • -------- Creates the effects --------
          • Special Effect - Create a special effect at ES_Offset2 using Abilities\Weapons\Bolt\BoltImpact.mdl
          • Special Effect - Destroy (Last created special effect)
          • Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
          • -------- And removing the leaks --------
          • Custom script: call RemoveLocation(udg_ES_Offset2)
      • -------- Now we pick all heroes in the area --------
      • Set ES_Group = (Units within 550.00 of ES_Point matching ((((Matching unit) is A Hero) Equal to True) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an ally of (Owner of ES_Caster)) Equal to False))))
      • Unit Group - Pick every unit in ES_Group and do (Actions)
        • Loop - Actions
          • -------- And we damage the picked units --------
          • Unit - Cause ES_Caster to damage (Picked unit), dealing ((Real((Intelligence of (Picked unit) (Include bonuses)))) x 2.00) damage of attack type Spells and damage type Normal
          • -------- Now we show the special effects --------
          • Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Items\AIlb\AIlbSpecialArt.mdl
          • Special Effect - Destroy (Last created special effect)
      • -------- Here we set the chance to do doublecast --------
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random real number between 1.00 and 100.00) Less than or equal to 10.00
        • Then - Actions
          • -------- And we simply makes a dummy cast the spell --------
          • Set ES_PickedPos = (Position of (Picked unit))
          • Unit - Create 1 Dummy for (Owner of ES_Caster) at ES_PickedPos facing Default building facing degrees
          • Unit - Add Electricity Stomp to (Last created unit)
          • Unit - Order (Last created unit) to Orc Tauren Chieftain - War Stomp
          • Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
        • Else - Actions
      • -------- And at last we remove the leaks --------
      • Custom script: call RemoveLocation(udg_ES_Point)
      • Custom script: call DestroyGroup(udg_ES_Group)
      • -------- ---------------------------- --------
      • -------- ---------------------------- --------
      • -------- Spell by X-OMG-X --------
      • -------- ---------------------------- --------
  • Electric Push
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Electric Push
    • Actions
      • -------- First of all we set all the needed variables --------
      • Set KBA_Caster = (Triggering unit)
      • Set KBA_TargetUnit = (Target unit of ability being cast)
      • Set KBA_StartingPosition = (Position of (Triggering unit))
      • Set KBA_Level = 1
      • Set KBA_Speed = 3.00
      • Set KBA_DistancePerLevel = 450.00
      • Set KBA_SpecialEffects[1] = Abilities\Weapons\Bolt\BoltImpact.mdl
      • Set KBA_SpecialEffects[2] = Abilities\Weapons\Bolt\BoltImpact.mdl
      • Set KBA_DestroyTrees = True
      • -------- Now we deal damage to the targeted unti --------
      • Unit - Cause KBA_TargetUnit to damage KBA_TargetUnit, dealing 100.00 damage of attack type Spells and damage type Normal
      • -------- And here we go --------
      • For each (Integer EP_Integer) from 1 to 10, do (Actions)
        • Loop - Actions
          • -------- We set the variable --------
          • Set EP_Offset = (KBA_StartingPosition offset by 250.00 towards ((Real(EP_Integer)) x 36.00) degrees)
          • -------- We create the dummies and makes them cast the spell --------
          • Unit - Create 1 Dummy for (Owner of KBA_Caster) at EP_Offset facing Default building facing degrees
          • Unit - Add Electricity Stomp (Dummy) to (Last created unit)
          • Unit - Set level of Electricity Stomp (Dummy) for (Last created unit) to (Level of Electric Push for KBA_Caster)
          • Unit - Order (Last created unit) to Orc Tauren Chieftain - War Stomp
          • -------- Creates the special effects --------
          • Special Effect - Create a special effect at EP_Offset using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
          • Special Effect - Destroy (Last created special effect)
          • Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
          • -------- And removes the leaks --------
          • Custom script: call RemoveLocation(udg_EP_Offset)
      • -------- And now we turn the knockback on --------
      • -------- ---------------------------- --------
      • -------- DO NOT EDIT THE KNOCKBACK TRIGGERS --------
      • Trigger - Run Cast A Knockback <gen> (checking conditions)
      • -------- DO NOT EDIT THE KNOCKBACK TRIGGERS --------
      • -------- ---------------------------- --------
      • -------- ---------------------------- --------
      • -------- Spell by X-OMG-X --------
      • -------- ---------------------------- --------
  • Cast A Knockback
    • Events
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (KBA_TargetUnit is in KB_KnockbackedUnits) Equal to True
        • Then - Actions
          • Unit Group - Remove KBA_TargetUnit from KB_KnockbackedUnits
          • Set KB_CountBuffs = (KB_CountBuffs - 1)
          • For each (Integer KB_GeneralIntegers[2]) from 1 to KB_TotalKnockUnits, do (Actions)
            • Loop - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • KB_Units[KB_GeneralIntegers[1]] Equal to KBA_TargetUnit
                • Then - Actions
                  • Set KB_GeneralIntegers[1] = KB_GeneralIntegers[2]
                  • Set KB_GeneralIntegers[2] = KB_TotalKnockUnits
                • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • KB_TotalKnockUnits Greater than KB_GeneralIntegers[1]
            • Then - Actions
              • Set KB_Levels[KB_GeneralIntegers[1]] = KB_Levels[KB_TotalKnockUnits]
              • Set KB_Units[KB_GeneralIntegers[1]] = KB_Units[KB_TotalKnockUnits]
              • Set KB_Angle[KB_GeneralIntegers[1]] = KB_Angle[KB_TotalKnockUnits]
              • Set KB_MaxDistance[KB_GeneralIntegers[1]] = KB_MaxDistance[KB_TotalKnockUnits]
              • Set KB_ReachedDistance[KB_GeneralIntegers[1]] = KB_ReachedDistance[KB_TotalKnockUnits]
              • Set KB_ReduceSpeedReal[KB_GeneralIntegers[1]] = KB_ReduceSpeedReal[KB_TotalKnockUnits]
              • Set KB_SpecificSpeed[KB_GeneralIntegers[1]] = KB_SpecificSpeed[KB_TotalKnockUnits]
              • Set KB_Effects_1[KB_GeneralIntegers[1]] = KB_Effects_1[KB_TotalKnockUnits]
              • Set KB_Effects_2[KB_GeneralIntegers[1]] = KB_Effects_2[KB_TotalKnockUnits]
              • Set KB_DestroyTrees[KB_GeneralIntegers[1]] = KB_DestroyTrees[KB_TotalKnockUnits]
              • Set KB_EffectCounter[KB_GeneralIntegers[1]] = KB_EffectCounter[KB_TotalKnockUnits]
              • Set KB_EffectCounter2[KB_GeneralIntegers[1]] = KB_EffectCounter2[KB_TotalKnockUnits]
              • Set KB_GeneralIntegers[1] = (KB_GeneralIntegers[1] - 1)
            • Else - Actions
          • Set KB_Units[KB_TotalKnockUnits] = No unit
          • Set KB_TotalKnockUnits = (KB_TotalKnockUnits - 1)
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • KB_CountBuffs Equal to 0
            • Then - Actions
              • Set KB_TotalKnockUnits = 0
              • Trigger - Turn off Get Knockback <gen>
            • Else - Actions
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • KB_CountBuffs Equal to 0
        • Then - Actions
          • Trigger - Turn on Get Knockback <gen>
        • Else - Actions
      • Set KB_CountBuffs = (KB_CountBuffs + 1)
      • Set KB_TotalKnockUnits = (KB_TotalKnockUnits + 1)
      • Set KB_Casters[KB_TotalKnockUnits] = KBA_Caster
      • Set KB_Levels[KB_TotalKnockUnits] = KBA_Level
      • Set KB_Units[KB_TotalKnockUnits] = KBA_TargetUnit
      • Set KB_StartPositions[KB_TotalKnockUnits] = KBA_StartingPosition
      • Set KB_TempPoint[KB_TotalKnockUnits] = (Position of KBA_TargetUnit)
      • Set KB_Angle[KB_TotalKnockUnits] = (Angle from KB_StartPositions[KB_TotalKnockUnits] to KB_TempPoint[KB_TotalKnockUnits])
      • Set KB_MaxDistance[KB_TotalKnockUnits] = (KBA_DistancePerLevel x (Real(KBA_Level)))
      • Set KB_ReachedDistance[KB_TotalKnockUnits] = 0.00
      • Set KB_ReduceSpeedReal[KB_GeneralIntegers[1]] = 0.00
      • Set KB_SpecificSpeed[KB_TotalKnockUnits] = KBA_Speed
      • Set KB_Effects_1[KB_TotalKnockUnits] = KBA_SpecialEffects[1]
      • Set KB_Effects_2[KB_TotalKnockUnits] = KBA_SpecialEffects[2]
      • Set KB_DestroyTrees[KB_TotalKnockUnits] = KBA_DestroyTrees
      • Set KB_EffectCounter[KB_GeneralIntegers[1]] = 0
      • Set KB_EffectCounter2[KB_GeneralIntegers[1]] = 0
      • Unit Group - Add KBA_TargetUnit to KB_KnockbackedUnits
      • Custom script: call RemoveLocation (udg_KBA_StartingPosition)
      • Custom script: call RemoveLocation (udg_KB_TempPoint [udg_KB_TotalKnockUnits] )
      • Custom script: call RemoveLocation (udg_KB_StartPositions [udg_KB_TotalKnockUnits] )
      • -------- ---------------------------- --------
      • -------- ---------------------------- --------
      • -------- Spell by X-OMG-X --------
      • -------- ---------------------------- --------
  • Get Knockback
    • Events
      • Time - Every 0.02 seconds of game time
    • Conditions
    • Actions
      • For each (Integer KB_GeneralIntegers[1]) from 1 to KB_TotalKnockUnits, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (KB_Units[KB_GeneralIntegers[1]] is in KB_KnockbackedUnits) Equal to True
            • Then - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • KB_ReachedDistance[KB_GeneralIntegers[1]] Greater than or equal to KB_MaxDistance[KB_GeneralIntegers[1]]
                • Then - Actions
                  • Unit Group - Remove KB_Units[KB_GeneralIntegers[1]] from KB_KnockbackedUnits
                  • Set KB_CountBuffs = (KB_CountBuffs - 1)
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • KB_TotalKnockUnits Greater than KB_GeneralIntegers[1]
                    • Then - Actions
                      • Set KB_Levels[KB_GeneralIntegers[1]] = KB_Levels[KB_TotalKnockUnits]
                      • Set KB_Units[KB_GeneralIntegers[1]] = KB_Units[KB_TotalKnockUnits]
                      • Set KB_Angle[KB_GeneralIntegers[1]] = KB_Angle[KB_TotalKnockUnits]
                      • Set KB_MaxDistance[KB_GeneralIntegers[1]] = KB_MaxDistance[KB_TotalKnockUnits]
                      • Set KB_ReachedDistance[KB_GeneralIntegers[1]] = KB_ReachedDistance[KB_TotalKnockUnits]
                      • Set KB_ReduceSpeedReal[KB_GeneralIntegers[1]] = KB_ReduceSpeedReal[KB_TotalKnockUnits]
                      • Set KB_SpecificSpeed[KB_GeneralIntegers[1]] = KB_SpecificSpeed[KB_TotalKnockUnits]
                      • Set KB_Effects_1[KB_GeneralIntegers[1]] = KB_Effects_1[KB_TotalKnockUnits]
                      • Set KB_Effects_2[KB_GeneralIntegers[1]] = KB_Effects_2[KB_TotalKnockUnits]
                      • Set KB_DestroyTrees[KB_GeneralIntegers[1]] = KB_DestroyTrees[KB_TotalKnockUnits]
                      • Set KB_EffectCounter[KB_GeneralIntegers[1]] = KB_EffectCounter[KB_TotalKnockUnits]
                      • Set KB_EffectCounter2[KB_GeneralIntegers[1]] = KB_EffectCounter2[KB_TotalKnockUnits]
                      • Set KB_GeneralIntegers[1] = (KB_GeneralIntegers[1] - 1)
                    • Else - Actions
                  • Set KB_Units[KB_TotalKnockUnits] = No unit
                  • Set KB_TotalKnockUnits = (KB_TotalKnockUnits - 1)
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • KB_CountBuffs Equal to 0
                    • Then - Actions
                      • Set KB_TotalKnockUnits = 0
                      • Trigger - Turn off (This trigger)
                    • Else - Actions
                • Else - Actions
                  • Set KB_ReducedReal = ((KB_SpecificSpeed[KB_GeneralIntegers[1]] / KB_MaxDistance[KB_GeneralIntegers[1]]) x KB_ReachedDistance[KB_GeneralIntegers[1]])
                  • Set KB_ReduceSpeedReal[KB_GeneralIntegers[1]] = (KB_ReducedReal - (KB_ReduceSpeedReal[KB_GeneralIntegers[1]] x 0.10))
                  • Set KB_TempReal = ((KB_SpecificSpeed[KB_GeneralIntegers[1]] - KB_ReduceSpeedReal[KB_GeneralIntegers[1]]) x 2.00)
                  • Set KB_TempPoint[1] = (Position of KB_Units[KB_GeneralIntegers[1]])
                  • Set KB_TempPoint[2] = (KB_TempPoint[1] offset by KB_TempReal towards KB_Angle[KB_GeneralIntegers[1]] degrees)
                  • Set KB_EffectCounter[KB_GeneralIntegers[1]] = (KB_EffectCounter[KB_GeneralIntegers[1]] + 1)
                  • Set KB_EffectCounter2[KB_GeneralIntegers[1]] = (KB_EffectCounter2[KB_GeneralIntegers[1]] + 1)
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • KB_DestroyTrees[KB_GeneralIntegers[1]] Equal to True
                    • Then - Actions
                      • Destructible - Pick every destructible within 200.00 of KB_TempPoint[2] and do (Actions)
                        • Loop - Actions
                          • Destructible - Kill (Picked destructible)
                    • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • KB_EffectCounter[KB_GeneralIntegers[1]] Equal to 6
                    • Then - Actions
                      • Set KB_EffectCounter[KB_GeneralIntegers[1]] = 0
                      • Special Effect - Create a special effect at KB_TempPoint[1] using KB_Effects_1[KB_GeneralIntegers[1]]
                      • Special Effect - Destroy (Last created special effect)
                    • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • KB_EffectCounter2[KB_GeneralIntegers[1]] Equal to 8
                    • Then - Actions
                      • Set KB_EffectCounter2[KB_GeneralIntegers[1]] = 0
                      • Special Effect - Create a special effect at KB_TempPoint[1] using KB_Effects_2[KB_GeneralIntegers[1]]
                      • Special Effect - Destroy (Last created special effect)
                    • Else - Actions
                  • Unit - Move KB_Units[KB_GeneralIntegers[1]] instantly to KB_TempPoint[2]
                  • Custom script: call RemoveLocation (udg_KB_TempPoint[1])
                  • Custom script: call RemoveLocation (udg_KB_TempPoint[2])
                  • Set KB_ReachedDistance[KB_GeneralIntegers[1]] = (KB_ReachedDistance[KB_GeneralIntegers[1]] + KB_TempReal)
            • Else - Actions
      • -------- ---------------------------- --------
      • -------- ---------------------------- --------
      • -------- Spell by X-OMG-X --------
      • -------- ---------------------------- --------
  • Divine Surrounding
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Random integer number between 1 and 100) Less than or equal to (15 x (Level of Divine Surrounding for (Attacked unit)))
      • (Level of Divine Surrounding for (Attacked unit)) Not equal to 0
    • Actions
      • -------- Okay here we go. We set variables --------
      • Set ED_Attacked = (Attacked unit)
      • Set ED_Attacking = (Attacking unit)
      • -------- We create the needed dummy --------
      • Unit - Create 1 Dummy for (Owner of ED_Attacked) at (Position of ED_Attacking) facing Default building facing degrees
      • Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
      • Unit - Add Divine Surrounding (Dummy) to (Last created unit)
      • Unit - Order (Last created unit) to Human Sorceress - Slow ED_Attacking
      • -------- And now set the level. --------
      • -------- DO NOT EDIT THIS LINE --------
      • If ((Level of Divine Surrounding for ED_Attacked) Equal to 1) then do (Unit - Add Divine Surrounding (Dummy) to (Last created unit)) else do (Unit - Set level of Divine Surrounding (Dummy) for (Last created unit) to (Level of Divine Surrounding for ED_Attacked))
      • -------- DO NOT EDIT THIS LINE --------
      • -------- ---------------------------- --------
      • -------- ---------------------------- --------
      • -------- Spell by X-OMG-X --------
      • -------- ---------------------------- --------
  • Sunrise
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Sunrise
    • Actions
      • -------- Setting the required variables --------
      • Set SU_Caster = (Triggering unit)
      • Set SU_Intelligence = (Intelligence of SU_Caster (Include bonuses))
      • Set SU_Position = (Position of (Triggering unit))
      • Set SU_Group = (Units within (200.00 x (Real((Level of Sunrise for SU_Caster)))) of SU_Position matching (((Matching unit) belongs to an ally of (Owner of SU_Caster)) Equal to True))
      • -------- Picking the units in range --------
      • Unit Group - Pick every unit in SU_Group and do (Actions)
        • Loop - Actions
          • -------- Creating special effects and heals --------
          • Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
          • Special Effect - Destroy (Last created special effect)
          • Unit - Cause (Picked unit) to damage (Picked unit), dealing ((Real(SU_Intelligence)) x -2.00) damage of attack type Spells and damage type Normal
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random real number between 1.00 and 100.00) Less than or equal to 50.00
        • Then - Actions
          • -------- Picking enemy units --------
          • Set SU_Enemies = (Units within (200.00 x (Real((Level of Sunrise for SU_Caster)))) of SU_Position matching (((Matching unit) belongs to an enemy of (Owner of SU_Caster)) Equal to True))
          • Unit Group - Pick every unit in SU_Enemies and do (Actions)
            • Loop - Actions
              • -------- Creates effects and deals damage --------
              • Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Human\Resurrect\ResurrectTarget.mdl
              • Special Effect - Destroy (Last created special effect)
              • Unit - Cause (Picked unit) to damage (Picked unit), dealing ((Real(SU_Intelligence)) x 2.00) damage of attack type Spells and damage type Normal
          • Custom script: call DestroyGroup(udg_SU_Enemies)
        • Else - Actions
      • -------- Removes the leaks --------
      • Custom script: call RemoveLocation(udg_SU_Position)
      • Custom script: call DestroyGroup(udg_SU_Group)
      • -------- ---------------------------- --------
      • -------- ---------------------------- --------
      • -------- Spell by X-OMG-X --------
      • -------- ---------------------------- --------
  • Torment of Spikes
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Torment of Spikes
    • Actions
      • -------- Setting the variables --------
      • Set CU_Caster = (Triggering unit)
      • Set CU_Point = (Target point of ability being cast)
      • Set CU_Group = (Units within 400.00 of CU_Point)
      • For each (Integer CU_Integer) from 1 to 10, do (Actions)
        • Loop - Actions
          • -------- Setting the circle --------
          • Set CU_Offset = (CU_Point offset by 400.00 towards ((Real(CU_Integer)) x 36.00) degrees)
          • -------- Creating effects --------
          • Special Effect - Create a special effect at CU_Offset using Abilities\Spells\Undead\Impale\ImpaleHitTarget.mdl
          • Special Effect - Destroy (Last created special effect)
          • -------- Creating the needed dummies --------
          • Unit - Create 1 Dummy for (Owner of CU_Caster) at CU_Offset facing Default building facing degrees
          • Unit - Add Torment of Spikes (Dummy) to (Last created unit)
          • Unit - Order (Last created unit) to Undead Crypt Lord - Impale CU_Point
          • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
          • Custom script: call RemoveLocation(udg_CU_Offset)
      • -------- Removes the leaks --------
      • Custom script: call RemoveLocation(udg_CU_Point)
      • Custom script: call DestroyGroup(udg_CU_Group)
      • -------- ---------------------------- --------
      • -------- ---------------------------- --------
      • -------- Spell by X-OMG-X --------
      • -------- ---------------------------- --------
  • Rockcircle
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Rockcircle
    • Actions
      • -------- Setting variables --------
      • Set RC_Caster = (Triggering unit)
      • Set RC_Point = (Position of RC_Caster)
      • For each (Integer RC_Integer) from 1 to 10, do (Actions)
        • Loop - Actions
          • -------- Setting the circle --------
          • Set RC_Offset = (RC_Point offset by (((Real((Level of Rockcircle for RC_Caster))) x 100.00) + 200.00) towards ((Real(RC_Integer)) x 18.00) degrees)
          • -------- Creates the rocks --------
          • Unit - Create 1 Dummy (Rockcircle) for (Owner of RC_Caster) at RC_Offset facing Default building facing degrees
          • Unit - Add a 10.00 second Generic expiration timer to (Last created unit)
          • -------- Makes the summon effects --------
          • Special Effect - Create a special effect at RC_Offset using Abilities\Spells\Other\Volcano\VolcanoDeath.mdl
          • Special Effect - Destroy (Last created special effect)
          • Custom script: call RemoveLocation(udg_RC_Offset)
      • -------- Removes the leaks --------
      • Custom script: call RemoveLocation(udg_RC_Point)
      • -------- ---------------------------- --------
      • -------- ---------------------------- --------
      • -------- Spell by X-OMG-X --------
      • -------- ---------------------------- --------
  • RockcircleDestroy
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Dying unit)) Equal to Dummy (Rockcircle)
    • Actions
      • -------- Sets the point --------
      • Set RC_EffectPoint = (Position of (Dying unit))
      • -------- Creates the effect --------
      • Special Effect - Create a special effect at RC_EffectPoint using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
      • Special Effect - Destroy (Last created special effect)
      • -------- Creates a dummy --------
      • Unit - Create 1 Dummy for (Owner of RC_Caster) at RC_EffectPoint facing Default building facing degrees
      • Unit - Add Rockcircle (Dummy) to (Last created unit)
      • Unit - Order (Last created unit) to Orc Tauren Chieftain - War Stomp
      • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
      • -------- Removes the leaks --------
      • Custom script: call RemoveLocation(udg_RC_EffectPoint)
      • -------- ---------------------------- --------
      • -------- ---------------------------- --------
      • -------- Spell by X-OMG-X --------
      • -------- ---------------------------- --------
  • Entangelious
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Entangelious
    • Actions
      • -------- Setting needed variables --------
      • Set EN_Caster = (Triggering unit)
      • Set EN_Point = (Position of EN_Caster)
      • Set EN_Group = (Units within (((Real((Level of Entangelious for EN_Caster))) x 100.00) + 200.00) of EN_Point matching ((Matching unit) Not equal to EN_Caster))
      • -------- Picking the units --------
      • Unit Group - Pick every unit in EN_Group and do (Actions)
        • Loop - Actions
          • -------- Setting the picked unit --------
          • Set EN_PickedPos = (Position of (Picked unit))
          • -------- Creating dummies and entangles --------
          • Unit - Create 1 Dummy for (Owner of EN_Caster) at EN_PickedPos facing Default building facing degrees
          • Unit - Add Entangelious (Dummy) to (Last created unit)
          • Unit - Set level of Entangelious (Dummy) for (Last created unit) to (Level of Entangelious for EN_Caster)
          • Unit - Order (Last created unit) to Night Elf Keeper Of The Grove - Entangling Roots (Picked unit)
          • Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
      • -------- Removes all leaks --------
      • Custom script: call RemoveLocation(udg_EN_Point)
      • Custom script: call DestroyGroup(udg_EN_Group)
      • -------- ---------------------------- --------
      • -------- ---------------------------- --------
      • -------- Spell by X-OMG-X --------
      • -------- ---------------------------- --------
  • Overgrown
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Overgrown
    • Actions
      • -------- Sets the variables --------
      • Set OV_Caster = (Triggering unit)
      • Set OV_Point = (Position of OV_Caster)
      • For each (Integer OV_Integer) from 1 to 5, do (Actions)
        • Loop - Actions
          • -------- Sets the circle's area --------
          • Set OV_Offset = (OV_Point offset by 200.00 towards ((Real(OV_Integer)) x 72.00) degrees)
          • -------- Creating the dummies and makes them cast their spell --------
          • Unit - Create 1 Dummy for (Owner of OV_Caster) at OV_Offset facing Default building facing degrees
          • Unit - Add Overgrown (Dummy) to (Last created unit)
          • Unit - Set level of Overgrown (Dummy) for (Last created unit) to (Level of Overgrown for OV_Caster)
          • Unit - Order (Last created unit) to Orc Tauren Chieftain - War Stomp
          • -------- Now to the special effects --------
          • Special Effect - Create a special effect at OV_Offset using Objects\Spawnmodels\NightElf\EntBirthTarget\EntBirthTarget.mdl
          • Special Effect - Destroy (Last created special effect)
          • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
          • -------- Removing leaks --------
          • Custom script: call RemoveLocation(udg_OV_Offset)
          • For each (Integer OV_Integer) from 1 to 10, do (Actions)
            • Loop - Actions
              • -------- Making the second circle --------
              • Set OV_Offset = (OV_Point offset by 400.00 towards ((Real(OV_Integer)) x 36.00) degrees)
              • -------- Making the effects for it --------
              • Special Effect - Create a special effect at OV_Offset using Objects\Spawnmodels\NightElf\EntBirthTarget\EntBirthTarget.mdl
              • Special Effect - Destroy (Last created special effect)
              • Custom script: call RemoveLocation(udg_OV_Offset)
      • -------- Removes the leaks --------
      • Custom script: call RemoveLocation(udg_OV_Point)
      • -------- ---------------------------- --------
      • -------- ---------------------------- --------
      • -------- Spell by X-OMG-X --------
      • -------- ---------------------------- --------
  • Flame Wheel
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Flame Wheel
    • Actions
      • Set FW_Caster = (Triggering unit)
      • Set FW_Level = (Level of Flame Wheel for FW_Caster)
      • Set FW_Strength = (Strength of FW_Caster (Include bonuses))
      • Set FW_Integer = (Level of Flame Wheel for FW_Caster)
      • Set FW_Point = (Target point of ability being cast)
      • For each (Integer FW_Integer) from 1 to 20, do (Actions)
        • Loop - Actions
          • -------- Here we set the points in the circle --------
          • Set FW_Offset = (FW_Point offset by 300.00 towards ((Real(FW_Integer)) x 18.00) degrees)
          • -------- Now we create the dummies --------
          • Unit - Create 1 Dummy for (Owner of FW_Caster) at FW_Offset facing Default building facing degrees
          • Unit - Add Flame Wheel (Dummy) to (Last created unit)
          • Unit - Order (Last created unit) to Night Elf Mountain Giant - Taunt
          • -------- And now its time for the effects --------
          • Special Effect - Create a special effect at FW_Offset using Environment\LargeBuildingFire\LargeBuildingFire2.mdl
          • Special Effect - Destroy (Last created special effect)
          • Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
          • -------- Here we pick the units --------
          • Set FW_Group = (Units within 75.00 of FW_Offset matching (((Matching unit) Not equal to FW_Caster) and ((((Matching unit) is alive) Equal to True) and ((((Matching unit) belongs to an enemy of (Owner of FW_Caster)) Equal to True) and ((Percentage life of (Matching unit)) Le
          • Unit Group - Pick every unit in FW_Group and do (Actions)
            • Loop - Actions
              • -------- and we damage --------
              • Unit - Cause FW_Caster to damage (Picked unit), dealing ((Real(FW_Strength)) x (0.50 x (Real(FW_Level)))) damage of attack type Spells and damage type Normal
              • Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Undead\Cripple\CrippleTarget.mdl
              • Special Effect - Destroy (Last created special effect)
          • -------- And now we remove the leaks --------
          • Custom script: call DestroyGroup(udg_FW_Group)
          • Custom script: call RemoveLocation(udg_FW_Offset)
      • Custom script: call RemoveLocation(udg_FW_Point)
      • -------- ---------------------------- --------
      • -------- ---------------------------- --------
      • -------- Spell by X-OMG-X --------
      • -------- ---------------------------- --------
  • Fire Burst
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Fire Burst
    • Actions
      • -------- Starting with setting the variables --------
      • Set FB_Caster = (Triggering unit)
      • Set FB_Point = (Position of FB_Caster)
      • Set FB_Level = (Level of Fire Burst for FB_Caster)
      • -------- We start the spell effect --------
      • For each (Integer FB_Integer) from 1 to ((FB_Level x 2) + 1), do (Actions)
        • Loop - Actions
          • Set FB_Offset = (Random point in (Region centered at FB_Point with size (700.00, 700.00)))
          • -------- We create the dummies --------
          • Unit - Create 1 Dummy for (Owner of FB_Caster) at FB_Offset facing Default building facing degrees
          • Unit - Add Fire Burst (Dummy) to (Last created unit)
          • Unit - Set level of Fire Burst (Dummy) for (Last created unit) to FB_Level
          • Unit - Order (Last created unit) to Neutral Tinker - Cluster Rockets FB_Offset
          • Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
          • -------- And we remove leaks --------
          • Custom script: call RemoveLocation(udg_FB_Offset)
      • Custom script: call RemoveLocation(udg_FB_Point)
      • -------- ---------------------------- --------
      • -------- ---------------------------- --------
      • -------- Spell by X-OMG-X --------
      • -------- ---------------------------- --------
  • Black Hole
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Black Hole
    • Actions
      • -------- Setting variables --------
      • Set BH_Caster = (Triggering unit)
      • Set BH_Position = (Target point of ability being cast)
      • Set BH_Level = (Level of Black Hole for BH_Caster)
      • Set BH_Stats = (Hero level of BH_Caster)
      • Set BH_Range = (300.00 + (100.00 x (Real(BH_Level))))
      • Set BH_Group = (Units within BH_Range of BH_Position matching ((((Matching unit) is alive) Equal to True) and ((((Matching unit) is Mechanical) Equal to False) and (((Matching unit) belongs to an ally of (Owner of BH_Caster)) Equal to False))))
      • Set BH_Units = (Number of units in BH_Group)
      • -------- Creating effects --------
      • Special Effect - Create a special effect at BH_Position using Abilities\Spells\Human\FlameStrike\FlameStrikeTarget.mdl
      • Special Effect - Destroy (Last created special effect)
      • -------- Destroys trees --------
      • Destructible - Pick every destructible within BH_Range of BH_Position and do (Actions)
        • Loop - Actions
          • Destructible - Kill (Last created destructible)
          • Special Effect - Create a special effect at (Position of (Picked destructible)) using Abilities\Spells\Orc\FeralSpirit\feralspiritdone.mdl
          • Special Effect - Destroy (Last created special effect)
      • -------- Starting the loop --------
      • Unit Group - Pick every unit in BH_Group and do (Actions)
        • Loop - Actions
          • Set BH_Caster = (Picked unit)
          • -------- ---------------------------- --------
          • -------- DO NOT EDIT THIS TRIGGER --------
          • Trigger - Turn on Black Hole Loop <gen>
          • -------- DO NOT EDIT THIS TRIGGER --------
          • -------- ---------------------------- --------
      • -------- ---------------------------- --------
      • -------- ---------------------------- --------
      • -------- Spell by X-OMG-X --------
      • -------- ---------------------------- --------
  • Black Hole Loop
    • Events
      • Time - Every 0.07 seconds of game time
    • Conditions
    • Actions
      • -------- ---------------------------- --------
      • -------- DO NOT EDIT THIS TRIGGER --------
      • -------- DO NOT EDIT THIS TRIGGER --------
      • -------- ---------------------------- --------
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Current order of BH_Caster) Not equal to (Order(move))
          • (Current order of BH_Caster) Not equal to (Order(attack))
          • (Current order of BH_Caster) Not equal to (Order(stop))
        • Then - Actions
          • Unit Group - Pick every unit in BH_Group and do (Actions)
            • Loop - Actions
              • Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 4.00 towards (Angle from (Position of (Picked unit)) to BH_Position) degrees)
              • Unit - Pause (Picked unit)
              • For each (Integer BH_Integers) from 1 to BH_Units, do (Actions)
                • Loop - Actions
                  • Unit - Remove All buffs from (Picked unit)
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (((Picked unit) is alive) Equal to True) and ((Integer((Distance between (Position of (Picked unit)) and BH_Position))) Greater than or equal to 90)
                    • Then - Actions
                      • Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Undead\DeathandDecay\DeathandDecayTarget.mdl
                      • Special Effect - Destroy (Last created special effect)
                    • Else - Actions
                      • Unit - Unpause (Picked unit)
                      • Unit - Cause BH_Caster to damage (Picked unit), dealing ((25.00 x (Real(BH_Level))) + (2.00 x (Real(BH_Stats)))) damage of attack type Spells and damage type Normal
                      • Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
                      • Special Effect - Destroy (Last created special effect)
                      • Unit Group - Remove (Picked unit) from BH_Group
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • BH_Units Less than or equal to 0
                    • Then - Actions
                      • Unit - Unpause (Picked unit)
                      • Special Effect - Create a special effect at BH_Position using Abilities\Spells\Undead\Darksummoning\DarkSummonTarget.mdl
                      • Special Effect - Destroy (Last created special effect)
                      • Set BH_Level = 0
                      • Set BH_Stats = 0
                      • Set BH_Range = 0.00
                      • Set BH_Units = 0
                      • Custom script: call RemoveLocation(udg_BH_Position)
                      • Custom script: call DestroyGroup(udg_BH_Group)
                      • Trigger - Turn off (This trigger)
                    • Else - Actions
        • Else - Actions
          • Set BH_Level = 0
          • Set BH_Stats = 0
          • Set BH_Range = 0.00
          • Set BH_Units = 0
          • Custom script: call RemoveLocation(udg_BH_Position)
          • Custom script: call DestroyGroup(udg_BH_Group)
          • Trigger - Turn off (This trigger)
          • -------- ---------------------------- --------
          • -------- DO NOT EDIT THIS TRIGGER --------
          • -------- DO NOT EDIT THIS TRIGGER --------
          • -------- ---------------------------- --------
      • -------- ---------------------------- --------
      • -------- ---------------------------- --------
      • -------- Spell by X-OMG-X --------
      • -------- ---------------------------- --------
  • Sacrificial
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Sacrificial
    • Actions
      • -------- Setting the variables --------
      • Set SA_Caster = (Triggering unit)
      • Set SA_Point = (Position of SA_Caster)
      • Set SA_Level = (Level of Sacrificial for SA_Caster)
      • Set SA_Group = (Units within 400.00 of SA_Point matching ((((Matching unit) is alive) Equal to True) and ((((Matching unit) belongs to an enemy of (Owner of SA_Caster)) Equal to True) and (((Matching unit) is Mechanical) Equal to False))))
      • Set SA_TotalUnits = (Real((Number of units in SA_Group)))
      • -------- Creating special effects --------
      • Special Effect - Create a special effect attached to the origin of (Picked unit) using Objects\Spawnmodels\Undead\UndeadDissipate\UndeadDissipate.mdl
      • Special Effect - Destroy (Last created special effect)
      • -------- Picking the needed units --------
      • Unit Group - Pick every unit in SA_Group and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Percentage life of (Picked unit)) Greater than or equal to 30.00
            • Then - Actions
              • -------- We damage the unit if its life is more than 30% --------
              • Unit - Set life of (Picked unit) to ((Percentage life of (Picked unit)) - (10.00 x (Real(SA_Level))))%
              • Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Undead\DeathandDecay\DeathandDecayTarget.mdl
              • Special Effect - Destroy (Last created special effect)
              • For each (Integer SA_Integer) from 1 to (Integer(SA_TotalUnits)), do (Actions)
                • Loop - Actions
                  • -------- We damage the caster --------
                  • Unit - Set life of SA_Caster to ((Percentage life of SA_Caster) - 2.00)%
                  • Unit - Remove All buffs from SA_Caster
            • Else - Actions
              • -------- We kill the unit if its life is less than 30% --------
              • Unit - Cause SA_Caster to damage (Picked unit), dealing 1000000000.00 damage of attack type Chaos and damage type Normal
              • Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Undead\DeathandDecay\DeathandDecayTarget.mdl
              • Special Effect - Destroy (Last created special effect)
              • For each (Integer SA_Integer) from 1 to (Integer(SA_TotalUnits)), do (Actions)
                • Loop - Actions
                  • -------- We damage the caster --------
                  • Unit - Set life of SA_Caster to ((Percentage life of SA_Caster) - 2.00)%
                  • Unit - Remove Negative buffs considered Magic or physical from SA_Caster (Exclude expiration timers, Exclude auras)
      • -------- Now for the buff --------
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random integer number between 1 and 100) Less than or equal to 40
        • Then - Actions
          • -------- Creating dummy, gives the buff to the caster --------
          • Unit - Create 1 Dummy for (Owner of SA_Caster) at SA_Point facing Default building facing degrees
          • Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
          • Unit - Add Sacrificial (Dummy) to (Last created unit)
          • Unit - Order (Last created unit) to Undead Necromancer - Unholy Frenzy SA_Caster
        • Else - Actions
      • Custom script: call RemoveLocation(udg_SA_Point)
      • Custom script: call DestroyGroup(udg_SA_Group)
      • -------- ---------------------------- --------
      • -------- ---------------------------- --------
      • -------- Spell by X-OMG-X --------
      • -------- ---------------------------- --------

Changelog

Fixed leaks
Fixed a bug
Added better documention
Fixed the rock selection
Made some small changes
Made the whole pack work lol
Added 4 new spells
Fixed a few leaks


Keywords:
X-OMG-X, spell, pack, spellpack, lightning, thunder, electricity, light, holy, holyness, earth, ground, sand, mud, nature, green, forest, fire, flame,
Contents

Spell Pack (Map)

Reviews
Moderator
15:00, 16th Jun 2010 Hanky: I found leaks in some of your trigger. Fix them and I'll approve your spellpack.
  1. The Panda

    The Panda

    Icon Reviewer

    Joined:
    Jun 2, 2008
    Messages:
    7,822
    Resources:
    365
    Icons:
    301
    Packs:
    16
    Maps:
    48
    Resources:
    365
    Nice work man.
     
  2. X-OMG-X

    X-OMG-X

    Joined:
    Nov 10, 2008
    Messages:
    1,940
    Resources:
    16
    Icons:
    1
    Skins:
    3
    Maps:
    2
    Spells:
    8
    Template:
    1
    Tutorials:
    1
    Resources:
    16
    Updated!

    2 new spells is added. The fire spells.

    [EDIT]

    Updated!

    2 new spells is added. The darkness spells.
     
    Last edited: Nov 13, 2009
  3. MortAr

    MortAr

    Joined:
    Feb 25, 2009
    Messages:
    1,765
    Resources:
    7
    Icons:
    6
    Packs:
    1
    Resources:
    7
    • Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 4.00 towards (Angle from (Position of (Picked unit)) to BH_Position) degrees)


    • Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Undead\DeathandDecay\DeathandDecayTarget.mdl


    • Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl


    These leaks

    This thing here:
    • Unit - Set life of SA_Caster to ((Percentage life of SA_Caster) - 2.00)%

    Returns a random percentage of the life (eg. it can hit 100% or 40%), use a different math.

    Since the spellpack contain a recycling trigger for knockback, try to use it for the black hole as well.
     
  4. Sir_Astral

    Sir_Astral

    Joined:
    Jun 22, 2009
    Messages:
    162
    Resources:
    5
    Maps:
    5
    Resources:
    5
    You could mix Lightning with earth and nature, 'cuz it comes almost on same.
     
  5. X-OMG-X

    X-OMG-X

    Joined:
    Nov 10, 2008
    Messages:
    1,940
    Resources:
    16
    Icons:
    1
    Skins:
    3
    Maps:
    2
    Spells:
    8
    Template:
    1
    Tutorials:
    1
    Resources:
    16
    Thanks for all the useful feedback.
    I have fixed the life percentages but i have a few questions.
    First, about the picked units location.
    How do i set up a variable that works for all picked units and not only one?
    And what do i need to do, to make the black hole MUI? I wont use the knockback system, cuz using other peoples systems doesnt improve my works in the future.
     
  6. DevilDuke1995

    DevilDuke1995

    Joined:
    Nov 6, 2009
    Messages:
    246
    Resources:
    0
    Resources:
    0
    man how do u lvlup heroes?

    EDIT: black hole DOESNT destroy trees as it say and u should make sacrificial not to kill caster but to leave him with a minimum amount of hp
     
  7. BlackHawk

    BlackHawk

    Joined:
    Nov 8, 2009
    Messages:
    21
    Resources:
    4
    Spells:
    4
    Resources:
    4
    Well i donĀ“t know what exactly you mean by this
    , but i guess you want to know how you can move each unit individuality with variables, or am i wrong? If i am right you just can set up the position variable for each unit in the loop and remove it in the loop

    example
    • Einheitengruppe - Pick every unit in BH_Group and do (Actions)
      • Schleifen - Aktionen
        • Set Loc_temp[1] = (Position of (Picked unit))
        • Set Loc_temp[2] = (Loc_temp[1] offset by 4.00 towards (Angle from Loc_temp[1] to BH_Position) degrees)
        • Einheit - Move (Picked unit) instantly to Loc_temp[2]
        • Einheit - Pause ein (Picked unit)
        • Custom script: call RemoveLocation(udg_Loc_temp[1])
        • Custom script: call RemoveLocation(udg_Loc_temp[2])
     
  8. shadeye

    shadeye

    Joined:
    May 19, 2009
    Messages:
    23
    Resources:
    0
    Resources:
    0
    Ok spells nice test map i was little like a rpg :p
     
  9. X-OMG-X

    X-OMG-X

    Joined:
    Nov 10, 2008
    Messages:
    1,940
    Resources:
    16
    Icons:
    1
    Skins:
    3
    Maps:
    2
    Spells:
    8
    Template:
    1
    Tutorials:
    1
    Resources:
    16
    Thanks for the feedback. Blackhawk, lol i totally forgot that i could do that :p What i meant by setting up variables for all picked units is 'set variable - (picked unit)' doesnt affact all units but only one unit in the picked units. Anyways i will update later, cuz i have to go to school now (damn school).
     
  10. pippo

    pippo

    Joined:
    Mar 6, 2008
    Messages:
    476
    Resources:
    4
    Icons:
    1
    Skins:
    1
    Spells:
    2
    Resources:
    4
    I haven't got much time atm but there are many leaks...One of it is in Entanglious... It leaks on
    • Set EN_PickedPos = (Position of (Picked unit))
    You have to clear it, too, probably you forgot it
     
  11. MortAr

    MortAr

    Joined:
    Feb 25, 2009
    Messages:
    1,765
    Resources:
    7
    Icons:
    6
    Packs:
    1
    Resources:
    7
    You can use one point veriable into a loop as long as you clear it in the end of the loop.
     
  12. thecheeselover

    thecheeselover

    Joined:
    Sep 18, 2008
    Messages:
    16
    Resources:
    0
    Resources:
    0
    The black hole spell make lagg and leak wc3...
     
  13. Santa_Claus.

    Santa_Claus.

    Joined:
    Jun 22, 2009
    Messages:
    21
    Resources:
    0
    Resources:
    0
    Omg , black hole is LAGGY !!!!!!!!! and people got stuck in the black hole continue to slide even if the spell is finish
     
  14. X-OMG-X

    X-OMG-X

    Joined:
    Nov 10, 2008
    Messages:
    1,940
    Resources:
    16
    Icons:
    1
    Skins:
    3
    Maps:
    2
    Spells:
    8
    Template:
    1
    Tutorials:
    1
    Resources:
    16
    Yea i know there is problems with the black hole spell. Its because its not fully MUI. I dont know how to fix it yet, but will be fixed as soon as possible.
     
  15. kola

    kola

    Joined:
    Sep 11, 2009
    Messages:
    1,534
    Resources:
    121
    Icons:
    115
    Packs:
    2
    Skins:
    1
    Spells:
    3
    Resources:
    121
    huh.. Cast Knockback and Get Knockback arent made by paladon??? cuz it look rly similar

    EDIT: yeah its the same... and u didnt give any credits... isnt that a rule violation?
     
    Last edited: Nov 21, 2009
  16. X-OMG-X

    X-OMG-X

    Joined:
    Nov 10, 2008
    Messages:
    1,940
    Resources:
    16
    Icons:
    1
    Skins:
    3
    Maps:
    2
    Spells:
    8
    Template:
    1
    Tutorials:
    1
    Resources:
    16
    I did give credits.. The knockback triggers is made by Paladon and the black hole triggers is made by me.
     
  17. Piwlady

    Piwlady

    Joined:
    May 31, 2009
    Messages:
    898
    Resources:
    1
    Tutorials:
    1
    Resources:
    1
    I love these spells :) I want to see MORE ^^