I had some code from a few MV games I worked on that I threw into MZ. Normally that plan seems to work just fine... except not this time for some reason.
In essence, I have a passive state (via VisuMZ_1_SkillsStatesCore; used to apply it via YEP_BuffsStatesCore back in MV) applied to actors and enemies alike that checks through the elements of the skill in question (I typically apply two elements to every attack, though one is more "damage type" and isn't checked while the other is), and if the target is weak to one of the skill's elements, it applies a state. Except I can't make this happen if I can't check the skill's elements, and I can't check the skill's elements because apparently this.getItemElements() doesn't do anything anymore.
Anyone have any idea what's happening here? Is there a viable workaround? I'm very curious to know what the issue is, though my best guess is that this.getItemElements() is a Yanfly function or something that never carried over. Or got renamed?
In essence, I have a passive state (via VisuMZ_1_SkillsStatesCore; used to apply it via YEP_BuffsStatesCore back in MV) applied to actors and enemies alike that checks through the elements of the skill in question (I typically apply two elements to every attack, though one is more "damage type" and isn't checked while the other is), and if the target is weak to one of the skill's elements, it applies a state. Except I can't make this happen if I can't check the skill's elements, and I can't check the skill's elements because apparently this.getItemElements() doesn't do anything anymore.
Anyone have any idea what's happening here? Is there a viable workaround? I'm very curious to know what the issue is, though my best guess is that this.getItemElements() is a Yanfly function or something that never carried over. Or got renamed?