自动战斗添加限制
parent
00967764c6
commit
8c973c8aae
File diff suppressed because it is too large
Load Diff
|
@ -1815,7 +1815,7 @@ FUNCTION_OPEN_TYPE = {
|
|||
Train = 150, --特训
|
||||
TrainBuild = 151, --特训建筑
|
||||
HelpFight = 152, --助阵
|
||||
|
||||
AutoSoliderDraw =154,--自动抽小兵
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -291,7 +291,7 @@ Language = {
|
|||
[10290] = GetLanguageStrById("已通过"),
|
||||
[10291] = GetLanguageStrById("<color=red>战力:%s</color>"),
|
||||
[10292] = GetLanguageStrById("未开启"),
|
||||
[10293] = GetLanguageStrById("玩家等级不足%s级!"),
|
||||
[10293] = GetLanguageStrById("玩家等级不足%s级"),
|
||||
[10294] = GetLanguageStrById("战斗力到达%s解锁"),
|
||||
[10295] = GetLanguageStrById("通关%s解锁"),
|
||||
[10296] = GetLanguageStrById("通关前置副本解锁"),
|
||||
|
|
|
@ -298,6 +298,13 @@ function FightPointPassMainPanel:BindEvent()
|
|||
|
||||
invadeMonster:BindEvent()
|
||||
Util.AddClick(this.btn_auto,function ()
|
||||
if OperatingManager.IsBuyGift(2202)==false and CheckFunctionOpen(FUNCTION_OPEN_TYPE.AutoSoliderDraw)==false then
|
||||
local tip=GetFunctionOpenTip(FUNCTION_OPEN_TYPE.AutoSoliderDraw)
|
||||
PopupTipPanel.ShowTip(string.format("%s或未开通超级特权",tip))
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
if SmallSoldierManager.changeSolider then
|
||||
PopupTipPanel.ShowTip("有未操作的神兵,请操作后再进行自动抽取")
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue