hxp
8 天以前 ffb198b68f7e75f4fb2046189f1e7b2992d2ebac
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFamilyRedPacket.py
@@ -21,7 +21,6 @@
import ChPyNetSendPack
import PlayerFeastRedPacket
import NetPackCommon
import PlayerVip
import ShareDefine
import CommFunc
@@ -185,10 +184,6 @@
    wishInfo = clientData.Wish
    isAnonymous = clientData.IsAnonymous
    if not redPacketID:
        #主动发的钻石红包 vip限制
        if not PlayerVip.GetPrivilegeValue(curPlayer, ChConfig.VIPPrivilege_FamilyGoldPack):
            GameWorld.DebugLog("主动发的钻石红包 VIP权限不足")
            return
        __DoCreatRedPacket(curPlayer, ShareDefine.RedPackType_GoldPacket, IPY_GameWorld.TYPE_Price_Gold_Money, moneyNum, packetCnt, State_NoGot, wishInfo)
    else:
        # 注意:该函数发放的是已创建的红包,该操作只是把该红包开放给玩家可抢