Tough luck, defend doesn't use a buff or anything like that. The best you can do is create a special effect on the unit when it's ordered to defend, attach it to the unit and when a unit is ordered to undefend get the attached effect (if it has any, sometimes undefend orders are issued when a unit dies/decays regardless of whether it was defending) and destroy and unattach it. You could also use a passive ability to display the effect, that saves you the trouble of attaching the effect to the unit. |