Galv's Battle Action Info


Battle Action Info - Version 1.3
RPG Maker MV Plugin
Galv

​


Introduction
Just a little something for battle. As always, I encourage anyone who uses it to create their own better graphics than my dodgy ones


Screenshot
battleActionInfo_zpsvz24zbej.png



Features


An information box drops down whenever you are selecting a target for an action in battle. This box contains information about the action toward the enemy such as minimum and maximum damage, hit chance, critical chance and state/buff changes.


Includes plugin settings to allow you to customize your info box.




How to Use
- Copy the "GALV_BattleActionInfo.js" file into your project's /js/plugins/ folder.
- Activate plugin using the 'Plugin Manager'
- Copy the images included (or create your own image) into YourProject/img/system/ folder
- Read the help file to see how it works. Examine the demo if you don't understand.


Plugin
Get it here


Credit and Thanks
- Galv


Terms
Free to use in any RPG Maker MV project including commercial. Please credit "Galv". 🙂


Updates


2016-04-30 - Version 1.3 - fixed a bug when using code in formula and fixed issue when changing a skill to damage type 'none' that still had damage in the formula.


2016-02-22 - Version 1.2 - Compatibility fix for Victor's Hit Formula


2016-02-20 - Version 1.1 - Compatibility changes and bug fixes


2016-02-20 - Version 1.0 - Release
Perfect for a slower paced battle system. Thanks a lot for this Galv!
Would it be easy for you to add an option to make the window peek from the bottom of the screen as well as just from the top? No worries if you don't have the time - it's a fantastic plugin, thanks Galv!
I'll add to my to do list to look into later 🙂
I'll definitely use this, but i only want to show this when an ally casts a Libra or Scan skill. Is this already doable? To toggle it on when a certain state is active for example? If not, would you consider it for a future update?
Nice idea, I am adding that to my to-do list for future update 🙂
Hey Galv,


I think I may have found a bug. I've created a skill that does no damage while adding an elemental resistance state. For some reason, it still shows that damage will occur in the battle info window even with the skill set to do no damage in the database. 


This seems to only happen when changing elemental resistances. When changing Ex/Sp params, the damage shows correctly in the window (0).
Could you please take a screenie of your skill setup and state setup used in that skill? I haven't been able to replicate in tests I have done.


Also, could you please test it with other plugins disabled to test for a conflicting plugin?
Could you please take a screenie of your skill setup and state setup used in that skill? I haven't been able to replicate in tests I have done.


Also, could you please test it with other plugins disabled to test for a conflicting plugin?



I'm at work for the morning. I had tested the skill with your demo project. If the Damage Type is set to "None", then it will show damage in the info window. I'd have to set the Damage Type to "HP Damage" with a formula of 0 in order for everything to show properly. Not sure if that's how it's supposed to be.
I have tested damage type none and it displays 0 damage for me. If you can, could you still please screenshot your skill setup so I can see if it's something else in the skill causing it?
Sure! I'll send it in a PM as soon as I get home later today.
Thanks to thechancellor, we discovered if you have a skill set to HP Damage with damage in the formula box... then change it to Damage Type: None... the formula is still kept in the skill and seen by the plugin.


A temporary fix is to make sure your skill has 0 in the damage formula before changing to damage type none, but I have added to my to-do list to fix this 🙂
Hello Galv,


i found something, i don't know if it's a bug but i don't find the way to bypass it.


When you have a " b.addstate"or gainhp into your formula, state is given to the ennemy and hp is gained, each time you target a different ennemy, even if you don't valid the command and change your skills.
I don't understand what you are saying, but this plugin unfortunately doesn't check for additional code in the formula when determining the action info for your target.
Sorry, i guess my english isn't really good.


I mean: When i choose my skill called, for example, "Bite" [the Damage Formula is "a.gainHp(Math.floor(-0.075*(a.atk * 8 - b.def * 4))); a.atk * 8 - b.def * 4)]


Formula ex.JPG


Let's say my character is damaged; so, i choose my skill called "bite", i target this lovely "bird" foe by default. But, i want to target this creepy bear, and then when i do it, my character gain HP (even if i didn't validate the action). Now, i choose to cancel using this skill and choose another one. My character still got HP from the skill even i didn't use it.


Same thing with a skill applying state in certain conditions [if (b.isStateAffected(21)) {b.addState(5); a.atk * 12 - b.def * 6} else {a.atk * 4 - b.def * 2};] - state is applied even if i cancel the skill or i change my target.


I hope to be understandable now. 
Ahh, I see what you mean now. I never thought of that... it's because the formula code is run to get the damage value and any additional code is run as well. I didn't think about this when I wrote it - I will fix this when I have some time 🙂


UPDATE: Fixed:


Version 1.3 - fixed a bug when using code in formula and fixed issue when changing a skill to damage type 'none' that still had damage in the formula.


Changing states and other things via code in the formula still won't show on the indicator, however.
You're just amazing dude!! 🙂  


It works really well now! 
Hi Galv,

There seems to be an issue when using Yanfly's Target Core and a spell/skill is toggled from single to target all. I'm not sure if you're still updating plugins, but thought I'd ask.

Thanks.
Sorry, unfortunately I don't have time these days to do updates
Are you still too busy for updates? If not, I was wondering if you could add a little more support for states. It only shows the base chance for them to work and doesn't take luck or immunities into account.

Original thread: https://forums.rpgmakerweb.com/threads/galvs-battle-action-info.57242/