I_RULE_YOU
New Member
- Reaction score
- 34
Thx. If you get to it, theres 7 levels. Level 1 deals/heals 100 damage, level 2 deals/heals 200, ect. Thankk
Twilight Hammer
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Twilight's Hammer
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Twilight's Hammer for (Triggering unit)) Equal to 1
Then - Actions
Unit - Set the custom value of (Casting unit) to 1
Unit - Create 1 Twilight's Hammer Dummy for (Owner of (Casting unit)) at ((Position of (Casting unit)) offset by 10.00 towards (Facing of (Casting unit)) degrees) facing (Facing of (Casting unit)) degrees
Unit - Order (Last created unit) to Move To (Target point of ability being cast)
Unit - Turn collision for (Last created unit) Off
Trigger - Add to Slide Check <gen> the event (Unit - A unit comes within 150.00 of (Last created unit))
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Twilight's Hammer for (Triggering unit)) Equal to 2
Then - Actions
Unit - Set the custom value of (Casting unit) to 1
Unit - Create 1 Twilight's Hammer Dummy for (Owner of (Casting unit)) at ((Position of (Casting unit)) offset by 10.00 towards (Facing of (Casting unit)) degrees) facing (Facing of (Casting unit)) degrees
Unit - Order (Last created unit) to Move To (Target point of ability being cast)
Unit - Turn collision for (Last created unit) Off
Trigger - Add to Slide Check 2 <gen> the event (Unit - A unit comes within 150.00 of (Last created unit))
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Twilight's Hammer for (Triggering unit)) Equal to 3
Then - Actions
Unit - Set the custom value of (Casting unit) to 1
Unit - Create 1 Twilight's Hammer Dummy for (Owner of (Casting unit)) at ((Position of (Casting unit)) offset by 10.00 towards (Facing of (Casting unit)) degrees) facing (Facing of (Casting unit)) degrees
Unit - Order (Last created unit) to Move To (Target point of ability being cast)
Unit - Turn collision for (Last created unit) Off
Trigger - Add to Slide Check 3 <gen> the event (Unit - A unit comes within 150.00 of (Last created unit))
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Twilight's Hammer for (Triggering unit)) Equal to 4
Then - Actions
Unit - Set the custom value of (Casting unit) to 1
Unit - Create 1 Twilight's Hammer Dummy for (Owner of (Casting unit)) at ((Position of (Casting unit)) offset by 10.00 towards (Facing of (Casting unit)) degrees) facing (Facing of (Casting unit)) degrees
Unit - Order (Last created unit) to Move To (Target point of ability being cast)
Unit - Turn collision for (Last created unit) Off
Trigger - Add to Slide Check 4 <gen> the event (Unit - A unit comes within 150.00 of (Last created unit))
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Twilight's Hammer for (Triggering unit)) Equal to 5
Then - Actions
Unit - Set the custom value of (Casting unit) to 1
Unit - Create 1 Twilight's Hammer Dummy for (Owner of (Casting unit)) at ((Position of (Casting unit)) offset by 10.00 towards (Facing of (Casting unit)) degrees) facing (Facing of (Casting unit)) degrees
Unit - Order (Last created unit) to Move To (Target point of ability being cast)
Unit - Turn collision for (Last created unit) Off
Trigger - Add to Slide Check 5 <gen> the event (Unit - A unit comes within 150.00 of (Last created unit))
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Twilight's Hammer for (Triggering unit)) Equal to 6
Then - Actions
Unit - Set the custom value of (Casting unit) to 1
Unit - Create 1 Twilight's Hammer Dummy for (Owner of (Casting unit)) at ((Position of (Casting unit)) offset by 10.00 towards (Facing of (Casting unit)) degrees) facing (Facing of (Casting unit)) degrees
Unit - Order (Last created unit) to Move To (Target point of ability being cast)
Unit - Turn collision for (Last created unit) Off
Trigger - Add to Slide Check 6 <gen> the event (Unit - A unit comes within 150.00 of (Last created unit))
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Twilight's Hammer for (Triggering unit)) Equal to 7
Then - Actions
Unit - Set the custom value of (Casting unit) to 1
Unit - Create 1 Twilight's Hammer Dummy for (Owner of (Casting unit)) at ((Position of (Casting unit)) offset by 10.00 towards (Facing of (Casting unit)) degrees) facing (Facing of (Casting unit)) degrees
Unit - Order (Last created unit) to Move To (Target point of ability being cast)
Unit - Turn collision for (Last created unit) Off
Trigger - Add to Slide Check 7 <gen> the event (Unit - A unit comes within 150.00 of (Last created unit))
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
Else - Actions
Slide Check
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) is Undead) Equal to True
((Triggering unit) belongs to an ally of (Owner of (Random unit from (Units within 200.00 of (Position of (Triggering unit)) matching ((Unit-type of (Matching unit)) Equal to Twilight's Hammer Dummy))))) Equal to False
Then - Actions
Unit - Cause (Random unit from (Units within 300.00 of (Position of (Triggering unit)) matching ((Unit-type of (Matching unit)) Equal to Twilight's Hammer Dummy))) to damage (Triggering unit), dealing 100.00 damage of attack type Spells and damage type Normal
Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
Special Effect - Destroy (Last created special effect)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) is Undead) Equal to False
((Triggering unit) belongs to an enemy of (Owner of (Random unit from (Units within 200.00 of (Position of (Triggering unit)) matching ((Unit-type of (Matching unit)) Equal to Twilight's Hammer Dummy))))) Equal to False
Then - Actions
Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) + 100.00)
Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
Special Effect - Destroy (Last created special effect)
Else - Actions
Twilight Hammer
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Twilight's Hammer
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Twilight's Hammer for (Triggering unit)) [B]Greater than to 0[/B]
Then - Actions
Unit - Set the custom value of (Triggering unit) to [B]Level of Twilight's Hammer for (Triggering unit)[/B]
Unit - Create 1 Twilight's Hammer Dummy for (Owner of ([B]Triggering[/B] unit)) at ((Position of ([B]Triggering[/B] unit)) offset by 10.00 towards (Facing of ([B]Triggering unit[/B])) degrees) facing (Facing of ([B]Triggering[/B] unit)) degrees
Unit - Order (Last created unit) to Move To (Target point of ability being cast)
Unit - Turn collision for (Last created unit) Off
Trigger - Add to Slide Check <gen> the event (Unit - A unit comes within 150.00 of (Last created unit))
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
Else - Actions
Slide Check
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) is Undead) Equal to True
((Triggering unit) belongs to an ally of (Owner of (Random unit from (Units within 200.00 of (Position of (Triggering unit)) matching ((Unit-type of (Matching unit)) Equal to Twilight's Hammer Dummy))))) Equal to False
Then - Actions
Unit - Cause (Random unit from (Units within 300.00 of (Position of (Triggering unit)) matching ((Unit-type of (Matching unit)) Equal to Twilight's Hammer Dummy))) to damage (Triggering unit), dealing [B](100.00 x Real Level of Twilight's Hammer for Triggering unit)[/B] damage of attack type Spells and damage type Normal
Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
Special Effect - Destroy (Last created special effect)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) is Undead) Equal to False
((Triggering unit) belongs to an enemy of (Owner of (Random unit from (Units within 200.00 of (Position of (Triggering unit)) matching ((Unit-type of (Matching unit)) Equal to Twilight's Hammer Dummy))))) Equal to False
Then - Actions
Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) + [B](100.00 x Real Level of Twilight's Hammer for Triggering unit)[/B]
Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
Special Effect - Destroy (Last created special effect)
Else - Actions