QuasiABS custom AI heal issue

Hello guys,


Well the default ai on QuasiABS seems to always use the best ATTACK skill, i've set up a basic healing skill that works on the player but the enemy doesn't seem to want to use it, i also found out that using the conditions on the skill page doesn't affect the default ai.


Thankfully the script comes with custom ai through eventing wich i did set up, the problem is it needs to be used with scripts, and to get the enemy to use the healing script, i kinda need to get the current enemy hp and compare it with his total hp.


sometimes like this : 


if enemy.hp < ( enemy.totalhp * 0.5 ) then use heal


wich makes the enemy use healing skill when his hp gets below 50% of his total hp.


I have no idea how to get the enemy hp through script, so i hope you guys can help me.


Thanks a lot and have a good day 😀

Original thread: https://forums.rpgmakerweb.com/threads/quasiabs-custom-ai-heal-issue.67979/