mirror of
https://github.com/Melledy/Nebula.git
synced 2025-12-15 05:44:36 +01:00
Implement !clean command and f affinity
This commit is contained in:
@@ -123,7 +123,12 @@ public class GameCharacter implements GameDatabaseObject {
|
||||
public void setAdvance(int advance) {
|
||||
this.advance = advance;
|
||||
}
|
||||
|
||||
|
||||
public void setAffinityLevel(int level) {
|
||||
this.affinityLevel = Math.max(level, 0);
|
||||
this.affinityExp = 0;
|
||||
}
|
||||
|
||||
public int getMaxGainableExp() {
|
||||
if (this.getLevel() >= this.getMaxLevel()) {
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user