Enemy quote when afflicted with poison, then removes poison.

I am trying to make an enemy that says a certain quote when afflicted with poison and then the poison is removed before it can do any damage. I have attached a photo of the logic I am using but it does nothing... When afflicted with poison state the enemy says nothing and the condition remains.

1581278392479.png


I also want the enemy to say they are resistant to the damage if they take a certain elemental type of damage.

I want both of these events (the poison and elemental damage) to happen only once per battle.
However, even though the enemy may only say one time that poison does not affect them, I want poison to continue to be removed each time they get poisoned, they just don't say anything after the first time. Same with the elemental damage type. After telling the party once that they're resistant to it, they don't tell them again.
1) "to run a program" is a term from programmer's language and has absolutely nothing to do with physically running or escaping. So the condition "don't run" means "never do this".

2) the span says how often a troop event should run: once per battle, once per turn or once per moment/action.


for the poison to be continually removed it need to be done per moment or per turn, but you need a switch to turn on after the first time to prevent a repeat of the show text.
You need to change your condition to something else coz as Andar said, Dont Run means the event wont run...

As for the one with elemental damage, you'd probably need a plugin for it which will allow you to run an event/code right upon getting damaged while also being able to capture the properties of that damage.. Using only the default system, most you can do is check the boss HP and see if it gets reduced, but you wont be able to determine the properties of the damage source via that.

Original thread: https://forums.rpgmakerweb.com/threads/enemy-quote-when-afflicted-with-poison-then-removes-poison.118078/