| | |
| | | import ChPyNetSendPack |
| | | import IPY_GameWorld |
| | | import NetPackCommon |
| | | import PlayerGubao |
| | | import ItemCommon |
| | | import ChConfig |
| | | import SkillCommon |
| | |
| | | shentongID = curPackData.ShentongID |
| | | ipyData = IpyGameDataPY.GetIpyGameData("Shentong", shentongID) |
| | | if not ipyData: |
| | | return |
| | | needGubaoID = ipyData.GetNeedGubaoID() |
| | | if needGubaoID and not PlayerGubao.GetGubaoLVInfo(curPlayer, needGubaoID)[1]: |
| | | GameWorld.DebugLog("古宝未激活,无法升级神通! shentongID=%s,needGubaoID=%s" % (shentongID, needGubaoID), playerID) |
| | | return |
| | | |
| | | classLV, lv = GetShentongLVInfo(curPlayer, shentongID) |