local Base = require("Battle/Expression/ExpLevel/ExpLevelFunction/ExpLevelFunction") local EventSystem = require('Event/EventSystem') local ExpDemonGodLevelFunction = class("ExpDemonGodLevelFunction", Base) function ExpDemonGodLevelFunction:OnLevelSucceed() --不调用base EventSystem.Dispatch(EventID.Level_BattleSummary, true, false, FP.tonumberV1(self.levelFunction.dmgToBoss), nil, self.levelFunction:GetArmyDamageList(), nil, BattleDataGetter.GetCurEntity():GetCharacterID()) end function ExpDemonGodLevelFunction:OnLevelFail() --不调用base EventSystem.Dispatch(EventID.Level_BattleSummary, false, false, FP.tonumberV1(self.levelFunction.dmgToBoss), nil, self.levelFunction:GetArmyDamageList(), nil, BattleDataGetter.GetCurEntity():GetCharacterID()) end return ExpDemonGodLevelFunction