xdh
2019-03-26 fb4cdd5b8029f67c4857347a3eda8d7252e051e9
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFamilyStore.py
@@ -22,7 +22,7 @@
import ItemControler
import ShareDefine
import ChConfig
import PlayerSuccess
import EventShell
import math
@@ -132,6 +132,8 @@
    msgList = ["DonateItem", itemDict]
    GameWorld.GetPlayerManager().GameServer_QueryPlayerResult(curPlayer.GetID(), 0, 0, "FamilyStore",
                                                              '%s' % (msgList), len(str(msgList)))
    EventShell.EventRespons_StoreDonate(curPlayer)
    return
def OnFamilyStoreQueryResult(curPlayer, result):
@@ -252,7 +254,7 @@
        itemDict['IsBind'] = isBind
        ItemControler.GivePlayerEquip(curPlayer, itemDict, event=[ChConfig.ItemGive_FamilyStore, False, {}])
    else:
        ItemControler.GivePlayerItem(curPlayer, itemID, itemCount, isBind, [IPY_GameWorld.rptItem],
        ItemControler.GivePlayerItem(curPlayer, itemID, itemCount, 0, [IPY_GameWorld.rptItem],
                                     event=[ChConfig.ItemGive_FamilyStore, False, {}])
        
    # 广播战盟频道