Skip to content

Commit

Permalink
解决彩进常驻池后无法使用插件的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
rainlodo committed Feb 26, 2024
1 parent d1926fe commit 4a225f3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
4 changes: 3 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ plugins {
}

group = "org.iris.wiki"
version = "0.4.2"
version = "0.4.2.1"

repositories {
mavenLocal()
maven("https://maven.aliyun.com/repository/public") // 阿里云国内代理仓库
maven("https://maven.aliyun.com/repository/google")
maven("https://maven.aliyun.com/repository/jcenter")
mavenCentral()
}
dependencies {
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-bin.zip
distributionUrl=https\://mirrors.cloud.tencent.com/gradle/gradle-7.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
6 changes: 6 additions & 0 deletions src/main/kotlin/utils/DrawUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ object DrawUtils {
"卡辛", "唐斯", "克雷文", "麦考尔", "富特", "斯彭斯", "奥利克", "奥马哈", "罗利", "小猎兔犬", "大斗犬", "彗星", "新月", "小天鹅", "狐提", "利安得", "睦月", "如月", "卯月", "长良", "柯尼斯堡", "卡尔斯鲁厄", "科隆"
)

ship_contain_map[Pair(DrawType.Heavy, Rarity.UR)] = listOf(
"花园", "信浓"
)
ship_contain_map[Pair(DrawType.Heavy, Rarity.SSR)] = listOf(
"骏河", "明尼阿波利斯", "北卡罗来纳", "华盛顿", "胡德", "厌战", "高雄", "欧根亲王", "让·巴尔", "马萨诸塞", "天城", "长门", "加贺BB", "土佐", "俾斯麦", "英王乔治五世", "加斯科涅(μ兵装)", "波拉", "扎拉", "利托里奥", "巴尔的摩", "阿拉巴马"
)
Expand All @@ -83,6 +86,9 @@ object DrawUtils {
"彭萨科拉", "内华达", "俄克拉荷马", "青叶", "衣笠"
)

ship_contain_map[Pair(DrawType.Special, Rarity.UR)] = listOf(
"花园", "信浓"
)
ship_contain_map[Pair(DrawType.Special, Rarity.SSR)] = listOf(
"龙凤", "企业", "埃塞克斯", "半人马", "胜利", "翔鹤", "瑞鹤", "伊19", "明石", "U-81", "U-47", "U-101", "伊168", "香格里拉", "伊13", "U-96", "赤城(μ兵装)", "可畏", "大凤(μ兵装)"
)
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/utils/UpdateUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ object UpdateUtils {

val doc = Jsoup.parse(data)
val ship_contain_map = hashMapOf<Pair<DrawUtils.DrawType, DrawUtils.Rarity>, List<String>>()
val rarityList = listOf(DrawUtils.Rarity.SSR, DrawUtils.Rarity.SR, DrawUtils.Rarity.R, DrawUtils.Rarity.N)
val rarityList = listOf(DrawUtils.Rarity.UR, DrawUtils.Rarity.SSR, DrawUtils.Rarity.SR, DrawUtils.Rarity.R, DrawUtils.Rarity.N)
val poolList = listOf(DrawUtils.DrawType.Light, DrawUtils.DrawType.Heavy, DrawUtils.DrawType.Special)
doc.select("div.Root").forEachIndexed { poolIndex, pool ->
pool.select("td.BuildingList").forEachIndexed { rarityIndex, rarity ->
Expand Down

0 comments on commit 4a225f3

Please sign in to comment.