Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

making a realistic enemy healer

I'm trying to make a thorough enemy healer, and I'm not entirely sure how to accomplish it. I think I've got how to make it so the healer will revive fellow enemies if they die (used a conditional branch, which then forces the healer enemy to use life on that particular enemy.)

However, now I'm trying to figure out how to make it so the healer will use a single target healing spell when one of its allies is reduced to a certain percentage of hp. I know you can set enemies to use skills when -they- are at a certain % of hp, but I'm not sure how to do it for when other enemies in their 'troop' are at a certain % of hp.

Secondly, I want to know how to make it so that the healer will use a spell to remove statuses on one of its allies if it is inflicted with a status ailment. The only way I can think is to put a conditional branch for each and every status ailment, but I'm wondering if there isn't something more simple?

Also, should I have the 'reviving skill' and the healing spell and the removing status spell in the 'enemy's' skill list, or only listed in the troops command/event list page?

Sorry if this is confusing, let me know if I can clarify.
 

Schizo

Member

Its possible to use script in battle right? Cause for your second problem you could use an array of all the status ailments to be healed with just a global heal spell. I'm not sure how you could do that, maybe talk to an actual scripter? Sorry I'm not much help but I'm still new to this. Hopefully its a step in the right direction.
 
Yeah the enemy has a spell that heals all status ailments, its more a problem of triggering the enemy to use it. Still, it's an idea to use a script, I will ask there, but maybe this post could be left here in case there is an event way of doing this that I'm just not aware of.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top