Hello, so I believe I made a bit of a mistake while I was playtesting. The blue girl (Back row in the middle) is a water elemental; her purpose is to be in the back healing her friends. The healing skill's element is set to water, and when I did a water heal-all skill, the healer got hurt by her own healing skill, along with the female fire elemental being healed the most while the female thunder elemental being healed the least. In addition, I accidentally made her kill herself after testing the water healing skill off-battle. My plugin is Element Core, which lets the water elemental absorb water damage from enemies. The fire elemental takes double the damage from water attacks, while the electric elemental takes half the damage from water. Is there something I am doing wrong or should I set the element for healing skills to none?
Healer hurts self when using a healing skill with an element.
RPG Maker MV SupportThis isn't super helpful, but unless you want allies to be healed different amounts based on elemental resistances, than I would scrap the water element.
It's always more helpful to provide some screenshots of how the skill and actors are set up rather than try to describe it all in a big block of text.
I've never looked it up in the code because I've never tried to have elemental differences in healing.
You don't really explain how you want it to work - do you, in fact, want the different characters to heal differently from this skill? Do you want any of them to be damaged by it?
We can help you get it working the way you want, but you need to make that end goal clear.
I mean, logically, if you have her set to absorb which turns negative values (damage) into positive (healing), wouldn't that also turn positive values into negative?
I've never looked it up in the code because I've never tried to have elemental differences in healing.
You don't really explain how you want it to work - do you, in fact, want the different characters to heal differently from this skill? Do you want any of them to be damaged by it?
We can help you get it working the way you want, but you need to make that end goal clear.
"Healing" should be it's own element.
it's a problem I've encountered earlier through development, in exactly this same case.
it's a problem I've encountered earlier through development, in exactly this same case.
I think I want different characters to heal differently from that skill.
I did not know that, but yes. Otherwise, I would scrap the idea of choosing the element of a healing skill or use the Target Core plugin to have all allies but the user to be healed.
Then I'd suggest you make the skill itself have no element, and try putting it into the damage formula.
This may be useful to you:
Damage Formulas 101
Please note: A discussion has already been started about different things you can do with these formulas so please direct those comments and question to the appropriate thread. https://forums.rpgmakerweb.com/index.php?threads/rmmv-damage-formula-ideas-and-help.47099/ A link to the list of...
forums.rpgmakerweb.com
So if your water is element 4, you would make your healing formula something like:
Code:
100 / b.elementRate(4)
It heals for a base of 100 (replace with whatever formula you want), then divides by their element rate to water. So characters with an element rate above 1, who take extra damage from water, will receive less healing from this.
But it will be impossible for this to produce damage, and it will not interact with the Yanfly notetags like Absorb.
My water element is actually on 5, but it works! She didn't hurt herself! Thank you so much!
Original thread: https://forums.rpgmakerweb.com/threads/healer-hurts-self-when-using-a-healing-skill-with-an-element.162289/