Hello everyone,
I have encountered a little problem with HIME's "Placeholder State" plugin, and I simply can't figure it out.
Here's the situation:
I have a Regeneration skill, which is suposed to be stackable once.
To accomplish that, I used the mentioned plugin.
I created three states:
Regen1 (ID23) that gives 10% HP Regen
Regen2 (ID56) that gives 20% HP Regen
RegenX that is a placeholder state that applies Regen1 or, if the character is already affected by it, Regen2 instead. As a placeholder, it lasts for merely one action.
The Regeneration skill applies the RegenX state at 100% rate.
I did the same for Poison, so I have Poison1 (ID4) and Poison2 (ID55), as well as the placeholder state PoisonX.
Regeneration and Poison are supposed to cancel each other out, so RegenX can also remove a "stack" of Poison, and vice versa.
Therefore the note tag of RegenX looks like this:
PoisonX looks just like it, but with swapped stateIDs, of course.
PoisonX is working like a charm.
Applying RegenX crashes the game with a "TypeError: cannot read property 'autoRemovalTiming' of undefined.
I narrowed the problem down to the scope of the Regeneration skill…
It is supposed to be the user or an ally. This causes the crash.
If I change the scope to enemy, it works fine, just like the skill applying PoisonX does.
For both placeholder states, the Auto Removal Timing is Action End, 1~1 Turns.
I changed all the numbers around in this section, but to no avail, the problem really seems to lie with the scope.
Does anybody out there have an idea how to address this issue?
Do I have to change something in the note tag? Or how can I define the undefined? :distrust:
Or do you know a different way to achieve the desired effect, so I can circumvent the issue?
Thanks in advance for your feedback!
PS: I'm also using Yanfly's Target Core and Selection Control plugins, but they don't seem to be the problem, as the crash also occurs when I turn these plugins off. And I wouldn't know that any of the other plugins interfere with targeting...
I have encountered a little problem with HIME's "Placeholder State" plugin, and I simply can't figure it out.
Here's the situation:
I have a Regeneration skill, which is suposed to be stackable once.
To accomplish that, I used the mentioned plugin.
I created three states:
Regen1 (ID23) that gives 10% HP Regen
Regen2 (ID56) that gives 20% HP Regen
RegenX that is a placeholder state that applies Regen1 or, if the character is already affected by it, Regen2 instead. As a placeholder, it lasts for merely one action.
The Regeneration skill applies the RegenX state at 100% rate.
I did the same for Poison, so I have Poison1 (ID4) and Poison2 (ID55), as well as the placeholder state PoisonX.
Regeneration and Poison are supposed to cancel each other out, so RegenX can also remove a "stack" of Poison, and vice versa.
Therefore the note tag of RegenX looks like this:
PoisonX looks just like it, but with swapped stateIDs, of course.
PoisonX is working like a charm.
Applying RegenX crashes the game with a "TypeError: cannot read property 'autoRemovalTiming' of undefined.
I narrowed the problem down to the scope of the Regeneration skill…
It is supposed to be the user or an ally. This causes the crash.
If I change the scope to enemy, it works fine, just like the skill applying PoisonX does.
For both placeholder states, the Auto Removal Timing is Action End, 1~1 Turns.
I changed all the numbers around in this section, but to no avail, the problem really seems to lie with the scope.
Does anybody out there have an idea how to address this issue?
Do I have to change something in the note tag? Or how can I define the undefined? :distrust:
Or do you know a different way to achieve the desired effect, so I can circumvent the issue?
Thanks in advance for your feedback!
PS: I'm also using Yanfly's Target Core and Selection Control plugins, but they don't seem to be the problem, as the crash also occurs when I turn these plugins off. And I wouldn't know that any of the other plugins interfere with targeting...
