• 🏆 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!

JMS's Elemental SpellPack

This bundle is marked as useful / simple. Simplicity is bliss, low effort and/or may contain minor bugs.
This SpellPack Contains 4 Different Type Of Spells : Fire , Ice , Dark , Light.
Light Spells


Angels Strike: Lights Sent From Angels Come Down Randomly In The Targeted Point Dealing 100 Each.

Gift Of The Gods: The Gods Begin Pulling Archadon Up Into The Air Filling Him With Power, Then Unleahes It As He Hits The Ground And Damage Nearby Enemies 200 Dmg.

Magical Rope:A Chain Of Light Flies To The Targeted Point Pushing All Nearby Enemies Near It . When It Arrives To The Targeted Point It Explodes Dealing 150 dmg to nearby Enemies.

Power Strike: Archadon Sends A Ball Of Light Energy That Damage The Target 250 Dmg And Stuns For 5 Sec. And Knockbacks the Target Backwards.

Ice Spells



Cold Rain: Shards Of Ice Fall From The Sky Dealing Each 10 Dmg And Knockbacking All Nearby Enemies. Last 4 Sec.

Freeze: Lanches A Ball Of Ice That Freezes The Target For 3 Seconds And Then The Target Is Stunned For 2 sec.

Ice Cage:A Big Block Of Ice Grows Bigger And Bigger And Finaly Explode Dealing 100 Dmg To Nearby Enemies And Knockbacking Them.

Ice Meteor: A Frozen Meteor Crashes At The Targeted Point Dealing 200 Dmg To Nearby Enemies.

Fire Spells



Fire Burst: Fire Comes Out Of Harfet Dealing Dmg And Ministunning.

Fire Vacuum: All The Enemies Inside The Targeted Point Are Pushed Near Harfet.

Fire Blast: Harfet lunches a rock of Lava Dealing Dmg And Knockback The Target

FlameThrower: Launches Waves Of Fire At the Targeted Point

Dark Spells



Dark Star:Balls Of Negative Energy Are Formed Then Move To The Targeted Pooint Dealing 250 Dmg As The Collapse.

Darkness Lasso:A Rope Of Evil Energy Turn Around The Caster Catching All Nearby Units To It and Dealing dmg.

Evil Aura:
Gives 35% That An Attack Will Deal 50 More Dmg And Knockback The Target.





















Keywords:
Elements,fire,dark,light,ice,gui,mpi,JMS,spellpack
Contents

JMS's Elemental Spell Pack (Map)

Reviews
15:22, 16th Jun 2010 Hanky: Full of leaks and not even MPI or MUI. Before you submit a spell please read at first the spell submission rules.

Moderator

M

Moderator

15:22, 16th Jun 2010
Hanky:
Full of leaks and not even MPI or MUI. Before you submit a spell please read at first the spell submission rules.
 
Lies: "the spells are GUI , MPI" spells aren't MPI at all, all spells supports only one level, they leak every single location, unit group,.. bunch of "do nothing", waits... I could go on but you get the idea.

Anyway badly coded spell pack, I suggest you read some tutorials about triggering(leaks, variables...), and spell uploading rules(level support...).

I vote for rejection until update.

Sorry man, but this is how it is.
 
  • FlameThrower
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to FlameThrower
    • Actions
      • Set FT_Caster = (Casting unit)
      • Set FT_Point[1] = (Position of FT_Caster)
      • Set FT_Point[2] = (Target point of ability being cast)
      • Unit - Pause FT_Caster
      • For each (Integer A) from 1 to 5, do (Actions)
        • Loop - Actions
          • Animation - Play FT_Caster's spell 1 animation
          • Unit - Create 1 Caster Dummy for (Owner of FT_Caster) at FT_Point[1] facing (Facing of FT_Caster) degrees
          • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
          • Unit - Order (Last created unit) to Neutral Pandaren Brewmaster - Breath Of Fire FT_Point[2]
          • Wait 0.10 seconds
          • Unit - Create 1 Caster Dummy for (Owner of FT_Caster) at FT_Point[2] facing (Facing of FT_Caster) degrees
          • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
          • Unit - Order (Last created unit) to Neutral Pandaren Brewmaster - Breath Of Fire (FT_Point[2] offset by 256.00 towards (Facing of FT_Caster) degrees)
          • Wait 0.10 seconds
          • Unit - Create 1 Caster Dummy for (Owner of FT_Caster) at (FT_Point[2] offset by 256.00 towards (Facing of FT_Caster) degrees) facing (Facing of FT_Caster) degrees
          • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
          • Unit - Order (Last created unit) to Neutral Pandaren Brewmaster - Breath Of Fire (FT_Point[2] offset by 500.00 towards (Facing of FT_Caster) degrees)
      • Unit - Unpause FT_Caster
  • Angels Strike Loop
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Special Effect - Create a special effect at AS_Point[2] using Abilities\Spells\Other\Awaken\Awaken.mdl
      • Environment - Create a 1.00 second Temporary crater deformation at AS_Point[2] with radius 300.00 and depth 30.00
      • Unit Group - Pick every unit in (Units within 300.00 of AS_Point[2] matching (((Matching unit) belongs to an enemy of (Owner of AS_Caster)) Equal to True)) and do (Actions)
        • Loop - Actions
          • Unit - Cause AS_Caster to damage (Picked unit), dealing 100.00 damage of attack type Spells and damage type Divine
      • Set AS_Point[2] = (AS_Point[1] offset by (Random real number between 0.00 and 300.00) towards (Random real number between 0.00 and 300.00) degrees)
      • Set AS_Times = (AS_Times + 1.00)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • AS_Times Equal to 6.00
        • Then - Actions
          • Trigger - Turn off (This trigger)
          • Set AS_Times = 0.00
        • Else - Actions
          • Do nothing
You don't get the meaning of MPI don't you? Means that one unit of any player is able to cast this spell at the same time and these spells can't be well they can but they would bug.

I think I said enough.
 
Locations and unit groups.

You set the variables correctly but you don't remove them:

CustonScript: call RemoveLocation(udg_<Your_Loc_Var>) [for points]
CustonScript: call DestroyGroup(udg_<Your_Group_Var>) [for unit groups]

Also you can get this tool http://www.hiveworkshop.com/forums/tools-560/leak-check-1-3-a-62951/ here and It will help you fix the leaks on your map ;)

And it's really simple to use:
copy your trigger in the box, press scan and there it is, it tells you where and how to fix it :)
 
Top