Instance states [Are they even possible?]

Is it possible to make something similar to Tsukihime's Instance Items, expect with states instead of items?
Or something like this already exists?

For example, a skill hits 3 times and each hit applies a state, after performing it, target will have 3 instances of the same state.

Context:
My project uses states in place of debuffs and buffs for better control (e.g. De/Buffs for parameters) and transparency (player can see that they buffed their ATK by 15% for 2 turns).
All De/Buffs are split into 2 categories and different things can happen depending on category of removed/applied/scanned/whatever state.

I mainly need this kind of a script to make that system as flexible as possible, and to save myself from getting aneurysm caused by having to modify 200+ states each time I want to create a feature.
that is usually called "stackable" states.
And I think there was such a script written for Ace once, but I don't know if it is still available as many Ace-Websites are gone. Have you checked the Ace Master Script List?
This and more can be found in Archeia's repository
I actually know about this stacking script, I tested it some time ago, and it didn't work.

The problem was (and still is) that, while the states DO stack visually i.e.:
Icons pop-up more than once, and each stack has it's own icon.
But not functionally i.e.:
A battler that is affected by 3 stacks of state that sets ATK rate to 90% deals damage as if they were affected only by 1 stack.
This is caused by a compatibility issue, probably. I will check that when I have time.

This script would actually do the work, so I just try to find incompatibility instead of getting something new.
A battler that is affected by 3 stacks of state that sets ATK rate to 90% deals damage as if they were affected only by 1 stack.
I'm curious how did you test this?
What was your method?
What was your expected result?
What was the actual result?
Where did you get the number?
And importantly, how do you draw the conclusion?

A note that if two stacks of the same states that modified the attack by 90%, it means 90% x 90%, it is a multiplier. It isn't going to be 80%, but 81%.
Method:
I created two skills, A and B.
A- applies state on user that sets ATK rate to 90 %
B- Deals damage equal to user's atk (set to 100)

Then I force A three times, then B once. I use a yanfly's battle engine for damage pop-ups.

Expected:
B dealing 73 damage
Got:
B dealing 90 damage

As I said, it works visually, state pops-up three times, and it shows assigned 3rd stack icon.
Okay, the script is incompatible with Yanfly's Passive states.
No need to fix that though, the project can live without this script.

Szibes, please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/instance-states-are-they-even-possible.141744/