RPG Maker Forums

trying to add a state to every combatant when their hp reaches 75% of their max hp, got the code working syntax free (didn' tknow spaces mattered in this language).

thing is it's applying multiple times and not even when the HP hits the 75% threshold, just some quick insight into ruby would be nice since i currently lack a proper debugging tool.

line's been added in at

Game_BattlerBase line 506 (in the refresh def)

@hp <= @mhp * 0.75 ? add_state(26) : remove_state(26)thanks in advance!

EDIT: using prg maker vx ace

Latest Threads

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
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.

Forum statistics

Threads
106,040
Messages
1,018,476
Members
137,824
Latest member
dobratemporal
Top