LUACN论坛

 找回密码
 加入我们

QQ登录

只需一步,快速开始

搜索
热搜: YJWOW MagicStone BoL
查看: 151|回复: 3

[wowbee] 问下老大们战士冲锋怎么自动变回防御姿势

[复制链接]
发表于 2023-4-5 09:51:27 | 显示全部楼层 |阅读模式
老大们战斗姿势冲锋。冲锋完后自动切回防御姿势怎么写~~~
local nq = BeeUnitMana()
if IsSpellInRange("冲锋","target")==1 or  IsSpellInRange("拦截","target")==1  then
    if  not BeeUnitAffectingCombat() then
        if not  BeeGetShapeshiftFormInfo(1)  and BeeIsRun("战斗姿态","nogoal") then
            CastShapeshiftForm(1)  return;end
        if BeeGetShapeshiftFormInfo(1)   and BeeIsRun("冲锋") then
            BeeRun("冲锋","Target") return;end
        if BeeSpellCD("冲锋")>0 then


回复

使用道具 举报

发表于 2023-4-5 11:11:12 | 显示全部楼层
冲锋CD不为0   切换为防御姿态    冲锋CD为0切不在战斗中切换战斗姿态   试试看行不行
回复 支持 反对

使用道具 举报

 楼主| 发表于 2023-4-5 11:31:26 | 显示全部楼层
local nq = BeeUnitMana()
if IsSpellInRange("冲锋","target")==1 or  IsSpellInRange("拦截","target")==1  then
    if  not BeeUnitAffectingCombat() then
        if not  BeeGetShapeshiftFormInfo(1)  and BeeIsRun("战斗姿态","nogoal") then
            CastShapeshiftForm(1)  return;end
        if BeeGetShapeshiftFormInfo(1)   and BeeIsRun("冲锋") then
            BeeRun("冲锋","Target") return;end
        if BeeSpellCD("冲锋")>0 then
            if  not BeeGetShapeshiftFormInfo(3)  and BeeIsRun("狂暴姿态","nogoal") then  CastShapeshiftForm(3)  return;end
            if nq>=10  and  BeeGetShapeshiftFormInfo(3)  and BeeIsRun("拦截") then
                BeeRun("/cast 拦截\n/cast 血性狂暴","Target") return;end
        return;end
    return;end
    if BeeUnitAffectingCombat() then
        if  not BeeGetShapeshiftFormInfo(3)  and BeeIsRun("狂暴姿态","nogoal") then
            CastShapeshiftForm(3)  return;end
        if nq>=10  and  BeeGetShapeshiftFormInfo(3)  and BeeIsRun("拦截") then
            BeeRun("拦截","Target") return;end
    return;end
return;end
脚本是这样的要怎么改老大~~~
回复 支持 反对

使用道具 举报

 楼主| 发表于 2023-4-5 11:33:51 | 显示全部楼层
许文嵩 发表于 2023-4-5 11:11 AM
冲锋CD不为0   切换为防御姿态    冲锋CD为0切不在战斗中切换战斗姿态   试试看行不行

你看下要怎么改在楼下~~~
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 加入我们

本版积分规则

小黑屋|手机版|Archiver|LUACN论坛

GMT+8, 2024-5-18 04:32 AM , Processed in 0.037385 second(s), 19 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表