| | |
| | | value = GameWorld.ToIntDef(curActionNode.GetAttribute("value"), 0)
|
| | | mwID = GameWorld.ToIntDef(curActionNode.GetAttribute("mwid"), 0)
|
| | | return PlayerMagicWeapon.GetXBXZAwardProgress(curPlayer, mwID) >= value |
| | |
|
| | | ##商城表商品购买记录判断(只适用购买次数不重置的)
|
| | | # @param None
|
| | | # @return None <Check_Buyshopitem value="数量" index="商城表唯一ID"/>
|
| | | def ConditionType_Check_Buyshopitem(curPlayer, curMission, curActionNode):
|
| | | value = GameWorld.ToIntDef(curActionNode.GetAttribute("value"), 0)
|
| | | itemIndex = GameWorld.ToIntDef(curActionNode.GetAttribute("index"), 0)
|
| | | curDayBuyCnt = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_ShopItemDayBuyCnt % itemIndex)
|
| | | return curDayBuyCnt >= value |