RPG Maker Forums

Hello,

I'm back with another mystery to solve. Actually, there is no issue with the game's functionality, but rather the display. I am creating an attack skill that sacrifices 10% of the user's mhp if they are under a condition. Here is what I have.


<Post-Damage Eval>
if (user.isStateAffected(25)){
user.gainHp(-user.mhp*0.10)
}
</Post-Damage Eval>

<target action>
perform start
wait for movement
motion attack: user
wait: 10
action animation
wait for animation
action effect
wait for animation
wait for movement
wait: 5
Add State 25: user
</target action>

It actually functions perfectly, the problem is the damage popup has a freakout and shoots out this infinitely long string of numbers. I tried disabling my damage popup plugin, but the classic display was the exact same way, so I know it's not that plugin. The problem DOES NOT happen if I change user.gainHp(-user.mhp*0.10) to user.gainHp(-1000) for example, it only happens when I use the -user.mhp*0.10) bit. I've also tried -0.10*user.mhp thinking that maybe the formula didn't like starting with letters.

I'd like the damage popup to reflect the true damage being taken, or to disappear altogether (I'd prefer the latter). Can anyone help me with this?

Latest Threads

Latest Posts

Latest Profile Posts

He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!

Forum statistics

Threads
106,035
Messages
1,018,459
Members
137,821
Latest member
Capterson
Top