求魔兽世界里牺牲毁SS的宏

发布网友 发布时间:2022-04-23 02:13

我来回答

3个回答

热心网友 时间:2023-10-11 08:08

  这三个都不能做成宏一健发出来!没这个可能,我给你一个超级牛的宏你试试

  超级牛B的BT宏!
  function ScanDebuffs()
  if UnitExists("target") then
  local i=1;
  HasCOA=0;
  HasCorruption=0;
  HasImmolate=0;
  HasSiphon=0;
  while UnitDebuff("target", i) do
  GameTooltipTextLeft1:SetText(nil);
  GameTooltip:SetUnitDebuff("target",i);
  local DebuffName = GameTooltipTextLeft1:GetText();
  if DebuffName == "痛苦诅咒" then
  HasCOA = 1;
  elseif DebuffName == "腐蚀术" then
  HasCorruption = 1;
  elseif DebuffName == "献祭" then
  HasImmolate = 1;
  elseif DebuffName == "生命虹吸" then
  HasSiphon = 1;
  end
  i = i + 1;
  end
  end
  end

  function CastDebuffs()
  if UnitExists("target") then
  if HasSiphon == 0 then
  CastSpellByName("生命虹吸(等级 4)");
  elseif HasCorruption == 0 then
  CastSpellByName("腐蚀术(等级 6)");
  elseif HasCOA == 0 then
  local start, ration = GetSpellCooldown(1, SpellBookFrame.bookType);
  if (ration <= 0) then
  CastSpellByName("诅咒增幅");
  else
  CastSpellByName("痛苦诅咒(等级 6)");
  end
  elseif HasImmolate == 0 then
  CastSpellByName("献祭(等级 7)");
  end
  end
  end
  说明:这个我收集到的。。功能:
  1.自动check目标身上的DEBUFF。
  2.如果没有虹吸就上虹吸,如果没有腐蚀就上腐蚀,如果没有痛苦就上痛苦(自动使用诅咒增幅),如果没有献祭就上献祭。简单点说,,闭眼睛按一个键就实现智能判断上什么dot。。
  *那里的字需要替换,是我自己的诅咒增幅在法书书里的位置,因为我出了夜莫,增幅,延烧,所以是1,正确数字需要运行以下宏
  /script for id = 1, 180, 1 do local spellName, subSpellName = GetSpellName(id,
  SpellBookFrame.bookType);if spellName and string.find(spellName, "诅咒增幅", 1, true) then ChatFrame1:AddMessage("ID is "..id, 1.0, 1.0, 0.5); end; end;
  用得到的数字来替换。

热心网友 时间:2023-10-11 08:08

好像每个技能都有1.5秒公共CD 你一个宏不能发3个技能

热心网友 时间:2023-10-11 08:09

你自己 按SHIFT+ 技能 把这些 技能从技能栏里设置

在一起就可以了吧

声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com