local Base = require("Battle/Expression/ExpLevel/ExpLevelFunction/ExpSyncWorldBossLevelFunction") local EventSystem = require('Event/EventSystem') local ExpSyncCountryEveningBossLevelFunction = class("ExpSyncCountryEveningBossLevelFunction", Base) function ExpSyncCountryEveningBossLevelFunction:RefreshNo1Icon(damageList) --不调用base -- do nothing, 避免调用基类,晚间boss要求不显示宝箱图标 end function ExpSyncCountryEveningBossLevelFunction:OnCreatePlayerEntitys(worldBossData) --不调用base -- do nothing, 因为晚间boss没有 worldBossData end function ExpSyncCountryEveningBossLevelFunction:ShowRivalEffect(playerID, entity) --do nothing 晚间boss不显示仇敌 end function ExpSyncCountryEveningBossLevelFunction:OnHandleHeroDead(killer, deadEntity, involveKillPlayerIDList, assistHeroEntityIDList, kStatistic, relaxAssistPlayerIDList, relaxKillPlayerIDList) -- 不用base EventSystem.Dispatch(EventID.Level_HeroDead, killer, deadEntity, involveKillPlayerIDList, assistHeroEntityIDList, relaxAssistPlayerIDList) -- 显示 n 助 EventSystem.Dispatch(EventID.Level_UpdateKillHeroNum, killer, kStatistic and kStatistic[LuaConst.EStatisticType.RelaxHeroKillNum], relaxKillPlayerIDList) --显示 n 斩 end return ExpSyncCountryEveningBossLevelFunction