Your npc will tell you "I'm going to ws" (depending on your 'personality' of the npc these words very) @ about 80-90% of their tp, if you have under 100%. Now as soon as you hit 100% they will perform a random ws IF they have tp. If you are sitting at 300 tp the npc will skip the part about he/she having tp and will hold their ws until you ws. Your ws 'triggers' their ws. Your npc will however, immediatly use their tp if they hit 300%. As for the debuffs and the mp's and such, the AI is VERY irritating. My npc says "uh oh running out of magic!" (mp less then 25%~) then he casts dia 2 which is 40 mp instead of 46 mp for cure 3 and he makes the mob unsleepable to boot. All for making an option like the "no aoe ws" option that makes it so your npc doesn't cast debuffs.