diff options
author | syeyoung <cyong06@naver.com> | 2021-01-29 22:27:44 +0900 |
---|---|---|
committer | syeyoung <cyong06@naver.com> | 2021-01-29 22:27:44 +0900 |
commit | 1d9265f0e211c173740db5bf66c7ea70a2f652fa (patch) | |
tree | 02f5a019ecd67b4f6f73db8a417698c085721255 /src/main/java | |
parent | 92f76656b0af40da18a028babec5ac272e6ccf8e (diff) | |
download | Skyblock-Dungeons-Guide-1d9265f0e211c173740db5bf66c7ea70a2f652fa.tar.gz Skyblock-Dungeons-Guide-1d9265f0e211c173740db5bf66c7ea70a2f652fa.tar.bz2 Skyblock-Dungeons-Guide-1d9265f0e211c173740db5bf66c7ea70a2f652fa.zip |
thorn maybe done
Diffstat (limited to 'src/main/java')
2 files changed, 27 insertions, 6 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/doorfinder/CatacombDataProvider.java b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/doorfinder/CatacombDataProvider.java index c2cb430c..09a70892 100755 --- a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/doorfinder/CatacombDataProvider.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/doorfinder/CatacombDataProvider.java @@ -81,12 +81,8 @@ public class CatacombDataProvider implements DungeonSpecificDataProvider { return new BossfightProcessorBonzo(); } else if (floor.equals("F3")) { return new BossfightProcessorProf(); -// } else if (floor.equals("F4")) { -// GeneralBossfightProcessor bossfightProcessor = new GeneralBossfightProcessor(); -// bossfightProcessor.addPhase(GeneralBossfightProcessor.PhaseData.builder() -// .phase("fight").build() -// ); -// return bossfightProcessor; + } else if (floor.equals("F4")) { + return new BossfightProcessorThorn(); } else if (floor.equals("F5")) { return new BossfightProcessorLivid(); } diff --git a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bossfight/BossfightProcessorThorn.java b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bossfight/BossfightProcessorThorn.java new file mode 100644 index 00000000..ec37d65a --- /dev/null +++ b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bossfight/BossfightProcessorThorn.java @@ -0,0 +1,25 @@ +package kr.syeyoung.dungeonsguide.roomprocessor.bossfight; + +import kr.syeyoung.dungeonsguide.utils.TextUtils; +import net.minecraft.entity.boss.BossStatus; +import net.minecraft.entity.item.EntityArmorStand; +import net.minecraftforge.event.entity.living.LivingEvent; + +import java.util.ArrayList; +import java.util.List; + +public class BossfightProcessorThorn extends GeneralBossfightProcessor { + public BossfightProcessorThorn() { + addPhase(GeneralBossfightProcessor.PhaseData.builder() + .phase("fight").build() + ); + } + + + @Override + public List<HealthData> getHealths() { + List<HealthData> healths = new ArrayList<HealthData>(); + healths.add(new HealthData("Thorn", (int) Math.round(BossStatus.healthScale * 4),4, true)); + return healths; + } +} |