http-api, rl-client: add phosani's nightmare to hiscores

This commit is contained in:
Max Weber
2021-06-30 04:47:50 -06:00
parent 00c971ef15
commit f2b7f26387
5 changed files with 7 additions and 5 deletions

View File

@@ -94,6 +94,7 @@ public class HiscoreResult
private Skill krilTsutsaroth;
private Skill mimic;
private Skill nightmare;
private Skill phosanisNightmare;
private Skill obor;
private Skill sarachnis;
private Skill scorpia;
@@ -245,6 +246,8 @@ public class HiscoreResult
return mimic;
case NIGHTMARE:
return nightmare;
case PHOSANIS_NIGHTMARE:
return phosanisNightmare;
case OBOR:
return obor;
case SARACHNIS:

View File

@@ -119,6 +119,7 @@ class HiscoreResultBuilder
hiscoreResult.setKrilTsutsaroth(skills.get(index++));
hiscoreResult.setMimic(skills.get(index++));
hiscoreResult.setNightmare(skills.get(index++));
hiscoreResult.setPhosanisNightmare(skills.get(index++));
hiscoreResult.setObor(skills.get(index++));
hiscoreResult.setSarachnis(skills.get(index++));
hiscoreResult.setScorpia(skills.get(index++));
@@ -127,10 +128,7 @@ class HiscoreResultBuilder
hiscoreResult.setGauntlet(skills.get(index++));
hiscoreResult.setCorruptedGauntlet(skills.get(index++));
hiscoreResult.setTheatreOfBlood(skills.get(index++));
if (skills.size() >= 82)
{
hiscoreResult.setTheatreOfBloodHardMode(skills.get(index++));
}
hiscoreResult.setTheatreOfBloodHardMode(skills.get(index++));
hiscoreResult.setThermonuclearSmokeDevil(skills.get(index++));
hiscoreResult.setTzKalZuk(skills.get(index++));
hiscoreResult.setTzTokJad(skills.get(index++));

View File

@@ -98,6 +98,7 @@ public enum HiscoreSkill
KRIL_TSUTSAROTH("K'ril Tsutsaroth", BOSS),
MIMIC("Mimic", BOSS),
NIGHTMARE("Nightmare", BOSS),
PHOSANIS_NIGHTMARE("Phosani's Nightmare", BOSS),
OBOR("Obor", BOSS),
SARACHNIS("Sarachnis", BOSS),
SCORPIA("Scorpia", BOSS),