It's one way to beat a boss in Final Fantasy 10, where you just give the boss a phoenix down if I remember correctly and it deals an insane amount of damage, how would I go around and do that in Rpg maker?
Health potion or phoenix down that damages the enemy
RPG Maker MZ SupportDuring battle or giving it to them prior to battle and they use it after?
during battle, instead of healing (which it does the party) it damages the enemy
So you want to be able to use the item and when used it affects the boss not the player.
If that’s the case you could set up an event during the battle that says
[When Boss HP = 40% or less and item (phoenix down) is used then trigger dialogue. Dialogue ends play animation and deal 99999999 damage to the boss]
This is in theory of course. I’m pretty rusty on RM but I can piece together something once I’m home to show you if you can’t get it by then.
If that’s the case you could set up an event during the battle that says
[When Boss HP = 40% or less and item (phoenix down) is used then trigger dialogue. Dialogue ends play animation and deal 99999999 damage to the boss]
This is in theory of course. I’m pretty rusty on RM but I can piece together something once I’m home to show you if you can’t get it by then.
Visustellas battle core has notetags that you can use to make skills be able to target either enemies or actors. You can use that and then possibly a passive undead state that inverts healing received or skill/item notetags to invert healing/kill the target if they have an undead state
it's really about using a health potion or phoenix down on the enemy, not on the player
Okay so it'll heal the player but harm the enemy correct?
exactly!
Years ago I thought about how any RPG would implement healing. I imagined healing would be just another type of element, like Fire. Living creatures would have their element rate for the Healing element set to Absorb, while undead would have a rate set to 300% say. This would allow all elements to have similar effects across the board. Fire "heals" fire elementals, Water "heals" Undine, potions and healing spells heals humans and damages skeletons.
In order for Death effects to work, you'd have an Instakill percentage attribute for items delivering an elemental payload. So a Potion or Cure has a 25% chance of killing a zombie, but a phoenix down has 50% and elixir has 100%. Humans absorb the healing element so those items won't kill them.
This was just speculation on my part about RPG mechanics in general. In practice, it looks like RPG Maker takes a different approach to healing. It's not an element, it's just a mechanic for restoring HP using a healing formula.
So in answer to your question, maybe have a State called Undead. Apply it to Undead enemies in a Troop in Turn 0 (I don't think an enemy can have a state on by default). Then have a damage formula on healing items like
b.isStateAffected(X) ? 9999 : 0
where X is the ID number of the Undead state
In order for Death effects to work, you'd have an Instakill percentage attribute for items delivering an elemental payload. So a Potion or Cure has a 25% chance of killing a zombie, but a phoenix down has 50% and elixir has 100%. Humans absorb the healing element so those items won't kill them.
This was just speculation on my part about RPG mechanics in general. In practice, it looks like RPG Maker takes a different approach to healing. It's not an element, it's just a mechanic for restoring HP using a healing formula.
So in answer to your question, maybe have a State called Undead. Apply it to Undead enemies in a Troop in Turn 0 (I don't think an enemy can have a state on by default). Then have a damage formula on healing items like
b.isStateAffected(X) ? 9999 : 0
where X is the ID number of the Undead state
Dont know if this got solved with the awnswer above but i use VS and made all Healing spells deal DMG with the "Heal element 14" and then gave every enemy and Actor the <Aborb Element:14> notetag exept Undead. and made Robots and Golems Immune to Element 14
EDIT: cleand up some typos
EDIT: cleand up some typos
Original thread: https://forums.rpgmakerweb.com/threads/health-potion-or-phoenix-down-that-damages-the-enemy.178698/