local Base = require("Battle/Expression/ExpLevel/ExpLevelFunction/ExpLevelFunction") local EventSystem = require('Event/EventSystem') local ExpGoldHeroTrialLevelFunction = class("ExpGoldHeroTrialLevelFunction", Base) function ExpGoldHeroTrialLevelFunction:OnPlayerAllHeroDead(entity) --do nothing 防止调用base 这个模式不要镜头变灰 end function ExpGoldHeroTrialLevelFunction:OnLevelSucceed() --不调用base EventSystem.Dispatch(EventID.Level_BattleSummary, true, false, FP.tonumberV1(self.levelFunction.dmgToBoss)) end function ExpGoldHeroTrialLevelFunction:OnLevelFail() --不调用base EventSystem.Dispatch(EventID.Level_BattleSummary, true, false, FP.tonumberV1(self.levelFunction.dmgToBoss)) end return ExpGoldHeroTrialLevelFunction