mirror of
https://github.com/Melledy/Nebula.git
synced 2026-09-19 17:19:58 +02:00
Implement honor affinity levels for leaderboards
This commit is contained in:
@@ -20,6 +20,14 @@ public class HonorDef extends BaseDef {
|
||||
public int getId() {
|
||||
return Id;
|
||||
}
|
||||
|
||||
public boolean isCharacterHonor() {
|
||||
return this.Type == 2 && this.Params.length > 0;
|
||||
}
|
||||
|
||||
public int getCharacterId() {
|
||||
return this.Params[0];
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onLoad() {
|
||||
|
||||
Reference in New Issue
Block a user