Clan FpR

Welcome to Clan FpR
 
HomeHome  PortalPortal  CalendarCalendar  GalleryGallery  FAQFAQ  SearchSearch  RegisterRegister  MemberlistMemberlist  UsergroupsUsergroups  Log in  

Share | 
 

 Flame Circle

Go down 
AuthorMessage
LightburneR
Shaman
Shaman


Number of posts : 35
Registration date : 2007-03-19

PostSubject: Flame Circle   Fri Apr 20, 2007 2:40 am

I'm posting this on request for a friend as well as to get the ball rolling for custom spells =P Here goes....

This spell when you finish casting it, it will create 5 flame strikes around the caster.

Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Flame Circle
Actions
Set Point[1] = ((Position of (Casting unit)) offset by 350.00 towards 0.00 degrees)
Set Point[2] = ((Position of (Casting unit)) offset by 350.00 towards 72.00 degrees)
Set Point[3] = ((Position of (Casting unit)) offset by 350.00 towards 144.00 degrees)
Set Point[4] = ((Position of (Casting unit)) offset by 350.00 towards 216.00 degrees)
Set Point[5] = ((Position of (Casting unit)) offset by 350.00 towards 288.00 degrees)
Unit - Create 1 Dummy Caster for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Point[1]
Unit - Add Flame Strike to (Last created unit)
Unit - Set level of Flame Strike for (Last created unit) to (Level of (Ability being cast) for (Casting unit))
Unit - Order (Last created unit) to Human Blood Mage - Flame Strike Point[1]
Unit - Remove (Last created unit) from the game
Unit - Create 1 Dummy Caster for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Point[2]
Unit - Add Flame Strike to (Last created unit)
Unit - Set level of Flame Strike for (Last created unit) to (Level of (Ability being cast) for (Casting unit))
Unit - Order (Last created unit) to Human Blood Mage - Flame Strike Point[2]
Unit - Remove (Last created unit) from the game
Unit - Create 1 Dummy Caster for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Point[3]
Unit - Add Flame Strike to (Last created unit)
Unit - Set level of Flame Strike for (Last created unit) to (Level of (Ability being cast) for (Casting unit))
Unit - Order (Last created unit) to Human Blood Mage - Flame Strike Point[3]
Unit - Remove (Last created unit) from the game
Unit - Create 1 Dummy Caster for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Point[4]
Unit - Add Flame Strike to (Last created unit)
Unit - Set level of Flame Strike for (Last created unit) to (Level of (Ability being cast) for (Casting unit))
Unit - Order (Last created unit) to Human Blood Mage - Flame Strike Point[4]
Unit - Remove (Last created unit) from the game
Unit - Create 1 Dummy Caster for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Point[5]
Unit - Add Flame Strike to (Last created unit)
Unit - Set level of Flame Strike for (Last created unit) to (Level of (Ability being cast) for (Casting unit))
Unit - Order (Last created unit) to Human Blood Mage - Flame Strike Point[5]
Unit - Remove (Last created unit) from the game
Custom script: call RemoveLocation(udg_Point[1])
Custom script: call RemoveLocation(udg_Point[2])
Custom script: call RemoveLocation(udg_Point[3])
Custom script: call RemoveLocation(udg_Point[4])
Custom script: call RemoveLocation(udg_Point[5])

I hope it works....
Back to top Go down
View user profile
 
Flame Circle
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Clan FpR :: World Editor Zone :: Spells-
Jump to: