ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/TurnAttack.py
@@ -21,6 +21,7 @@ import ChConfig import PlayerTask import PlayerActivity import PlayerViewCache import ChPyNetSendPack import NetPackCommon @@ -1653,6 +1654,7 @@ # 暂时只算主线小怪 if curPlayer and turnFight.mapID == ChConfig.Def_FBMapID_Main and gameObj.GetFaction() != ChConfig.Def_FactionA: PlayerTask.AddTaskValue(curPlayer, ChConfig.TaskType_KillNPC, 1) PlayerActivity.AddDailyTaskValue(curPlayer, ChConfig.DailyTask_KillNPC, 1) return True def OnTurnAllOver(guid):