森罗回春散使用 问题修复

(cherry picked from commit 69fee1514f)
dev_chengFeng
ZhangBiao 2020-10-12 14:43:44 +08:00
parent 2f31dad427
commit a47d882155
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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)