hxp
3 天以前 540eced2499bf2814f3264c0d41eb0e9c52b9957
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py
@@ -77,8 +77,6 @@
import ItemControler
import ItemCommon
import ShareDefine
import PlayerCoat
import PlayerRune
import IpyGameDataPY
import NPCCommon
@@ -97,6 +95,8 @@
#@return 返回值无意义
#@remarks C++触发封包重读所有事件
def ReloadEvent(tick):
    GameWorld.__ReloadScript() # 只调用一次,与后台重读脚本一致
    scriptPath = ChConfig.GetAppPath() + "Script\\Event\\EventSrc"
    GameWorld.ReloadScript(scriptPath, "EventSrc")
    
@@ -367,15 +367,6 @@
    pack_DesBackPack = sendPack.GetDesBackPack()
    pack_SrcIndex = sendPack.GetSrcIndex()
    pack_DestIndex = sendPack.GetDestIndex()
    # 符印交换
    if PlayerRune.SwitchRune(curPlayer, pack_SrcBackpack, pack_DesBackPack, pack_SrcIndex, pack_DestIndex):
        return
    #ʱװ
    if PlayerCoat.SwitchCoat(curPlayer, pack_SrcBackpack, pack_DesBackPack, pack_SrcIndex, pack_DestIndex):
        return
    #FunctionNPCCommon.PackItemExchange(curPlayer, pack_SrcBackpack, pack_DesBackPack, 
    #                                      pack_SrcIndex, pack_DestIndex, tick)
    return