SS 宝宝一键宏(需要装超级宏和IsBuffActive插件)
/script local c,p,t,uc,ut,isf=CastSpellByName,UnitCreatureFamily("pet"),UnitCreatureType("target"),UnitClass("target"),UnitPowerType("target"),UnitIsFriend("player", "target");if p=="虚空行者" and UnitHealth("pet") ~=0 then if IsAltKeyDown() then c("牺牲");else c("受难");end;elseif p=="魅魔" and UnitHealth("pet") ~=0 then if IsAltKeyDown() and not isf then c("安抚之吻");else if not UnitExists("target") or isf then TargetNearestEnemy();end;if UnitIsPlayer("target") or t=="人型生物" then if not (IsBuffActive("腐蚀术","target") or IsBuffActive("生命虹吸","target") or IsBuffActive("痛苦诅咒","target") or IsBuffActive("献祭","target")) then c("诱惑");end;end;end;elseif p=="地狱猎犬" and UnitHealth("pet") ~=0 then if isf then c("吞噬魔法");elseif IsAltKeyDown() then c("法术封锁");elseif IsShiftKeyDown() then c("吞噬魔法");else TargetUnit("player");c("吞噬魔法");TargetLastEnemy();end;elseif p=="小鬼" and UnitHealth("pet") ~=0 then if isf then c("火焰之盾");else TargetUnit("player");c("火焰之盾");TargetLastEnemy();end;else if UnitAffectingCombat("player") then c("恶魔支配");end;if IsAltKeyDown() then c("召唤魅魔");elseif IsShiftKeyDown() then c("召唤小鬼");elseif UnitIsPlayer("target") and not isf then if ut==0 and uc ~="猎人" then c("召唤地狱猎犬");else c("召唤虚空行者");end;else c("召唤虚空行者");end;end;
宏的功能
无宝宝状态 1.如果进入战斗,则用瞬招,否则为普通召唤 2.无目标或者目标为友方,正常招胖子,按住SHIFT招小鬼,按住ALT招女人 3.目标为敌方阵营玩家,有蓝条职业(除了LR)招狗,无蓝条职业招胖子
宝宝为胖子 正常按群嘲,按住ALT牺牲
宝宝为魅魔 无目标或者目标为友方,先选取最近目标(被贼偷袭使劲按),目标无SS专有DOT且为人型生物或玩家,魅惑,按住ALT安抚之吻
宝宝为狗 按住ALT沉默 按住shift 吞对方魔法 正常按,目标为友方,解对方魔法,目标为敌方,解自己魔法
宝宝为小鬼 目标为友方,给对方加火盾,目标为敌方,给自己加火盾
痛苦术 solo 练级宏
/script local n,s,k,j,d,f={"Abomi","Requi","Sarge","LifeDrain"},{"腐蚀术","生命虹吸","痛苦诅咒","吸取生命"};for k=1,4 do f=nil;for j=1,16 do d=UnitDebuff("target",j);if d and strfind(d,n[k]) then f=1;break;end;end;if not f then if UnitClassification("target")~= "normal" then CastSpellByName(s[k]);break;elseif UnitHealth("target") < 20 and (k==2 or k==3) then CastSpellByName(s[4]);break;else CastSpellByName(s[k]);break;end;end;end;
/script if UnitCreatureFamily("pet")=="虚空行者" then if UnitName("targettarget") == UnitName("player") and UnitHealth("target") > 10 and not UnitIsPlayer("target") then CastSpellByName("折磨");end;end;
3DOT吸血少哪个补哪个,普通怪20%血一下只上腐蚀和吸血(精英依旧3DOT),胖子智能控蓝,怪的血量大于10%并且怪的目标是玩家才嘲讽
/script local c,p,t,uc,ut,isf=CastSpellByName,UnitCreatureFamily("pet"),UnitCreatureType("target"),UnitClass("target"),UnitPowerType("target"),UnitIsFriend("player", "target");if p=="虚空行者" and UnitHealth("pet") ~=0 then if IsAltKeyDown() then c("牺牲");else c("受难");end;elseif p=="魅魔" and UnitHealth("pet") ~=0 then if IsAltKeyDown() and not isf then c("安抚之吻");else if not UnitExists("target") or isf then TargetNearestEnemy();end;if UnitIsPlayer("target") or t=="人型生物" then if not (IsBuffActive("腐蚀术","target") or IsBuffActive("生命虹吸","target") or IsBuffActive("痛苦诅咒","target") or IsBuffActive("献祭","target")) then c("诱惑");end;end;end;elseif p=="地狱猎犬" and UnitHealth("pet") ~=0 then if isf then c("吞噬魔法");elseif IsAltKeyDown() then c("法术封锁");elseif IsShiftKeyDown() then c("吞噬魔法");else TargetUnit("player");c("吞噬魔法");TargetLastEnemy();end;elseif p=="小鬼" and UnitHealth("pet") ~=0 then if isf then c("火焰之盾");else TargetUnit("player");c("火焰之盾");TargetLastEnemy();end;else if UnitAffectingCombat("player") then c("恶魔支配");end;if IsAltKeyDown() then c("召唤魅魔");elseif IsShiftKeyDown() then c("召唤小鬼");elseif UnitIsPlayer("target") and not isf then if ut==0 and uc ~="猎人" then c("召唤地狱猎犬");else c("召唤虚空行者");end;else c("召唤虚空行者");end;end;
宏的功能
无宝宝状态 1.如果进入战斗,则用瞬招,否则为普通召唤 2.无目标或者目标为友方,正常招胖子,按住SHIFT招小鬼,按住ALT招女人 3.目标为敌方阵营玩家,有蓝条职业(除了LR)招狗,无蓝条职业招胖子
宝宝为胖子 正常按群嘲,按住ALT牺牲
宝宝为魅魔 无目标或者目标为友方,先选取最近目标(被贼偷袭使劲按),目标无SS专有DOT且为人型生物或玩家,魅惑,按住ALT安抚之吻
宝宝为狗 按住ALT沉默 按住shift 吞对方魔法 正常按,目标为友方,解对方魔法,目标为敌方,解自己魔法
宝宝为小鬼 目标为友方,给对方加火盾,目标为敌方,给自己加火盾
痛苦术 solo 练级宏
/script local n,s,k,j,d,f={"Abomi","Requi","Sarge","LifeDrain"},{"腐蚀术","生命虹吸","痛苦诅咒","吸取生命"};for k=1,4 do f=nil;for j=1,16 do d=UnitDebuff("target",j);if d and strfind(d,n[k]) then f=1;break;end;end;if not f then if UnitClassification("target")~= "normal" then CastSpellByName(s[k]);break;elseif UnitHealth("target") < 20 and (k==2 or k==3) then CastSpellByName(s[4]);break;else CastSpellByName(s[k]);break;end;end;end;
/script if UnitCreatureFamily("pet")=="虚空行者" then if UnitName("targettarget") == UnitName("player") and UnitHealth("target") > 10 and not UnitIsPlayer("target") then CastSpellByName("折磨");end;end;
3DOT吸血少哪个补哪个,普通怪20%血一下只上腐蚀和吸血(精英依旧3DOT),胖子智能控蓝,怪的血量大于10%并且怪的目标是玩家才嘲讽