Hello, dear community!
I have an idea to make an item that applies an effect of “Delayed death” on NPCs. I’m planning to include some missions where the main character should kill different bad (burglars, murderers and etc.) NPCs especially in “Side quests”. For example, the hero comes to the village to kill the burglar, enters the NPC’s house, and leaves an item there in a pointed place. In several days, the job will be done and the quest will be completed.
Or it can be a special love poison to make someone to fall in love with someone. Why not?
So… In any case, I know that it should be a Common event, BUT there will be plenty of NPCs. Is it possible to write a script, which will include the necessary effect in one line of code for ALL NPCs? And if it’s possible, will somebody help me to do it, because my level in JavaScript is the lowest.
I will appreciate all your help, advices or solutions of my problem.
Thank you.
I have an idea to make an item that applies an effect of “Delayed death” on NPCs. I’m planning to include some missions where the main character should kill different bad (burglars, murderers and etc.) NPCs especially in “Side quests”. For example, the hero comes to the village to kill the burglar, enters the NPC’s house, and leaves an item there in a pointed place. In several days, the job will be done and the quest will be completed.
Or it can be a special love poison to make someone to fall in love with someone. Why not?
So… In any case, I know that it should be a Common event, BUT there will be plenty of NPCs. Is it possible to write a script, which will include the necessary effect in one line of code for ALL NPCs? And if it’s possible, will somebody help me to do it, because my level in JavaScript is the lowest.

I will appreciate all your help, advices or solutions of my problem.
Thank you.