MV Adding (De)Buffs with SumRndmDde's Timed Attack

After scouring threads & SumRndmDde, I read there's a way to apply a state (and maybe (de)buff) using the
$gameTemp.tas_power formula. How would I use this in the skill note tag to add a DEF debuff on a perfect timing? I understand the $gameTemp.tas_power >= 1 part, but not where & how to add the state/debuff. Apparently it was discussed in a video that I can't find.
Thanks!

Original thread: https://forums.rpgmakerweb.com/threads/adding-de-buffs-with-sumrndmddes-timed-attack.148375/