438 【方案】方案预设-服务端(增加解锁类型2-命格感悟等级;)
| | |
| | | infoDict = {"funcPresetType":funcPresetType, "presetID":presetID}
|
| | | if not PlayerControl.PayMoney(curPlayer, IPY_GameWorld.TYPE_Price_Gold_Money, needGold, "FuncPresetUnlock", infoDict):
|
| | | return
|
| | | |
| | | # 命格感悟等级
|
| | | elif unlockType == 2:
|
| | | needGWLV = unlockValue
|
| | | ganwuLV = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_MGGanwuLV)
|
| | | if ganwuLV < needGWLV:
|
| | | GameWorld.DebugLog("命格感悟等级不足无法解锁该预设! funcPresetType=%s,presetID=%s,ganwuLV=%s < %s" % (funcPresetType, presetID, ganwuLV, needGold))
|
| | | return
|
| | | |
| | | else:
|
| | | return
|
| | |
|