bugfix
This commit is contained in:
parent
1df55cd345
commit
585dc614ab
@ -782,13 +782,13 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
|
|||||||
if (itemId.startsWith("red")) {
|
if (itemId.startsWith("red")) {
|
||||||
hero.atk += GEM
|
hero.atk += 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("宝石")
|
||||||
|
|
||||||
} 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" & GEM > 0) 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("宝石")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user