1
0
mirror of https://github.com/Klagarge/PokeHES.git synced 2024-11-26 19:13:27 +00:00
This commit is contained in:
Fastium 2022-06-15 18:19:14 +02:00
parent b944d9be51
commit 045329d8f6

View File

@ -43,7 +43,7 @@ public class Enemy extends Character{
}
@Override
public int getPv() {
public int getPv(){
//the pv can go under 0, but his real pv is 0 (for the player)
return (pv<0) ? 0 : pv;
}