- Joined
- May 3, 2008
- Messages
- 18
Ok, so here's the deal...
Paladin has Holy Light, Divine Shield and Blessing of Kings.
What should happen is next:
* Paladin uses Holy Light (which is an AoE heal) over Divine Shield.
-What should happen is the shield bursting (loosing the buff) and doing AoE damage without healing the Paladin. (This part works).
* Paladin uses Divine Shield, then Blessing of Kings and finally using Holy Light over Divine Shield.
-What should happen now is once again the shield bursting, doing damage, but also healing the Paladin.
(The heal part of this works, but the damage one doesn't).
Variables:
* Boolean_BoKIsUp (boolean)[used for checking has Paladin used Blessing of Kings],
* IntTime_BoK (integer)[used for checking have 7 seconds gone by without using the spells effect]
Triggers I'm using to make this happen:
Paladin has Holy Light, Divine Shield and Blessing of Kings.
What should happen is next:
* Paladin uses Holy Light (which is an AoE heal) over Divine Shield.
-What should happen is the shield bursting (loosing the buff) and doing AoE damage without healing the Paladin. (This part works).
* Paladin uses Divine Shield, then Blessing of Kings and finally using Holy Light over Divine Shield.
-What should happen now is once again the shield bursting, doing damage, but also healing the Paladin.
(The heal part of this works, but the damage one doesn't).
Variables:
* Boolean_BoKIsUp (boolean)[used for checking has Paladin used Blessing of Kings],
* IntTime_BoK (integer)[used for checking have 7 seconds gone by without using the spells effect]
Triggers I'm using to make this happen:
-
Blessing of Kings
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Blessing of Kings [Paladin]
-
-
Actions
-
Set Boolean_BoKIsUp = True
-
Set IntTime_BoK = 0
-
Trigger - Turn on BoK Countdown <gen>
-
-
-
BoK Countdown
-
Events
-
Time - Every 1.00 seconds of game time
-
-
Conditions
-
Actions
-
Set IntTime_BoK = (IntTime_BoK + 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
IntTime_BoK Greater than or equal to 7
-
-
Then - Actions
-
Set Boolean_BoKIsUp = False
-
Trigger - Turn off (This trigger)
-
-
Else - Actions
-
Do nothing
-
-
-
-
-
Holy Light
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Holy Light [Paladin]
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Target unit of ability being cast) has buff Divine Shield) Equal to True
-
Boolean_BoKIsUp Equal to True
-
-
Then - Actions
-
Unit - Remove Divine Shield buff from (Target unit of ability being cast)
-
-------- --------
-
Unit - Create 1 dummy for (Owner of (Casting unit)) at (Target point of ability being cast) facing Default building facing degrees
-
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Unit - Add Holy Light [Heal Effect] to (Last created unit)
-
Unit - Set level of Holy Light [Heal Effect] for (Last created unit) to (Level of Holy Light [Paladin] for (Casting unit))
-
Unit - Order (Last created unit) to Night Elf Keeper Of The Grove - Tranquility
-
-------- --------
-
Unit - Create 1 dummy for (Owner of (Casting unit)) at (Target point of ability being cast) facing Default building facing degrees
-
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Unit - Add Holy Light [Damage Effect] to (Last created unit)
-
Unit - Set level of Holy Light [Damage Effect] for (Last created unit) to (Level of Holy Light [Paladin] for (Casting unit))
-
Unit - Order (Last created unit) to Night Elf Warden - Fan Of Knives
-
-------- --------
-
Set Boolean_BoKIsUp = False
-
Trigger - Turn off BoK Countdown <gen>
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Target unit of ability being cast) has buff Divine Shield) Equal to True
-
-
Then - Actions
-
Unit - Remove Divine Shield buff from (Target unit of ability being cast)
-
Unit - Create 1 dummy for (Owner of (Casting unit)) at (Target point of ability being cast) facing Default building facing degrees
-
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Unit - Add Holy Light [Damage Effect] to (Last created unit)
-
Unit - Set level of Holy Light [Damage Effect] for (Last created unit) to (Level of Holy Light [Paladin] for (Casting unit))
-
Unit - Order (Last created unit) to Night Elf Warden - Fan Of Knives
-
-
Else - Actions
-
Unit - Create 1 dummy for (Owner of (Casting unit)) at (Target point of ability being cast) facing Default building facing degrees
-
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Unit - Add Holy Light [Heal Effect] to (Last created unit)
-
Unit - Set level of Holy Light [Heal Effect] for (Last created unit) to (Level of Holy Light [Paladin] for (Casting unit))
-
Unit - Order (Last created unit) to Night Elf Keeper Of The Grove - Tranquility
-
-
-
-
-
-