Damage potion

If I were to create a ''curse'' potion, that deals massive damage to an enemy, what formula could I use for that specific purpose? Kind of like a rare insta-kill potion. Also, is there a way to make the potion only usable on certain enemies/bosses? Thank you.
Presumably, you mean a single-use item rather than specifically a potion; it'll be hard to force a boss to drink a potion in the middle of battle. 😉

As for what sort of formula you could use - the sky's the limit; something outright brutal would be something to the tune of b.hp/4+b.def or something based outright on the enemy's own stats.

Not entirely sure how you would render such an item unusable/usable against specific enemies. Usable by specific characters is easy enough, but limiting viable targets is a little trickier...
Just an item that could deal a lot of damage to a single enemy. Kind of like a one-shot item. High enough to kill any normal enemy.
If I were to create a ''curse'' potion, that deals massive damage to an enemy, what formula could I use for that specific purpose? Kind of like a rare insta-kill potion. Also, is there a way to make the potion only usable on certain enemies/bosses? Thank you.

Set the item as an element. say, "Kill-Dragon"

Set the item to do damage be it % or straight up numbers.

If the potion isn't supposed to kill them set the element Kill-Dragon resistance to 0%?
The damage formula is your best friend here. It is possible for it to check if this is a specific enemy, and do the dirty deed if it is.
Note, the following is the Ace syntax, but based on this, it should be easy for you to work out what the MV version is.

For the sake of this example, we will assume that the enemy id (taken from its slot in the database) is 94

b.enemy? && b.enemy_id == 94 ? 9999 : 0

What this is doing is checking to see if the enemy id is 94. If it is, it deals 9999 HP damage. If it isn't, it does nothing.
If you want that something istantly kills something, you can make that it adds a state: Curse. This state automatically becomes the KnockOut state.
And you can make that some enemies (bosses) aren't affected by Curse.
This is only an alternative way to make your curse potion if I understood correctly

Original thread: https://forums.rpgmakerweb.com/threads/damage-potion.88595/