You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On battle_util it checks like so:
gBattleStruct->hpBefore[battler] > gBattleMons[battler].maxHP / 2
&& gBattleMons[battler].hp < gBattleMons[battler].maxHP / 2
The text was updated successfully, but these errors were encountered:
StephenLynx
changed the title
Bersker doesn't activate if mon hit's exactly half hp
Berserker doesn't activate if mon hit's exactly half hp
Oct 1, 2022
On battle_util it checks like so:
gBattleStruct->hpBefore[battler] > gBattleMons[battler].maxHP / 2
&& gBattleMons[battler].hp < gBattleMons[battler].maxHP / 2
So if it hits exactly half hp, it won't trigger in the same turn because of the second check, the next one it will fail the first check. I fixed this on https://gitgud.io/stephenlynx/pokemonie/-/commit/1ad25d09151919379a02f45f3fcec20146ad5c72
The text was updated successfully, but these errors were encountered: