ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py
@@ -107,6 +107,7 @@
import NPCCommon
import PlayerVip
import PlayerGoldInvest
import PlayerPrestigeSys
import GameObj
import math
@@ -5198,10 +5199,13 @@
# {
#    tagHead        Head;
#    DWORD        CountID;        // 计数ID,客户端与策划约定,可以是NPCID或其他
#    BYTE        Type;    // 1-杀怪
# };
#===============================================================================
def ClientTaskCount(index, clientData, tick):
    curPlayer = GameWorld.GetPlayerManager().GetPlayerByIndex(index)
    countType = clientData.Type
    RunQuestEvent(curPlayer, "on_client_by_id", clientData.CountID, Def_RunQuestType_Normal)
    if countType == 1:
        PlayerPrestigeSys.AddRealmTaskValue(curPlayer, PlayerPrestigeSys.RealmTaskType_KillNPC, 1)
    return