Merge branch 'china/local' into china/test
commit
63e5f8a705
|
@ -1042,6 +1042,8 @@ JumpType = {
|
|||
SheJiDaDianShangDian = 20060, --社稷大典商店
|
||||
XinJiangLaiXiShangDian = 20200, --社稷大典商店
|
||||
XingChenShangDian = 20059, --星辰商店
|
||||
|
||||
ChaoFanRuSheng = 20061,
|
||||
}
|
||||
|
||||
NPCPosType={
|
||||
|
|
|
@ -242,13 +242,13 @@ function BuffManager:ClearBuff(target, func)
|
|||
while idx <= list.size do
|
||||
local buff = list.buffer[idx]
|
||||
if buff.target == target and (not func or (func and buff.clear and func(buff))) then
|
||||
if func and func(buff) then
|
||||
-- if func and func(buff) then
|
||||
if buff.type== BuffName.Shield then
|
||||
buff.target.Event:DispatchEvent(BattleEventName.ShowHintText, BattleArtFontType.Shield)
|
||||
elseif buff.type== BuffName.DOT or buff.type==BuffName.Control or buff.type==BuffName.Immune then
|
||||
elseif buff.type== BuffName.DOT or buff.type==BuffName.Control then
|
||||
buff.target.Event:DispatchEvent(BattleEventName.ShowHintText, BattleArtFontType.clear)
|
||||
end
|
||||
end
|
||||
-- end
|
||||
buff:OnEnd()
|
||||
buff.target.Event:DispatchEvent(BattleEventName.BuffEnd, buff)
|
||||
putBuff(buff)
|
||||
|
|
|
@ -5708,7 +5708,7 @@ local passivityList = {
|
|||
BattleUtil.RandomAction(pro, function()
|
||||
BattleLogic.BuffMgr:ClearBuff(defRole, function(buff)
|
||||
if buff.type == BuffName.Immune and (buff.immuneType == 4 or buff.immuneType == 2) then
|
||||
-- buff.target.Event:DispatchEvent(BattleEventName.ShowHintText, BattleArtFontType.clear)
|
||||
buff.target.Event:DispatchEvent(BattleEventName.ShowHintText, BattleArtFontType.clear)
|
||||
return true
|
||||
end
|
||||
return false
|
||||
|
|
|
@ -666,6 +666,9 @@ local jumpDic = {
|
|||
[JumpType.EndlessXingDongliBuy] = function(data)
|
||||
UIManager.OpenPanel(UIName.QuickPurchasePanel, { type = 1 })
|
||||
end,
|
||||
[JumpType.ChaoFanRuSheng] = function(data)
|
||||
this.JumpActivity(ActivityTypeDef.ChaoFanRuSheng,data[1])
|
||||
end,
|
||||
}
|
||||
|
||||
function this.JumpActivity(data,skipfactor)
|
||||
|
|
Loading…
Reference in New Issue