How to add an automatic saving throw to an NPC ability
I have a custom NPC I am making in Starfinder. I want to add an ability that will automatically roll a saving throw for the target the way that most spells and some abilities do, and if they fail apply an effect. If possible I'd like it to roll for a duration too. I have no problem setting up attacks, even ones with critical effects, but I can't figure out the syntax necessary to get an attack or offensive ability to initiate a saving throw, much less automatically apply an effect. I've been looking at various NPCs and I can't actually find an example of an NPC ability that automatically rolls the saving throw or applies the effect, so I'm not even sure its possible. I can't find a tutorial on this, but its possible I'm searching the wrong terms. So if there is a well-known tutorial on how to set up NPCs with abilities that automatically apply the right effects I'd love to read/watch it. Possible or not, I appreciate your time and tips on this!