Simple question, I'm not that much into scripting, furthermore I need to specify my question with an explanation of my motives.
First of all: I use a Plug-in which allows me to check for common events, while the battle screen is active
I want to check via an common event if the hp of an enemy is under a certain amount of health (%), after that the specific enemy on the field should chance his status to "bleed" I want to implement it universal for every encounter without copying the same line of codes on every troop encounter.
I have two major problems:
- How can I check the HP of enemies inside an common event? I need some sort possibility to adress the enemy and his hp value. It's not my intention to check it on the troop event side.
- Goes in the same direction, how can I change the status condition of an enemy? In the conditional branches I can merely chance the status of actors.
That gives me headaches for quite a while, it can't be that difficult or inconvient but it seems I was mistaken.
if anyone knows a good plug-in for such purposes, I would be happy to know about it.
Especially targeting enemys is horrible because there is no "this" option, just the indexes of the enemies.
First of all: I use a Plug-in which allows me to check for common events, while the battle screen is active
I want to check via an common event if the hp of an enemy is under a certain amount of health (%), after that the specific enemy on the field should chance his status to "bleed" I want to implement it universal for every encounter without copying the same line of codes on every troop encounter.
I have two major problems:
- How can I check the HP of enemies inside an common event? I need some sort possibility to adress the enemy and his hp value. It's not my intention to check it on the troop event side.
- Goes in the same direction, how can I change the status condition of an enemy? In the conditional branches I can merely chance the status of actors.
That gives me headaches for quite a while, it can't be that difficult or inconvient but it seems I was mistaken.
if anyone knows a good plug-in for such purposes, I would be happy to know about it.
Especially targeting enemys is horrible because there is no "this" option, just the indexes of the enemies.