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