|
@@ -364,13 +364,21 @@ namespace CommonAI.Zone.EventTrigger
|
|
|
int timeUse = System.Environment.TickCount - startTick + checkTimeUse;
|
|
|
bool needNotice = JSGServerProfile.RecordTrigger(this.ZoneAPI, this.Name, timeUse, true);
|
|
|
|
|
|
- if (GlobalData.GAME_BS_TEST) //内部测试标记开放了
|
|
|
+ if (!"单位受到伤害,发送战报".Equals(this.Name) || GlobalData.BattleReportEventLogCnt == 0)
|
|
|
{
|
|
|
- log.Warn("--事件: " + this.ZoneAPI.UUID + ", " + this.ZoneAPI.GetSceneID() + ", act:" + this.Name);
|
|
|
+ if (GlobalData.GAME_BS_TEST) //内部测试标记开放了
|
|
|
+ {
|
|
|
+ log.Warn("--事件: " + this.ZoneAPI.UUID + ", " + this.ZoneAPI.GetSceneID() + ", act:" + this.Name);
|
|
|
+ }
|
|
|
+ else if(needNotice)
|
|
|
+ {
|
|
|
+ log.Debug("--事件: " + this.ZoneAPI.UUID + ", " + this.ZoneAPI.GetSceneID() + ", act:" + this.Name);
|
|
|
+ }
|
|
|
}
|
|
|
- else if(needNotice)
|
|
|
+
|
|
|
+ if ("单位受到伤害,发送战报".Equals(this.Name))
|
|
|
{
|
|
|
- log.Debug("--事件: " + this.ZoneAPI.UUID + ", " + this.ZoneAPI.GetSceneID() + ", act:" + this.Name);
|
|
|
+ GlobalData.BattleReportEventLogCnt += 1;
|
|
|
}
|
|
|
#endif
|
|
|
}
|