【心魔试炼】3

dev_chengFeng
zhangqiang 2021-06-09 20:29:50 +08:00
parent 1a12b261d5
commit 8b4aa53984
1 changed files with 1 additions and 0 deletions

View File

@ -226,6 +226,7 @@ function MonsterCampSingleWave:SetIcon()
self.fightBtnText.text = string.format("<color=#%s>%s</color>","17232A","免费扫荡")
self.fightBtnMask.sprite = self.spLoader:LoadSprite("r_guji_jihuianniu_02")
else
self.fightBtnMask.sprite = self.spLoader:LoadSprite("r_guji_jihuianniu_02")
self.fightBtnIcon.gameObject:SetActive(true)
self.fightBtnNum.gameObject:SetActive(true)
local color = BagManager.GetItemCountById(self.itemId) < self.costNum and "E71515" or "17232A"