Can't seem to find this. The notetag
As passive states can be stackable, how can I add a state as a passive state in Javascript? For example, I need to add two of the same passive state on an actor.
Edit: Seems like when using a notetag to add a passive state, state IDs of the passive state will be added to
Should I just create a function to add state IDs to this array? Will this create problems?
<Passive State: x> can add a passive state on an actor, skill, etc.As passive states can be stackable, how can I add a state as a passive state in Javascript? For example, I need to add two of the same passive state on an actor.
Edit: Seems like when using a notetag to add a passive state, state IDs of the passive state will be added to
$gameActors.actor(actorID)._cache.passiveStates array.Should I just create a function to add state IDs to this array? Will this create problems?