追梦者 发表于 2023-10-12 13:22:04

检测是否有战斗怒吼 没有施放 有则普攻

/script for i=1,20,1 do if (UnitBuff("player",i) ~= nil) then if (string.find(UnitBuff("player",i),"BattleShout") ~= nil) then CastSpellByName("攻击");break; end end if (i==20) then CastSpellByName("战斗怒吼(等级 6)"); end end
页: [1]
查看完整版本: 检测是否有战斗怒吼 没有施放 有则普攻