Closed JesterWizard closed 3 months ago
Your calculation method will cause the enemy's HP to be reduced to 1 regardless of whether the enemy is killed or not.
Good catch, I added a conditional now.
There is a very clear time point to handle on target kill in BattleGenerateHit
. The calculation logic of this PR should be consistent with the vanilla.
I think I'll need a hint on this one, it's not 'very clear' to me. No matter where I put it in BattleGenerateHit
it either doesn't activate, or displays the skill animation for the wrong side. And it both cases it doesn't do jack shit. You'd think sticking it in the else
part of if (defender->unit.curHP == 0)
would do the trick but nope.
There has already a skill named "SID_Bane" played the seem effect as this PR
Oh I find that the skill name is not consistant to it's effect:
bane
should directly leave unit to one hp: https://fireemblem.fandom.com/wiki/Bane
Mercy
should leave unit as 1 hp if killing: https://fireemblem.fandom.com/wiki/Mercy
Eclipse
should neutralize the enemy unit's defenses https://fireemblem.fandom.com/wiki/Eclipse_(Skill)
The skill name, skill icon and the skill effect are incompatible in this PR, and the effect has been achieved by skill Mercy and the icon has been used by SID_Luna
and SID_LunaAttack
Oh I find that the skill name is not consistant to it's effect:
bane
should directly leave unit to one hp: https://fireemblem.fandom.com/wiki/BaneMercy
should leave unit as 1 hp if killing: https://fireemblem.fandom.com/wiki/MercyEclipse
should neutralize the enemy unit's defenses https://fireemblem.fandom.com/wiki/Eclipse_(Skill)The skill name, skill icon and the skill effect are incompatible in this PR, and the effect has been achieved by skill Mercy and the icon has been used by
SID_Luna
andSID_LunaAttack
No the Eclipse skill in the ASM skill system is meant to function in the reverse order of Bane. It should only reduce your opponent's HP to 1 if you wouldn't otherwise kill them.
Though if you don't care for it I'll close this PR. Because the Tellius version is straight up broken and I have no intention of adding that.
Sure
No the Eclipse skill in the ASM skill system is meant to function in the reverse order of Bane.
I think this is an obvious naming error on community project. In either version of the original game, Eclipse
always has a similar mechanic to the Luna
rather than Mercy
Sure no worries. I'll change the name to something else when I get time.
I'm closing this for now.
Leave the enemy at 1HP if an attack would otherwise kill them (Skill % activation).