ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerYinji.py
@@ -58,4 +58,28 @@
    curPlayer.SetDict(Def_LastYinji_Tick, GameWorld.GetGameWorld().GetTick())
    pack = ChPyNetSendPack.tagMCYinjiStartTime()
    NetPackCommon.SendFakePack(curPlayer, pack)
    NetPackCommon.SendFakePack(curPlayer, pack)
#===============================================================================
# // B4 0D 战斗印记 #tagCMYinji
#
# struct    tagCMYinji
# {
#    tagHead        Head;
#    BYTE        Count;
#    BYTE        Type;    // 0 加,1减
# };
#===============================================================================
def OnYinji(index, clientData, tick):
    curPlayer = GameWorld.GetPlayerManager().GetPlayerByIndex(index)
    if curPlayer.GetLV() > 100:
        # 只是为了前期前端战斗的使用
        return
    if clientData.Type == 0:
        AddYinji(curPlayer, clientData.Count)
    elif clientData.Type == 1:
        SubYinji(curPlayer, clientData.Count)
    return