diff options
Diffstat (limited to 'src/main/java/kr')
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; + } +} |