For the second part, you could make a skill that applied a state that guarded from the Breath of Fire skill specifically by making it apply a state (you could also make this state passive using plugins).
So, you have Heartless Angel that reduces all enemies to 1 hp. Then, you could have a state called Guardian Angel that protected from it. Let's say Guardian Angel is state #777 in the database. The formula for Heartless Angel would look like
x = (b.isStateAffected(777) ? 0 : b.hp - 1); xI think at least, I'm still getting the hang of this as well!
Thank you for the reply,
Okay, so I create skill for example "Shield" to deflect "Sword"
in database skill section "Shield" is number 21, and "Sword" is number 20
in "Sword" formula bar I typed x = (b.isStateAffected(21) ? 0 : b.hp - 1); x
in "Shield" I didn't type anything in formula bar (well, I have an idea that this magic will have healing element when not encounter the "Sword" skill, still thinking about the formula though)
I set the Hero to have skill "Shield" in classes section "hero job skill"
I try battle in Troops section, battle test mode
I make Hero do skill "Shield" in the beginning it show animation but not giving anything (formula bar is still empty)
when the boss do the "Sword" skill it still give random result, 1 of character death, 2 remain half HP, 1 remain 10 (all HP Character is 450 and in still lvl 1)
next try, I didn't make Hero do skill "Shield" in the beginning, and the result, 2 of my character death, 1 remain 10, 1 remain half
so where is my error ?
and sorry for the language
Forgot to mention I use battle core yanfly plugin