意难平 发表于 2024-3-17 12:05:47

你们奥法飞弹不连发么??

大佬门 你们的奥法飞弹不连发么? 查了一下说加个时间戳就可以了 有人教一下么?






if not BeeStringFind("气定神闲",buff) and BeePlayerDeBuffCount("奥术冲击")>=4 and BeePlayerBuffTime("飞弹速射")>0 and not BeeUnitCastSpellName("player") then
    BeeRun("/cast 奥术飞弹","target");BeeUnitCastSpellDelay("/cast 奥术飞弹",4) return
end


时间戳加哪里呢?

aoyq2007 发表于 2024-3-18 09:39:57

BeeUnitCastSpellDelay("/cast 奥术飞弹",4)就是时间戳, 只是这个方案的原理是延迟4秒下次释放飞弹。
自制时间戳的方案:
if .......then
    BeeSetVariable(变量名字,GetTime());
    BeeRun("/cast 奥术飞弹","target");
return
end

就会保存释放技能的时候时间成一个常量, 把这个时间常量加入到释放技能的条件种就可以,如GetTime()-变量名字>4 (上次技能释放后过了4秒)

意难平 发表于 2024-3-18 13:12:06

aoyq2007 发表于 2024-3-18 09:39 AM
BeeUnitCastSpellDelay("/cast 奥术飞弹",4)就是时间戳, 只是这个方案的原理是延迟4秒下次释放飞弹。
自 ...

谢谢 谢谢 大佬 真的非常感谢,.
页: [1]
查看完整版本: 你们奥法飞弹不连发么??