This commit is contained in:
雨下倾听 2025-09-28 10:32:09 +08:00
parent 4c237dd638
commit 1df55cd345

View File

@ -788,7 +788,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
} else { } else {
hero.def += GEM hero.def += GEM
core.drawTip("获得" + core.material.items[itemId].name + ",防御力提升" + GEM + "点", itemId) core.drawTip("获得" + core.material.items[itemId].name + ",防御力提升" + GEM + "点", itemId)
if (flags.MapStatus?.Choose === "Mamushi" && R) core.playSound("宝石") if (flags.MapStatus?.Choose === "Mamushi" & GEM > 0) core.playSound("宝石")
else if (flags.MapStatus?.Choose !== "Mamushi") core.playSound("宝石") else if (flags.MapStatus?.Choose !== "Mamushi") core.playSound("宝石")
} }
} }