MZ Unknown Visustella Plugin Item Scene has Messed-Up Icons

Greetings,

I am having an issue with an at the moment unknown area of the visustella plugins.

When I have an item in game that, on use, removes a debuff to a parameter, the plugin shows on the item scene a description of that item and indicates the debuff to be removed. However, the icons it is calling for the debuff to be removed are incorrect. Specifically, when I have an item that removes a Defense parameter debuff, visustella is drawing the debuff icon for Max HP.

My icon sheet, while expanded vertically, is working perfectly fine in other scenes. When I apply a Defense parameter debuff in the battle scene, the correct icon is called (a Defense down icon). It is only in the visustella expanded item scene rectangles that the incorrect icon is being drawn for the debuff.

I'll post a couple of pictures here to help illustrate the issue:

rootwarden pic error.png
(In this image within the item scene, you can see that it is saying Removes - MHP debuff)

rootwarden database.png

(This is the database effect for the Rootwarden item. In the database you can see that the item is set to remove a Defense debuff)


I have tried googling and researching but I have been unable to locate any thread with the same issue that I am having. If there is anyone that can provide assistance, it would be greatly appreciated.

Edit: I have tested further and it appears the removal of any debuff simply shows the removal of a MHP debuff, regardless of the parameter debuff removed. So it looks like the itemequips plugin (which i believe is the plugin creating the icon) is simply set up to always show that specific icon for any removal of a debuffed parameter.

Edit 2: Upon further testing, it seems that skills also have this issue within visustella, but ONLY for debuffs. If I create a skill that provides an Attack buff, the correct buff icon is displayed. However, if I create a skill with any parameter debuff removal, it will always show the icon for MaxHP.

Any help fixing the scenes so the correct debuff icons are displayed would be greatly appreciated.

Thank you in advance 🙂,

-Niniann
Looking at the base code for buff/debuff
1688948125190.png

correlates to:
1688948171120.png
1688948182151.png

which then is used to create the icon index:
1688948247578.png


VS shop status seems to draw icons based on the buff index, but whatever code is being used to call the icons, may be starting at zero index and adding 1 per buff/debuff removed instead of using the actual dataid.

1688950404983.png

1688950464805.png


I would suggest submitting a bug report http://www.yanfly.moe/wiki/Troubles...n_empty_project_and_try_only_the_plugin_there.

Original thread: https://forums.rpgmakerweb.com/threads/unknown-visustella-plugin-item-scene-has-messed-up-icons.159111/