MZ Buff & Debuff icons

Hello there,

I have a problem with the VS plugins:

I have a skill (Blessed Weapon) that add buff to the attack for 5 turns. When I apply that, an icon (34 on the iconsheet) appears over the actor layout but it's not the proper Icon for that.
I searched over and over on the various plugins that I have (all by VS) but I can't figure out where I can change it.
No ones of them calls that specified icon.
Not to get into semantics, but that's not Yanfly, that's Visustella. Kind of the same thing, but also kind of not since, for example: I could probably help you with Yanfly since I use MV and use Yanfly's stuff, but I do not own MZ and don't use VS stuff.

I can make assumptions since often VS stuff operates similarly to Yanfly's stuff. For example, the buff could be applied by the buff & state core and uses states to applies buffs, therefore the icon is likely assigned to the state that is applying the buff.
Please note - you are not using any Yanfly plugins.

Everything in your plugin manager is from VisuStella. VisuStella was founded by Yanfly, but the plugins are not written by him and there is a separate engine of plugins by Yanfly for RPG Maker MV.

I Googled your question and found this post:
Not to get into semantics, but that's not Yanfly, that's Visustella. Kind of the same thing, but also kind of not since, for example: I could probably help you with Yanfly since I use MV and use Yanfly's stuff, but I do not own MZ and don't use VS stuff.

I can make assumptions since often VS stuff operates similarly to Yanfly's stuff. For example, the buff could be applied by the buff & state core and uses states to applies buffs, therefore the icon is likely assigned to the state that is applying the buff.
Thank you, It's the first thing I was looking, but it seems it's not there.

Please note - you are not using any Yanfly plugins.

Everything in your plugin manager is from VisuStella. VisuStella was founded by Yanfly, but the plugins are not written by him and there is a separate engine of plugins by Yanfly for RPG Maker MV.

I Googled your question and found this post:
Thank you, but I've already look at that but that Icon it's not there. It's set on "Draw Icons? False", so even if there was that Icon #34 (it's not there), the plugins could not show it.

There is maybe somewhere else where those Icons (for buff and debuff) are showed in the database, maybe?
I'm going crazy for that stupid thing
There is maybe somewhere else where those Icons (for buff and debuff) are showed in the database, maybe?
No. In the default engine, the icons used for buffs and debuffs are hardcoded in. That's why this plugin parameter exists, to give you a way to change them.

I don't know of any way for the buff icon to display differently from just one skill, which is how I read your first post.

Are you sure you're buffing the correct parameter?
Yep, the effect says "Add Buff - Attack - 5 turns".
But in that plugins, for the ATK is set Icon #76, that's why I'm confused.

That Icon #34 is set somewhere else, but I don't know where. I mean, if it is a buff for the attack, normally we should see an icon with a arrow pointed to up with ATK written on it. And if you reapply that buff on that param, there will be two arrows pointed to up.
Actually I've never seen where to enter those icons and how does the engine understand that I have to change it if reapplied.

I mean: where you put those icons in the engine? (see image)
You changed your iconsheet - that is why.

icon 34 is the attack buff icon on the default sheet, and thereby exactly the icon that the engine is supposed to display without any plugins active if you add an ATK buff.
You changed your iconsheet - that is why.

icon 34 is the attack buff icon on the default sheet, and thereby exactly the icon that the engine is supposed to display without any plugins active if you add an ATK buff.
So there is no way to change that without remodeling all the icon file?
I misread the other thread - that was not the correct answer for the buff icons, but for the icons shown in the menu next to parameters.

As far as your buff icons: your MZ came with an iconsheet that has everything in the correct place. You can simply edit that with any icons you want to add or change, leaving those default buff icons in the same place. It's not super complicated GIMP work.

Or you can make a miniature plugin, but I don't know if it will function with your VisuStella plugins.
caethyril posted this in another thread:
Code:
Game_BattlerBase.ICON_BUFF_START = 32;
Game_BattlerBase.ICON_DEBUFF_START = 48;

Copy that into a text editor, save as a *.js, and include as a plugin. Those are the default values. You can change them to whichever index is correct in your modified iconset.

It still expects them to be in the correct order of parameters as found in the original image.
Game_BattlerBase.ICON_BUFF_START = 32; Game_BattlerBase.ICON_DEBUFF_START = 48;
It worked!

Thank you very much!!

Original thread: https://forums.rpgmakerweb.com/threads/buff-debuff-icons.156404/