This commit is contained in:
Fastium committed 2022-06-15 18:19:14 +02:00
1 parent b944d9be51
commit 045329d8f6
1 file changed
+1 -1
+1 -1
View File
@@ -43,7 +43,7 @@ public class Enemy extends Character{
} }
@Override @Override
public int getPv() { public int getPv(){
//the pv can go under 0, but his real pv is 0 (for the player) //the pv can go under 0, but his real pv is 0 (for the player)
return (pv<0) ? 0 : pv; return (pv<0) ? 0 : pv;
} }