parent
2f31dad427
commit
a47d882155
|
@ -99,7 +99,7 @@ function this:BindEvent()
|
|||
--更新精气值
|
||||
LogGreen(Language[12222]..msg.essenceValue)
|
||||
MapTrialManager.powerValue = msg.essenceValue
|
||||
|
||||
Game.GlobalEvent:DispatchEvent(GameEvent.Map.RefreshHeroHp,false,nil,false)--打完刷新血量
|
||||
--召唤Boss
|
||||
if CarbonManager.difficulty == CARBON_TYPE.TRIAL and MapTrialManager.powerValue >= 100 then
|
||||
MapTrialManager.isHaveBoss = true
|
||||
|
|
|
@ -343,6 +343,7 @@ local directFight = function(showType, eventId, showValues, options)
|
|||
CarbonManager.InitQuickFightData(monsterGroupId, eventId, msg)
|
||||
--更新精气值
|
||||
MapTrialManager.powerValue = msg.essenceValue
|
||||
Game.GlobalEvent:DispatchEvent(GameEvent.Map.RefreshHeroHp,false,nil,false)--打完刷新血量
|
||||
-- --召唤Boss
|
||||
if CarbonManager.difficulty == CARBON_TYPE.TRIAL and MapTrialManager.powerValue >= 100 then
|
||||
MapTrialManager.isHaveBoss = true
|
||||
|
@ -352,7 +353,6 @@ local directFight = function(showType, eventId, showValues, options)
|
|||
end
|
||||
|
||||
end
|
||||
Game.GlobalEvent:DispatchEvent(GameEvent.Map.RefreshHeroHp,false,nil,false)
|
||||
end
|
||||
|
||||
-- 起名字界面
|
||||
|
@ -466,6 +466,7 @@ function this.EventPointTrigger(eventId)
|
|||
local showValues = string.split(EventPointConfig[eventId].ShowValues, "|")
|
||||
|
||||
Game.GlobalEvent:DispatchEvent(GameEvent.Event.PointTrigger, showType, eventId, showValues, options)
|
||||
Game.GlobalEvent:DispatchEvent(GameEvent.Map.RefreshHeroHp,false,nil,false)
|
||||
|
||||
-- 根据不同的显示类型执行方法
|
||||
if funcList[showType] then funcList[showType](showType, eventId, showValues, options)
|
||||
|
|
Loading…
Reference in New Issue