Galv

Veteran
Veteran
Joined
Oct 1, 2012
Messages
1,373
Reaction score
1,660
First Language
English
Primarily Uses
RMMZ

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
 
Last edited by a moderator:

Neo Soul Gamer

Veteran
Veteran
Joined
Aug 10, 2012
Messages
659
Reaction score
410
First Language
English
Primarily Uses
N/A
Perfect for a slower paced battle system. Thanks a lot for this Galv!
 

LeeOccleshaw

Stone Dragon Workshop
Veteran
Joined
Jun 9, 2015
Messages
155
Reaction score
82
First Language
English
Primarily Uses
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!
 
Last edited by a moderator:

Galv

Veteran
Veteran
Joined
Oct 1, 2012
Messages
1,373
Reaction score
1,660
First Language
English
Primarily Uses
RMMZ
I'll add to my to do list to look into later :)
 

gRaViJa

Eniko Ghosts of Grace Dev
Veteran
Joined
Mar 16, 2012
Messages
982
Reaction score
630
First Language
Dutch
Primarily Uses
RMMV
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?
 
Last edited by a moderator:

Galv

Veteran
Veteran
Joined
Oct 1, 2012
Messages
1,373
Reaction score
1,660
First Language
English
Primarily Uses
RMMZ
Nice idea, I am adding that to my to-do list for future update :)
 

Neo Soul Gamer

Veteran
Veteran
Joined
Aug 10, 2012
Messages
659
Reaction score
410
First Language
English
Primarily Uses
N/A
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).
 

Galv

Veteran
Veteran
Joined
Oct 1, 2012
Messages
1,373
Reaction score
1,660
First Language
English
Primarily Uses
RMMZ
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?
 

Neo Soul Gamer

Veteran
Veteran
Joined
Aug 10, 2012
Messages
659
Reaction score
410
First Language
English
Primarily Uses
N/A
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.
 

Galv

Veteran
Veteran
Joined
Oct 1, 2012
Messages
1,373
Reaction score
1,660
First Language
English
Primarily Uses
RMMZ
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?
 

Neo Soul Gamer

Veteran
Veteran
Joined
Aug 10, 2012
Messages
659
Reaction score
410
First Language
English
Primarily Uses
N/A
Sure! I'll send it in a PM as soon as I get home later today.
 

Galv

Veteran
Veteran
Joined
Oct 1, 2012
Messages
1,373
Reaction score
1,660
First Language
English
Primarily Uses
RMMZ
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 :)
 

kozy

Villager
Member
Joined
Nov 21, 2015
Messages
7
Reaction score
1
First Language
French
Primarily Uses
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.
 

Galv

Veteran
Veteran
Joined
Oct 1, 2012
Messages
1,373
Reaction score
1,660
First Language
English
Primarily Uses
RMMZ
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.
 

kozy

Villager
Member
Joined
Nov 21, 2015
Messages
7
Reaction score
1
First Language
French
Primarily Uses
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. 
 

Galv

Veteran
Veteran
Joined
Oct 1, 2012
Messages
1,373
Reaction score
1,660
First Language
English
Primarily Uses
RMMZ
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.
 
Last edited by a moderator:

kozy

Villager
Member
Joined
Nov 21, 2015
Messages
7
Reaction score
1
First Language
French
Primarily Uses
You're just amazing dude!! :)  


It works really well now! 
 

HintonR

Veteran
Veteran
Joined
Mar 2, 2016
Messages
197
Reaction score
26
First Language
English
Primarily Uses
RMMV
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.
 

Galv

Veteran
Veteran
Joined
Oct 1, 2012
Messages
1,373
Reaction score
1,660
First Language
English
Primarily Uses
RMMZ
Sorry, unfortunately I don't have time these days to do updates
 

ArcticPrism

Veteran
Veteran
Joined
Apr 5, 2018
Messages
31
Reaction score
13
First Language
English
Primarily Uses
RMMV
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.
 

Latest Threads

Latest Profile Posts

I couldn't help myself, so I edited the tiles a bit and made a birdhouse :LZSsmile: I hope I will finish the town today!Screenshot 2021-09-17 134349.png
How do I find the threads I have watched? It's been so long I've forgotten :kaoswt:
So far, this is how the wall tileset its looking in-editor. :kaoswt2:
1631863283853.png
Still thinking on details to add.
Added a plugin to RMMV Plugin Releases with all relevant info but it looks like the topic wasn't approved for whatever reason. Cool.
Working in the IT industry:
- "How long does it take?".
- "It takes 1 month".
- "What if we add more people to the project?".
- "It would take 2 months".

Forum statistics

Threads
115,129
Messages
1,087,449
Members
149,630
Latest member
Unit435
Top