Condition 1
If the spell which went into effect was [A0I6] ...
Condition 2
Is a living enemy non-dummy non-structure non-ancient (except Spirit Bear) unit that does not have the [Bcyc] or [B008] buffs ...
Condition 3
If this function was not called because a unit was issued a target order, a unit was issued a point order or a unit was issued an order with no target ...
Condition 4
If the triggering unit is in Group1 , is not sleeping and does not have the [B008] buff and the order ID was not 851973 ...