mirror of
https://github.com/Klagarge/PokeHES.git
synced 2025-07-07 17:01:10 +00:00
xp modification
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user