Spell Kael's Fury

hell_knight

Playing WoW
Reaction score
126
Kael's Fury
KaelsFury.jpg


JASS = No
MUI = No
Leaks = Not that I know of.

Kael's Fury

3 Levels

Unleashes the wrath of Kael upon his enemies.Creates a Phoenix that will scorch Kael's enemies. Upon its death it will explode creating chaos.

Code:
Kaels Wrath
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Kael's (W)rath 
    Actions
        Wait 0.25 seconds
        Set KCaster = (Casting unit)
        Set KCasterPoint = (Position of KCaster)
        Set KTargetPoint = (Target point of ability being cast)
        Set KPoint1 = (KCasterPoint offset by 150.00 towards (Angle from KCasterPoint to KTargetPoint) degrees)
        Unit - Create 1 DUMMY (Phoenix) for (Owner of KCaster) at KPoint1 facing (Angle from KCasterPoint to KTargetPoint) degrees
        Unit - Set level of Phoenix Fire  for KPhoenix to (Level of Kael's (W)rath  for KCaster)
        Set KPhoenix = (Last created unit)
        Set KPoint2 = (KCasterPoint offset by 1000.00 towards (Angle from KCasterPoint to KTargetPoint) degrees)
        Unit - Order KPhoenix to Move To KPoint2
        Unit - Add a 1.90 second Generic expiration timer to KPhoenix
        Trigger - Turn on PhoenixEffects <gen>
        Wait 1.90 seconds
        Trigger - Turn off PhoenixEffects <gen>
        Wait 0.25 seconds
        For each (Integer A) from 1 to 18, do (Actions)
            Loop - Actions
                Set KPoint3 = (KPoint2 offset by 150.00 towards (20.00 x (Real((Integer A)))) degrees)
                Unit - Create 1 DUMMY (Explosion) for (Owner of KCaster) at KPoint3 facing Default building facing degrees
                Unit - Set level of Kaboom! (Goblin Sapper) for KPhoenix to (Level of Kael's (W)rath  for KCaster)
                Unit - Kill (Last created unit)
                Custom script:   call RemoveLocation (udg_KPoint3)
        Wait 0.25 seconds
        For each (Integer A) from 1 to 18, do (Actions)
            Loop - Actions
                Set KPoint3 = (KPoint2 offset by 300.00 towards (20.00 x (Real((Integer A)))) degrees)
                Unit - Create 1 DUMMY (Explosion) for (Owner of KCaster) at KPoint3 facing Default building facing degrees
                Unit - Set level of Kaboom! (Goblin Sapper) for KPhoenix to (Level of Kael's (W)rath  for KCaster)
                Unit - Kill (Last created unit)
                Custom script:   call RemoveLocation (udg_KPoint3)
        Wait 0.25 seconds
        For each (Integer A) from 1 to 18, do (Actions)
            Loop - Actions
                Set KPoint3 = (KPoint2 offset by 450.00 towards (20.00 x (Real((Integer A)))) degrees)
                Unit - Create 1 DUMMY (Explosion) for (Owner of KCaster) at KPoint3 facing Default building facing degrees
                Unit - Set level of Kaboom! (Goblin Sapper) for KPhoenix to (Level of Kael's (W)rath  for KCaster)
                Unit - Kill (Last created unit)
                Custom script:   call RemoveLocation (udg_KPoint3)
        -------- If it is STILL too large delete the above --------
        Wait 0.25 seconds
        For each (Integer A) from 1 to 18, do (Actions)
            Loop - Actions
                Set KPoint3 = (KPoint2 offset by 650.00 towards (20.00 x (Real((Integer A)))) degrees)
                Unit - Create 1 DUMMY (Explosion) for (Owner of KCaster) at KPoint3 facing Default building facing degrees
                Unit - Set level of Kaboom! (Goblin Sapper) for KPhoenix to (Level of Kael's (W)rath  for KCaster)
                Unit - Kill (Last created unit)
                Custom script:   call RemoveLocation (udg_KPoint3)
        -------- If the AoE is too large delete the above --------
        Custom script:   call RemoveLocation (udg_KCasterPoint)
        Custom script:   call RemoveLocation (udg_KTargetPoint)
        Custom script:   call RemoveLocation (udg_KPoint1)
        Custom script:   call RemoveLocation (udg_KPoint2)

Code:
PhoenixEffects
    Events
        Time - Every 0.10 seconds of game time
    Conditions
    Actions
        Set KPhoenixPoint = (Position of KPhoenix)
        Special Effect - Create a special effect at KPhoenixPoint using Abilities\Spells\Other\Incinerate\FireLordDeathExplode.mdl
        Special Effect - Destroy (Last created special effect)
        Custom script:   call RemoveLocation (udg_KPhoenixPoint)

___________________________________________________________________
As usual I got bored so I made a spell.

To import it to your map, Copy all the triggers in the Spells Folders. Then you need to copy all the dummy units. After you copy their skills, everyone one is needed.

If you want to alter the spell a bit ( Yes I know its imba :shades: )
all the damage values can be changed through the units spells. The damage of the explosions = Goblin Sapper and the phoenix = phoenix fire.
To reduce the AoE I have put comments in the code that tells you which ones to delete.

 

Syndrome

You can change this now in User CP.
Reaction score
126
OH GAWD! MY EYES! THEY BURN!
OMG! YOUR FONT! IT BURNS!

on topic:
Wow, lots of [really red and flashy and seizure inducing...] eyecandy! well made. A bit messy though, the ccoding
 

RedRage

New Member
Reaction score
7
The Spoilers don't work
And why not just use two integer loops instead of repeating the same trigger over again?
Integer loop a
Integer loop b
*Edit*
Oh and nice spell
 

hell_knight

Playing WoW
Reaction score
126
Geoff I like lots of eye candy, and the coding thats how my brain works it might look like mess to you but its not to me I get confused at other peoples coding sometimes too =D
Did you look ingame or just the screenie?
@ RedRage

I was using firefox eariler and the spoilers did not work, Im using the normal internet browser and they do work.
Makes it easier to configure, if you want to decrease AoE.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top