| | |
| | | ipyData = IpyGameDataPY.GetIpyGameDataByCondition('Treasure', {'FBMapID':mapID, 'FBLineID':lineID})
|
| | | if not ipyData:
|
| | | return
|
| | | mwID = ipyData.GetID()
|
| | | if curPlayer.GetLV() < ipyData.GetNeedLV():
|
| | | GameWorld.Log('通关副本激活法宝 ,等级不足!!!mwID=%s, needLV=%s' % (mwID, ipyData.GetNeedLV()))
|
| | | return
|
| | | mwID = ipyData.GetID()
|
| | |
|
| | | DoActiveMW(curPlayer, mwID)
|
| | | return
|
| | |
|
| | |
| | | return
|
| | | elif mwID == 101: #定海神针特殊 可直接获得
|
| | | FBCommon.Notify_FB_Over(curPlayer, {FBCommon.Over_dataMapID:ChConfig.Def_FBMapID_MagicWeapon,FBCommon.Over_isPass:1})
|
| | | PlayerControl.SetCustomMap(curPlayer, 0, 0)
|
| | | else:
|
| | | return
|
| | | DoActiveMW(curPlayer, mwID)
|