Help using State Tooltip Display Plugin

Hi!

I'm using State Tooltip Display plugin by olivia.
I am wondering a little while using the plugin.
I have succeeded in displaying a description using <Help Description> like this.
bandicam 2020-05-30 07-10-28-082.jpg



And...

qq.png


According to the photo above, there seems to be a description of buffs and debuffs.
However, it seems that there is no explanation on how to use this content.
EX) When using STATE, which increases the attack power and magic attack power by 20%.
Which way should I use or what script should use, that format appear in?
The buff/debuff description is only for param effects added by skills/items, since you cannot add <Help Description> notetag to them.

For states, you have to manually write the effects, i.e.
<Help Description>
Increases ATK and MAT by 20%.
</Help Description>
The buff/debuff description is only for param effects added by skills/items, since you cannot add <Help Description> notetag to them.

For states, you have to manually write the effects, i.e.
<Help Description>
Increases ATK and MAT by 20%.
</Help Description>

Hmm..
If so, why are those plugin parameters?
If I write a buff/debuff in <Help Description>, is it automatically replaced with that format?
No, the format in the plugin parameters only affect these types of buffs/debuffs:

c70bfc49c8fe8c9f5946f1605813217e.png

These are only added by skills and items, by default. State buffs/debuffs are different, so the format will not affect state descriptions in any way.
No, the format in the plugin parameters only affect these types of buffs/debuffs:

c70bfc49c8fe8c9f5946f1605813217e.png

These are only added by skills and items, by default. State buffs/debuffs are different, so the format will not affect state descriptions in any way.

Ah ha...
Can't show the state but can show param buff/debuff !

Then I have to write <Help Description> for a detailed explanation of the state.
ex) ATK + 50%

Thank you to answer.
Ah ha...
Can't show the state but can show param buff/debuff !

Then I have to write <Help Description> for a detailed explanation of the state.
ex) ATK + 50%

Thank you to answer.

Can i one more question?

View attachment 146123

I have set all the parameters here to true.
However, when I hover the mouse cursor over the state in the actor's window at the bottom of the battle, no explanation appears.
If the enemy has the same condition, the explanation will appear properly.

I am using YEP_BattleStatusWindow but it says it is compatible.
No, the format in the plugin parameters only affect these types of buffs/debuffs:

c70bfc49c8fe8c9f5946f1605813217e.png

These are only added by skills and items, by default. State buffs/debuffs are different, so the format will not affect state descriptions in any way.

Oops mistake.


Can i one more question?

123456.png


I have set all the parameters here to true.
However, when I hover the mouse cursor over the state in the actor's window at the bottom of the battle, no explanation appears.
If the enemy has the same condition, the explanation will appear properly.

I am using YEP_BattleStatusWindow but it says it is compatible.
Oops mistake.


Can i one more question?

View attachment 146124

I have set all the parameters here to true.
However, when I hover the mouse cursor over the state in the actor's window at the bottom of the battle, no explanation appears.
If the enemy has the same condition, the explanation will appear properly.

I am using YEP_BattleStatusWindow but it says it is compatible.
I'm not sure, since I don't use that plugin. Can you check:

1) Is Olivia's plugin below Yanfly's?
2) Are you using GALV_MessageBackground? Put that below Olivia's.
3) Turn off all plugins except for Yanfly's core plugins and Olivia's. Does it work?
I'm not sure, since I don't use that plugin. Can you check:

1) Is Olivia's plugin below Yanfly's?
2) Are you using GALV_MessageBackground? Put that below Olivia's.
3) Turn off all plugins except for Yanfly's core plugins and Olivia's. Does it work?

1. yes Olivia's plugin is at the bottom of the plugin list.
2. I'm not using that Plugin.
3. As you said, I've only used the Core engine and Olivia's tooltip plugin, but it's still the same.
Only the enemy's state is displayed with the window, and the actor's state is not displayed when the mouse is over it.
I remembered I made an edit to the plugin to fix an issue with an update function. If you're using the most recent version then you may be having the same issue.

Please open the js file and find this function:

JavaScript:
Window_StateIconTooltip.prototype.updateVisibility = function() {
    visible = !!this.visible;
    this.visible = this._visibilityTimer > 0;
    this._visibilityTimer--;
    if (visible !== this.visible && !!this.visible) {
        this.updateNewData();
    }
};

Change "&& !!this.visible" to "&& !this.visible" (so delete one !). If this doesn't fix it for you then I'm afraid I can't help any further.
I remembered I made an edit to the plugin to fix an issue with an update function. If you're using the most recent version then you may be having the same issue.

Please open the js file and find this function:

JavaScript:
Window_StateIconTooltip.prototype.updateVisibility = function() {
    visible = !!this.visible;
    this.visible = this._visibilityTimer > 0;
    this._visibilityTimer--;
    if (visible !== this.visible && !!this.visible) {
        this.updateNewData();
    }
};

Change "&& !!this.visible" to "&& !this.visible" (so delete one !). If this doesn't fix it for you then I'm afraid I can't help any further.

Window_StateIconTooltip.prototype.updateVisibility = function() {
visible = !!this.visible;
this.visible = this._visibilityTimer > 0;
this._visibilityTimer--;
if (visible !== this.visible && !this.visible) {
this.updateNewData();
}
};

You mean like this right?

do not change " visible = !!this.visible; " to " visible = !this.visible; " this?

only " if (visible !== this.visible && !this.visible) { " this?
Window_StateIconTooltip.prototype.updateVisibility = function() {
visible = !!this.visible;
this.visible = this._visibilityTimer > 0;
this._visibilityTimer--;
if (visible !== this.visible && !this.visible) {
this.updateNewData();
}
};

You mean like this right?

do not change " visible = !!this.visible; " to " visible = !this.visible; " this?

only " if (visible !== this.visible && !this.visible) { " this?

Correct, only change the second one.
Correct, only change the second one.

Thx but still not working.
I am not sure why.... but thanks for the help.

Original thread: https://forums.rpgmakerweb.com/threads/help-using-state-tooltip-display-plugin.122215/