Enemy HP/MP Condition Action Pattern

Status
Not open for further replies.

Kaillera

Villager
Member
Joined
Dec 30, 2012
Messages
27
Reaction score
0
Primarily Uses
Is it me, or there is no way for me to make my monsters to use skills under HP/MP conditions?

Whenever I try to set them, it would display 0 ~ 0% or 0 ~ 10xxxxx% which will never occur anyways. Is there a fix for this?
 

Liak

Veteran
Veteran
Joined
Mar 13, 2012
Messages
1,788
Reaction score
270
First Language
German
Primarily Uses
Yeah, same here. I'm interested in an answer as well.
 

Maliki79

Veteran
Veteran
Joined
Mar 13, 2012
Messages
797
Reaction score
350
First Language
English
Primarily Uses
N/A
It works fine for me.

Just make sure you set the priority for those skills higher than the "normal" ones.

Also note that even though the numbers look off in the editor after you set the parameters, the numbers work correctly in-game.
 

Chrome

Veteran
Veteran
Joined
Dec 6, 2012
Messages
835
Reaction score
30
First Language
English
Primarily Uses
Is it me, or there is no way for me to make my monsters to use skills under HP/MP conditions?

Whenever I try to set them, it would display 0 ~ 0% or 0 ~ 10xxxxx% which will never occur anyways. Is there a fix for this?
What are you talking about? I dont even know where you get those numbers. If you want an enemy to start using a skill once its below x% of hp or mp. Just go to troops. Condition: x% hp or below, Event is to transform enemy to an enemy that looks the same but with the extra skill. This is what you want to do right?

-NC

Edit: Oh I see your look in the enemy tab.

@Liak: You dont actually need to put the priority higher as long as it is not more then 2 points under the highest priority, the enemy will use it.
 
Last edited by a moderator:

Maliki79

Veteran
Veteran
Joined
Mar 13, 2012
Messages
797
Reaction score
350
First Language
English
Primarily Uses
N/A
If you leave them the same, there's a chance of the enemy continuing to do the normal skills.

For enemies with somewhat complex AI, it would be good to set normal attacks lower.

I'd have a monster that heals at half damage as an example.

All it does is attack and heal itself.

The attack skill could be set to 1 and the healing skill will activate when it's down to 50% HP or lower. And have this skill's priority set to 10 so that it stops attacking and heals until it's HP is higher than 50% again.

If you left them both at 5 it would still do it's attacking, but once the HP goes down to 50%, there would be a 50/50 CHANCE of it doing the healing. This might be fine for you, but if you want it to happen whenever the HP is at that point, you must change the priority.
 

Liak

Veteran
Veteran
Joined
Mar 13, 2012
Messages
1,788
Reaction score
270
First Language
German
Primarily Uses
Ah, I see, that's what you meant. :) Yeah, I actually was aware of how it works, I just thought that ... I don't know ... there's a bug or something, or I didn't understand it correctly in the first place. But it's all clear. Thank you nonetheless. :D
 

Boregore7

Warper
Member
Joined
Dec 26, 2013
Messages
2
Reaction score
0
First Language
English
Primarily Uses
Is there a way to add this to an item such as a pendant that increases defense once the wearer's hp falls below say 15% of maximum?

I made a pendant item which adds the skill defense in a pinch, that adds the state but I cannot figure out how to make it happen at a specific hp level?
 
Last edited by a moderator:

SadGhoster87

Veteran
Veteran
Joined
Aug 21, 2015
Messages
76
Reaction score
5
First Language
English
Primarily Uses
"Whenever I try to set them, it would display 0 ~ 0% or 0 ~ 10xxxxx% which will never occur anyways."

Same exact thing here, I really need help with this.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
SadGhoster87, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.

Also, if you read the posts carefully, I think you will find your query has been answered.
 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,049
Members
137,570
Latest member
fgfhdfg
Top