Skip to content

Commit

Permalink
Review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kyvg committed Feb 29, 2024
1 parent 0e947a2 commit 202e8ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/arena/magics/secondLife.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class SecondLife extends CommonMagic {
const { target } = this.params;
const hp = target.stats.val('hp');

if (hp < 0) {
if (hp <= 0) {
target.stats.set('hp', 0.05);
target.resetKiller();
this.status.effect = Math.abs(hp);
Expand Down

0 comments on commit 202e8ee

Please sign in to comment.