diff --git a/src/main/scala/com/github/unchama/seichiassist/util/BreakUtil.scala b/src/main/scala/com/github/unchama/seichiassist/util/BreakUtil.scala index 29edc3a824..86103cd585 100644 --- a/src/main/scala/com/github/unchama/seichiassist/util/BreakUtil.scala +++ b/src/main/scala/com/github/unchama/seichiassist/util/BreakUtil.scala @@ -174,6 +174,23 @@ object BreakUtil { canBreakBlockMadeFromQuartz } + def isBreakBlockManaFullyConsumed( + player: Player, + ): Boolean = { + + val isBreakBlockManaFullyConsumed = SeichiAssist + .instance + .breakSkillTargetConfigSystem + .api + .breakSkillTargetConfig(player, BreakSkillTargetConfigKey.ManaFullyConsumed) + .unsafeRunSync() + + if(isBreakBlockManaFullyConsumed){ + ActionBarMessageEffect(s"${RED}スキルでのマナ切れでブロック破壊を止めるは有効化されています").run(player).unsafeRunSync() + } + isBreakBlockManaFullyConsumed + } + private def equalsIgnoreNameCaseWorld(name: String): Boolean = { val world = ManagedWorld.fromName(name).getOrElse(return false)