1
0
mirror of https://github.com/Klagarge/PokeHES.git synced 2025-07-07 17:01:10 +00:00

xp modification

This commit is contained in:
Fastium
2022-06-15 09:53:54 +02:00
parent 997f303567
commit b944d9be51
5 changed files with 50 additions and 83 deletions

View File

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