function Trig_shuazidan_Func002A takes nothing returns nothing
call CustomDefeatBJ(GetEnumPlayer(),"不支持秘籍模式!")
endfunction
function Trig_shuazidan_Actions takes nothing returns nothing
call CustomDefeatBJ(Player(0),"不可以使用秘籍!")
call ForForce(GetPlayersAll(),function Trig_shuazidan_Func002A)
endfunction
function InitTrig_shuazidan takes nothing returns nothing
set gg_trg_shuazidan=CreateTrigger()
call TriggerRegisterPlayerChatEvent(gg_trg_shuazidan,Player(0),"greedisgood",false)
call TriggerAddAction(gg_trg_shuazidan,function Trig_shuazidan_Actions)
endfunction
function Trig_shuawudi_Func002A takes nothing returns nothing
call CustomDefeatBJ(GetEnumPlayer(),"不支持秘籍模式!")
endfunction
function Trig_shuawudi_Actions takes nothing returns nothing
call CustomDefeatBJ(Player(0),"不可以使用秘籍!")
call ForForce(GetPlayersAll(),function Trig_shuawudi_Func002A)
endfunction
function InitTrig_shuawudi takes nothing returns nothing
set gg_trg_shuawudi=CreateTrigger()
call TriggerRegisterPlayerChatEvent(gg_trg_shuawudi,Player(0),"whosyourdaddy",true)
call TriggerAddAction(gg_trg_shuawudi,function Trig_shuawudi_Actions)
endfunction
function Trig_ditukesi_Func001Func005A takes nothing returns nothing
call CustomDefeatBJ(GetEnumPlayer(),"请使用默认设置进行游戏!")
endfunction
function Trig_ditukesi_Func001C takes nothing returns boolean
if(not(IsUnitVisible(gg_unit_U00B_0941,Player(0))==true))then
return false
endif
return true
endfunction
function Trig_ditukesi_Actions takes nothing returns nothing
if(Trig_ditukesi_Func001C())then
call YDWEWaitForLocalVariable(20.00)
call ClearTextMessages()
call DisplayTimedTextToForce(GetPlayersAll(),20.00,"|cffff0000警告!本图不支持更改地图设置,请用默认设置进行游戏,游戏将在20秒后自动结束!|r")
call ForForce(GetPlayersAll(),function Trig_ditukesi_Func001Func005A)
else
call DoNothing()
endif
endfunction
function InitTrig_ditukesi takes nothing returns nothing
set gg_trg_ditukesi=CreateTrigger()
call TriggerAddAction(gg_trg_ditukesi,function Trig_ditukesi_Actions)
endfunction