ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGodWeapon.py
@@ -36,6 +36,7 @@
#import EventReport
import IpyGameDataPY
import PassiveBuffEffMng
import OpenServerCampaign
import random
@@ -86,6 +87,15 @@
        setFunc, notifyType = sceneEffectsDict[weaponType]
        setFunc(curPlayer, lv)
        curPlayer.SendPropertyRefresh(notifyType, lv, False)
    totalLV = 0
    ipyDataMgr = IpyGameDataPY.IPY_Data()
    maxType = ipyDataMgr.GetGodWeaponByIndex(ipyDataMgr.GetGodWeaponCount()-1).GetType()
    for gwType in xrange(1, maxType + 1):
        totalLV += curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_GodWeaponLV % gwType)
    # 开服活动数据
    OpenServerCampaign.UpdOpenServerCampaignRecordData(curPlayer, ShareDefine.Def_Campaign_Type_GodWeaponLV, totalLV)
    return
## 神器开启
@@ -316,11 +326,13 @@
            PlayerControl.WorldNotify(0, sysMark, [curPlayer.GetName(), weaponType])
            
        #{1:[100,200,300,400],2:[100,200,300,400],3:[100,200,300,400]}
        notifyDict = IpyGameDataPY.GetFuncEvalCfg('GodLv', 1, {})
        if weaponType in notifyDict:
            for notifyLV in notifyDict[weaponType]:
                if beforeAttrLV < notifyLV and attrLV >= notifyLV:
                    PlayerControl.WorldNotify(0, 'GodWeaponLv', [curPlayer.GetName(), weaponType, notifyLV])
        #=======================================================================
        # notifyDict = IpyGameDataPY.GetFuncEvalCfg('GodLv', 1, {})
        # if weaponType in notifyDict:
        #    for notifyLV in notifyDict[weaponType]:
        #        if beforeAttrLV < notifyLV and attrLV >= notifyLV:
        #            PlayerControl.WorldNotify(0, 'GodWeaponLv', [curPlayer.GetName(), weaponType, notifyLV])
        #=======================================================================
                
        # 神兵特效激活广播
        godWeaponEffectData = IpyGameDataPY.GetIpyGameDataByCondition('GodWeaponEffect', {'GWType':weaponType, "Level":attrLV}, False, False)