diff options
| author | syeyoung <cyougn06@naver.com> | 2022-01-11 00:58:10 +0900 |
|---|---|---|
| committer | syeyoung <cyougn06@naver.com> | 2022-01-11 00:58:10 +0900 |
| commit | 8e378b81fa27330b5cce4abe766248944750806f (patch) | |
| tree | 1ec1c01758ffa5e0ccab52287901c1e140724e0a /src/main/java/kr/syeyoung/dungeonsguide/roomprocessor | |
| parent | f8cbd17a222a8b8c4b5669baadad45571d907bff (diff) | |
| download | Skyblock-Dungeons-Guide-8e378b81fa27330b5cce4abe766248944750806f.tar.gz Skyblock-Dungeons-Guide-8e378b81fa27330b5cce4abe766248944750806f.tar.bz2 Skyblock-Dungeons-Guide-8e378b81fa27330b5cce4abe766248944750806f.zip | |
- M5 Support.
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/roomprocessor')
| -rw-r--r-- | src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bossfight/BossfightProcessorLivid.java | 7 |
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; } |
