- Joined
- Mar 3, 2009
- Messages
- 327
Alrighty, i'm making a few spells and I see NOTHING wrong with them. Can someone please help me out here?
Thanks all!
-
Fireball
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
(Ability being cast) Equal to Fireball Q
-
(Ability being cast) Equal to Fireball W
-
(Ability being cast) Equal to Fireball E
-
(Ability being cast) Equal to Fireball R
-
-
-
-
Actions
-
-------- Base damage --------
-
Set Tempreal2 = 0.00
-
-------- Int multiplier --------
-
Set Tempreal = 2.50
-
-------- ---------------- --------
-
Set Temppoint[0] = (Position of (Triggering unit))
-
Unit - Create 1 Dummy for (Owner of (Triggering unit)) at Temppoint[0] facing Default building facing degrees
-
Unit - Add Fireball SFX to (Last created unit)
-
Unit - Order (Last created unit) to Neutral Pandaren Brewmaster - Drunken Haze (Target unit of ability being cast)
-
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (((Real((Intelligence of (Triggering unit) (Include bonuses)))) x Tempreal) + Tempreal2) damage of attack type Spells and damage type Normal
-
Custom script: call RemoveLocation(udg_Temppoint[0])
-
-
-
Fireball2
-
Events
-
Unit - A unit Is attacked
-
-
Conditions
-
(Unit-type of (Attacking unit)) Equal to Warlock
-
Or - Any (Conditions) are true
-
Conditions
-
(Level of Fireball Q for (Attacked unit)) Not equal to 0
-
(Level of Fireball W for (Attacking unit)) Not equal to 0
-
(Level of Fireball E for (Attacking unit)) Not equal to 0
-
(Level of Fireball R for (Attacking unit)) Not equal to 0
-
-
-
-
Actions
-
-------- Chance --------
-
Set Tempint = 1
-
-------- Base damage --------
-
Set Tempreal2 = 0.00
-
-------- Int multiplier --------
-
Set Tempreal = 2.50
-
-------- ---------------- --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Random integer number between 1 and Tempint) Equal to 1
-
-
Then - Actions
-
Set Temppoint[0] = (Position of (Attacking unit))
-
Unit - Create 1 Dummy for (Owner of (Attacking unit)) at Temppoint[0] facing Default building facing degrees
-
Unit - Add Fireball SFX to (Last created unit)
-
Unit - Order (Last created unit) to Neutral Pandaren Brewmaster - Drunken Haze (Triggering unit)
-
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Unit - Cause (Attacking unit) to damage (Triggering unit), dealing (((Real((Intelligence of (Attacking unit) (Include bonuses)))) x Tempreal) + Tempreal2) damage of attack type Spells and damage type Normal
-
Custom script: call RemoveLocation(udg_Temppoint[0])
-
-
Else - Actions
-
-
-
Thanks all!
Last edited: