fix bug
This commit is contained in:
parent
e1d389b02d
commit
0e52275cc9
@ -191,7 +191,15 @@ end
|
|||||||
|
|
||||||
--@region 红点
|
--@region 红点
|
||||||
function SummonData:hasSummonCostRedPoint()
|
function SummonData:hasSummonCostRedPoint()
|
||||||
return self:hasSummonFree(1) or self:hasSummonFree(2)
|
return self:hasSummonFree(1) or self:hasSummonFree(2) or self:hasSummonCost1() or self:hasSummonCost2()
|
||||||
|
end
|
||||||
|
|
||||||
|
function SummonData:hasSummonCost1()
|
||||||
|
return DataManager.BagData.ItemData:getItemNumById(GConst.ItemConst.ITEM_ID_SUMMON_1) > 0
|
||||||
|
end
|
||||||
|
|
||||||
|
function SummonData:hasSummonCost2()
|
||||||
|
return DataManager.BagData.ItemData:getItemNumById(GConst.ItemConst.ITEM_ID_SUMMON_2) > 0
|
||||||
end
|
end
|
||||||
--@endregion
|
--@endregion
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user