Hi guys, while developing my game i noticed that yanfly's libra skill works great, but doesn't shows to the player the status resistences from enemies. I would like to fix that. But i can't.
I've been searching through the code to find the way to check enemies status resiscences, and i found this method: target.stateResistSet();
This returns an array with all id's an enemie can resist.
Now, i need to change that id to text and just show it, but here is where i cant continue.
Ive used $dataStates on the debug console and ive saw its content, which is an Object array that contains all status in the game.
Using on console $dataStates[id].name, the console returns the name of that status, but when I use it on the skill, the game crashes.
Can some1 to help me on this?
I've been searching through the code to find the way to check enemies status resiscences, and i found this method: target.stateResistSet();
This returns an array with all id's an enemie can resist.
Now, i need to change that id to text and just show it, but here is where i cant continue.
Ive used $dataStates on the debug console and ive saw its content, which is an Object array that contains all status in the game.
Using on console $dataStates[id].name, the console returns the name of that status, but when I use it on the skill, the game crashes.
Can some1 to help me on this?