If enemy HP is more than "x"...

Kemezryp

it's me
Veteran
Joined
Oct 25, 2015
Messages
36
Reaction score
5
First Language
Polish
Primarily Uses
Hello!


I have a problem with making boss fight. To win fight, you must HEAL enemy. I'm using Yanfly ElementAbsorb to make enemy heal when attacked.


I've made something like this:


Turn 0 - Change enemy HP -999


I want to make later something like "If enemy HP = 1000, then transform enemy", but the only avaible option is "If enemy HP = 1000 or above".


Any ideas? ^^
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,108
Reaction score
13,713
First Language
English
Primarily Uses
RMMV
So you want to transform when the enemy is exactly 1000, but not if they're 1001?


Is that condition being used as an event tab condition, or in the conditional branch?  You might be able to use that along with a conditional branch to see if enemy HP is > 1000 (if it is, do nothing, else do the transform).
 

Kemezryp

it's me
Veteran
Joined
Oct 25, 2015
Messages
36
Reaction score
5
First Language
Polish
Primarily Uses
Nevermind, I've fixed this already.


Just made conditional branch with script and entered this:


$gameTroop.members()[0]._hp === 1000


1000 is enemy's max hp, so it doesn't really matter.


Thanks!
 

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

Latest Threads

Latest Posts

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,470
Members
137,821
Latest member
Capterson
Top