skyblader
You're living only because it's illegal killing.
- Reaction score
- 159
Is there a way to detect current order, and the target unit of the order?
BR Casted
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Bloodrush
Actions
Set BRCaster[GTS_GetIndex] = (Triggering unit)
Set BRTarget[GTS_GetIndex] = (Target unit of ability being cast)
Set GTS_StoreTrigger = BR Damage <gen>
Set BRDuration[GTS_GetIndex] = 15.00
Countdown Timer - Start GTS_NewTimer as a Repeating timer that will expire in 1.00 seconds
Trigger - Run GTS Store <gen> (ignoring conditions)
BR Damage
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current order of BRTarget[GTS_GetIndex]) Not equal to (Order(attack))
Then - Actions
Unit - Cause BRCaster[GTS_GetIndex] to damage BRTarget[GTS_GetIndex], dealing (20.00 + (10.00 x (Real((Level of Bloodrush for BRCaster[GTS_GetIndex]))))) damage of attack type Spells and damage type Normal
Special Effect - Create a special effect attached to the chest of BRTarget[GTS_GetIndex] using Objects\Spawnmodels\Critters\Albatross\CritterBloodAlbatross.mdl
Special Effect - Destroy (Last created special effect)
Else - Actions
Set BRDuration[GTS_GetIndex] = (BRDuration[GTS_GetIndex] - 1.00)