aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/roomprocessor')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bossfight/BossfightProcessorLivid.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bossfight/BossfightProcessorLivid.java b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bossfight/BossfightProcessorLivid.java
index 0ecae36b..ace0fd67 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bossfight/BossfightProcessorLivid.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bossfight/BossfightProcessorLivid.java
@@ -34,8 +34,11 @@ public class BossfightProcessorLivid extends GeneralBossfightProcessor {
private final Set<String> knownLivids = new HashSet<String>();
- public BossfightProcessorLivid() {
+ private boolean isMasterMode;
+
+ public BossfightProcessorLivid(boolean isMasterMode) {
addPhase(PhaseData.builder().phase("start").build());
+ this.isMasterMode = isMasterMode;
}
private static final Map<String, String> lividColorPrefix = new HashMap<String, String>() {{
put("Vendetta", "§f");
@@ -76,7 +79,7 @@ public class BossfightProcessorLivid extends GeneralBossfightProcessor {
health = TextUtils.reverseFormat(healthPart.substring(0, healthPart.length() - 1));
} catch (Exception e) {e.printStackTrace();}
}
- healths.add(new HealthData(realLividName == null ? "unknown" : realLividName, (int) health,7000000 , true));
+ healths.add(new HealthData(realLividName == null ? "unknown" : realLividName, (int) health,isMasterMode ? 600000000 : 7000000 , true));
return healths;
}