英语翻译call TriggerRegisterPlayerKeyEventBJ(gg_trg_c3,Player(0)
来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/07/01 11:58:15
英语翻译
call TriggerRegisterPlayerKeyEventBJ(gg_trg_c3,Player(0),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_c3,Player(4),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN)
call TriggerAddAction(gg_trg_c3,function Trig_c3_Actions)
endfunction
function Trig_c4_Func001C takes nothing returns boolean
if(not(GetTriggerPlayer()==Player(0)))then
return false
endif
if(not(udg_kuaiguan[148]==true))then
return false
endif
return true
endfunction
function Trig_c4_Func002C takes nothing returns boolean
if(not(GetTriggerPlayer()==Player(4)))then
return false
endif
if(not(udg_kuaiguan[149]==true))then
return false
endif
return true
endfunction
function Trig_c4_Actions takes nothing returns nothing
if(Trig_c4_Func001C())then
call UnitResetCooldown(udg_KLDW[0])
call SetUnitLifePercentBJ(udg_KLDW[0],100)
call SetUnitManaPercentBJ(udg_KLDW[0],100)
else
endif
if(Trig_c4_Func002C())then
call UnitResetCooldown(udg_KLDW[0])
call SetUnitLifePercentBJ(udg_KLDW[0],100)
call SetUnitManaPercentBJ(udg_KLDW[0],100)
else
endif
endfunction
function InitTrig_c4 takes nothing returns nothing
set gg_trg_c4=CreateTrigger()
call DisableTrigger(gg_trg_c4)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_c3,Player(0),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_c3,Player(4),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN)
call TriggerAddAction(gg_trg_c3,function Trig_c3_Actions)
endfunction
function Trig_c4_Func001C takes nothing returns boolean
if(not(GetTriggerPlayer()==Player(0)))then
return false
endif
if(not(udg_kuaiguan[148]==true))then
return false
endif
return true
endfunction
function Trig_c4_Func002C takes nothing returns boolean
if(not(GetTriggerPlayer()==Player(4)))then
return false
endif
if(not(udg_kuaiguan[149]==true))then
return false
endif
return true
endfunction
function Trig_c4_Actions takes nothing returns nothing
if(Trig_c4_Func001C())then
call UnitResetCooldown(udg_KLDW[0])
call SetUnitLifePercentBJ(udg_KLDW[0],100)
call SetUnitManaPercentBJ(udg_KLDW[0],100)
else
endif
if(Trig_c4_Func002C())then
call UnitResetCooldown(udg_KLDW[0])
call SetUnitLifePercentBJ(udg_KLDW[0],100)
call SetUnitManaPercentBJ(udg_KLDW[0],100)
else
endif
endfunction
function InitTrig_c4 takes nothing returns nothing
set gg_trg_c4=CreateTrigger()
call DisableTrigger(gg_trg_c4)
乱七八糟...
大概意思是当红色或橙色玩家做了什么以后,让某单位满血满魔技能CD重置.
再问: 这里不是有一个DOWN么? 按键盘上的上左右我都知道是干嘛的代码了。 就是这个下键不知道干嘛的,不是满血满魔技能CD重置,因为左方向键才是让某单位满血满魔技能CD重置啊,,,
再答: 按键那几句是注册给一个名叫gg_trg_c3的触发器的 加血加蓝重置CD的几个函数与那个触发器貌似没有关系...
大概意思是当红色或橙色玩家做了什么以后,让某单位满血满魔技能CD重置.
再问: 这里不是有一个DOWN么? 按键盘上的上左右我都知道是干嘛的代码了。 就是这个下键不知道干嘛的,不是满血满魔技能CD重置,因为左方向键才是让某单位满血满魔技能CD重置啊,,,
再答: 按键那几句是注册给一个名叫gg_trg_c3的触发器的 加血加蓝重置CD的几个函数与那个触发器貌似没有关系...
英语翻译Equalizer Music Player is a professional Music Player.It
英语翻译 curtain call ...句子
英语翻译call ---to order
英语翻译At your call.
英语翻译call outcall for
英语翻译要用到“call”
英语翻译call people anywhere
英语翻译(state of the call):0 active 1 held 2 dialing (MO call)
I know a volleyball player ___ Tom But his brother ___(call)
The player ___(call) Liu Xiang is my favourite sports star.
英语翻译call to sb 还是call sb ,什么时候加to
英语翻译The American football player dove and tackled the other