Does a -damage popup- command exist?

romepizza

Veteran
Veteran
Joined
Nov 9, 2015
Messages
45
Reaction score
1
First Language
German
Hey guys,


does something like a damage popup command exist? I use a "battler.gainHp(-50)" command inside a state, but sadly the popup of these 50 damage don't show up by default.


To be more precisely: I use it inside the <Custom Deselect Effect> of the Yanfly's BuffStatesCore plugin. The weired thing is, that if you write the same line inside the <Custom Regenerate Effect> the damage pops up just normal.


I guess there is a command for it, but Google doesn't help me that much.
 

TheRiotInside

Extra Ordinaire
Veteran
Joined
Sep 3, 2012
Messages
270
Reaction score
123
First Language
English
Primarily Uses
In most of the damage-dealing special skills Yanfly goes over in their Tips & Tricks, there is a section of the code shown that deals with damage popups. I'd take a look at it and see what lines you need to get it to work.


In the code for Thorn Bind Hostage for example, a 


target.startDamagePopup();


was used. I'm not sure what lines around it might be needed, or if that alone will do the trick, but that line should be a good place to start!
 

romepizza

Veteran
Veteran
Joined
Nov 9, 2015
Messages
45
Reaction score
1
First Language
German
In most of the damage-dealing special skills Yanfly goes over in their Tips & Tricks, there is a section of the code shown that deals with damage popups. I'd take a look at it and see what lines you need to get it to work.


In the code for Thorn Bind Hostage for example, a 



target.startDamagePopup();


was used. I'm not sure what lines around it might be needed, or if that alone will do the trick, but that line should be a good place to start!


Works perfect! Thank you. You remembered me to look through all the Tipps & Tricks again, since I just started writing my own code inside of skills and states.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,981
Members
137,563
Latest member
cexojow
Top