Very cool plugin. Sadly inst very CTB friendly. (And a bug in main menu :/)
![]()
var numTurns = Math.ceil(this.turns());
Edit: I have personally just changed this in the plugin itself, so I don't need to add a whole custom bit for each state, line 977 changed from:
var numTurns = this.turns();
to:
var numTurns = Math.ceil(this.turns());
I've tested with Yanfly's CTB and used Math.ceil to round off the number as @Halrawk suggested (thank you).
I've also tested with Mog_MenuBackground @lokirafael and didn't run into any issues.
I tested adding a buff to an actor before battle and didn't run into any issues there either.
https://raw.githubusercontent.com/DreamXRMMV/Rpg-Maker-MV/master/DreamX_BattlerSpriteIcons.js
1.6b Working with buff outiside of battle now.
Mog_menubackground when active don't show the tooltip, when I turn off works. (No big deal since I'll use it more inside battle).
Also theres something odd in CTB: The icons are add & removed only when the turn is up. (Nothing game break).
Thanks for the update.
[IMG]http://puu.sh/q3rqd/dd78666150.jpg[/IMG]
Thank you for improving over and over the plugin.
You're welcome, thanks for your help/idea too.
I also updated the plugin just now where you choose the color tones for the tooltip window if you want. You can also choose to add a y value to the tooltip window so you can raise/lower it. Another bug fix too that should hopefully fix more tooltips appearing/disappearing when they shouldn't be
I have a question. If I turn the option Show Buff Rate on Yanfly_BuffStageManager it will show the rate of buff/debuff on the tooltip but will also show in the icon (and get very messy). Theres a way to show only in the tooltip?
Hey DreamX,
I am having an issue getting the tooltips to show up. I have your plugin placed below YEP BuffsStatesCore and I was sure to enable tooltips in your plugin's parameters. However, after setting up <DXBSI_Description: "Unit takes damage each turn."> in the note section of a state, and after that trying with the custom description and javascript, no tooltip showed up when hovering over the state icon or clicking on it when it was over an enemy or an ally. I tried a bunch of random stuff too trying to get something to show up but it just won't. The other parts of the plugin work, like the icon limit and separating good and bad states. Not sure what to do from here.
Bug: When using Yanflys action sequences and a jump or float animation is excecuted, the states will not float with the battler.
Yanfly fixed this in his buffs states core, but in this plugin here, the bug still persists.
I don't really use action sequences, so can you give me an example to use so I can test?
Since I am not able to reproduce the problem, start a new project and recreate the error in as few steps as possible, then tell me which steps you took to create the error.