hxp
2020-02-11 3eee55d3e918bf2386fc59836dd2c89e21e6c1c3
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py
@@ -2749,8 +2749,9 @@
        sendPack.HurtList.append(hurtList)
        
    sendPack.HurtCount = len(sendPack.HurtList)
    sendPack.SkillElementID = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_SkillElementID % skillID)
    PlayerControl.PyNotifyAll(curPlayer, sendPack, notifySelf=True, notifyCnt=-1)
    return
# py重现View_UseSkillPos效果,对地通知,只用于玩家
@@ -2785,6 +2786,7 @@
        
    sendPack.HurtCount = len(sendPack.HurtList)
    if attacker.GetGameObjType() == IPY_GameWorld.gotPlayer:
        sendPack.SkillElementID = attacker.NomalDictGetProperty(ChConfig.Def_PDict_SkillElementID % skillID)
        PlayerControl.PyNotifyAll(attacker, sendPack, notifySelf, -1)
    else:
        attacker.NotifyAll(sendPack.GetBuffer(), sendPack.GetLength())
@@ -2826,6 +2828,7 @@
        sendPack.HurtList.append(hurtList)
        
    sendPack.HurtCount = len(sendPack.HurtList)
    sendPack.SkillElementID = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_SkillElementID % skillID)
    NetPackCommon.SendFakePack(curPlayer, sendPack)
    return