hxp
2019-03-12 ee187412fd4ac950aa33b493e8214d6a0701357f
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py
@@ -278,6 +278,8 @@
    objID = msgData["ObjID"]
    npcID = msgData["NPCID"]
    curNPC = GameWorld.FindNPCByID(objID)
    if not curNPC:
        return
    if npcID !=  curNPC.GetNPCID():
        GameWorld.ErrLog("采集跨服NPC错误!npcID=%s != curNPCID=%s" % (npcID, curNPC.GetNPCID()))
        return
@@ -866,8 +868,9 @@
            giveItem.Clear()
            continue
    
    #---初始化装备显隐---前端自己设置
    #curPlayer.SetEquipShowSwitch(IPY_GameWorld.revClothesCoat|IPY_GameWorld.revWeaponCoat|IPY_GameWorld.revMask)
    #---初始化装备显隐 第1套*10+没有套装
    curPlayer.SetEquipShowSwitch(10)
    PlayerControl.SetFaceEquipIndex(curPlayer, 11012014)
    
    #默认触发一次功能开启
    if curPlayer.GetLV() == 1:
@@ -1896,9 +1899,9 @@
    RunQuestEvent(curPlayer, "trialexange", costItemID, Def_RunQuestType_Normal)
    return
def EventRespons_EquipByPlace(curPlayer, equipplace):
def EventRespons_EquipByPlace(curPlayer, itemClassLV, equipplace):
    #穿戴某部位装备(非时效)
    RunQuestEvent(curPlayer, "equipbyplace", equipplace, Def_RunQuestType_Normal)
    RunQuestEvent(curPlayer, "equipbyplace", '%s_%s'%(itemClassLV, equipplace), Def_RunQuestType_Normal)
    return
def EventRespons_CompoundEquip(curPlayer, itemColor, itemQuality):
@@ -5061,7 +5064,7 @@
            PlayerControl.NotifyCode(curPlayer, "GeRen_chenxin_998371")
            return
        for itemID, itemCount, isBind in itemList:
            ItemControler.GivePlayerItem(curPlayer, itemID, itemCount, isBind, [IPY_GameWorld.rptItem])
            ItemControler.GivePlayerItem(curPlayer, itemID, itemCount, 0, [IPY_GameWorld.rptItem])
    
    #给经验
    giveExp = 0