hp heal item which cannot be used on dead actors?

Hey guys, I wanted to make a 20HP heal item, which cannot be used on dead actors in battle.

Right now, I can select dead actors, too. If I select them, however, the HP will go to the first alive actor in the party.

Is there a way to make dead actors un-selectable as item targets in the first place?
The default behaviour is to have skills/items target living and dead members separately. 😅

What plugins are you using? Could you share a screenshot of your Plugin Manager?
I made a new project in RPG maker 1.5.1 and it happened without any plugins...

For some reason, I can use this item on a dead actor...
v.1.5.1 has bugs. I suggest updating to either 1.5.2 or 1.6.? (don't remember the latest number)
my game has serious issues when I upgrade to 1.6... Do you think downgrading to 1.5.0 would solve this item target issue?
Ohh, sorry, yes, I was thinking of the menu. In battle it lets you select a target with an action regardless of whether that action will have an effect on them at the time of selecting. I believe it's independent of the base code version, sorry for the confusion. 😴

I think you'll need a plugin to change that behaviour. Not sure if a standalone one already exists, but I think Yanfly's Battle Engine Core + Target Core + Selection Control can do it. First two are required for Selection Control, which offers a skill/item notetag like this:
Code:
<Select Conditions>
Not State: 1
</Select Conditions>
v.1.5.1 has bugs. I suggest updating to either 1.5.2 or 1.6.? (don't remember the latest number)


I just started a new 1.6.1 project to test this out, and it happens in that version too. It's very odd, because I also thought 1 Ally and All Allies only targeted living party members.
I just started a new 1.6.1 project to test this out, and it happens in that version too. It's very odd, because I also thought 1 Ally and All Allies only targeted living party members.
It tripped me up first time I encountered it, too. I think it's to allow for tactical skill/item usage, e.g. aiming a revive skill with -2000 speed at your nearly-dead tank (and having that tank go all-out with an attack on the looming boss, 'cause why not). 🙂
that worked immediately @caethyril . Thank you so much. I love you
@jjleroy
If your query is fully resolved, please Report your post and ask for the thread to be closed. Mods might not see a post, but they will see a Report.

Original thread: https://forums.rpgmakerweb.com/threads/hp-heal-item-which-cannot-be-used-on-dead-actors.111724/