xdh
2019-05-21 c26890bfb6fc43e232d062b241cba11b8797f5b2
6501 新增任务接口
1个文件已修改
8 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFairyDomain.py 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFairyDomain.py
@@ -304,14 +304,14 @@
        return
    if curState == state:
        return True
    ipyData = IpyGameDataPY.GetIpyGameData('FairyDomain', fdeventID)
    if not ipyData:
        return
    if state == FDEventState_Visiting:
        if curState != FDEventState_CanVisit:
            GameWorld.DebugLog('缥缈仙域事件状态设置错误,fdeventID=%s, state=%s, curState=%s' % (fdeventID, state, curState))
            return
        ipyData = IpyGameDataPY.GetIpyGameData('FairyDomain', fdeventID)
        if not ipyData:
            return
        costEnergy = ipyData.GetCostEnergy()
        curEnergy = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_FairyDomainEnergy)
        if curEnergy < costEnergy: