17173里的宏经验太少了,小弟汇编了一些,仅供诸君相易学习!WOW玩了不少日子,坛子也泡了不少,找来找去也没有看到几个合用的宏教程,像我等少壮而言,宏怎样编我不管,我只想知道怎样用就行了,为此,小弟在这里转载一点我所知道的DZ宏,与诸君江洋悍贼们共勉之! 接上 为响马设计的一套宏(给Flyrain,也送给所有爱戴响马的人)下面呈现的是一整套宏,兴味就是,所有宏的行使都是联系的,不是单独行使的。在我的前几套里面,行使技能时,会因为切换火器而多做一次按键。素来没用意心思做的,结尾癞子山庄游戏平台被Flyrain(魔兽同伙)问到了,仔细的忖量后就有了下面的语句。下面的宏里,我行使了Cosmos供给的耽搁语句来作决断,尽管防止了两次按键的题目(看过我的宏和似乎宏的人估量都知道这个题目).时间联系,我今晚只把宏放上来,翌日我返来加以声明。MACRO 19 ‘潜行‘ Ability_Ambush.blp/施放 潜行(等第 3)/script if(isnot(‘right‘,‘匕首‘)) then change(0,1) endENDMACRO 24 ‘背刺‘ Ability_BackStab.blp/script if(is(‘right‘,‘匕首‘)) then CastSpellByName(‘背刺(等第 6)‘) else change(0,1) end/script start()/in 0.5 /script if(finish() and mode==1) then change(0,1) endENDMACRO 26 ‘凶险攻打‘ Spell_Shadow_RitualOfSacrifice.blp/script if(isnot(‘right‘,‘匕首‘)) then CastSpellByName(‘凶恶攻击(等第 6)‘) else change(0,1) endENDMACRO 29 ‘没落‘ Ability_Vanish.blp/施放 没落(等第 2)/script if(isnot(‘right‘,‘匕首‘)) then change(0,1) endENDMACRO 46 ‘模式‘ Spell_Shadow_EnslaveDemon.blp/script if mode == 1 then mode = 2 DEFAULT_CHAT_FRAME:AddMessage(‘加入队伍模式,背刺结束不再切换刀兵.‘) else mode = 1 DEFAULT_CHAT_FRAME:AddMessage(‘加入单人模式,背刺结束切换刀兵.‘) ;end;ENDMACRO 47 ‘凿击‘ Ability_Gouge.blp/施放 凿击(等第 3)/script start()/in 0.5 /script if(finish() and isnot(‘right‘,‘匕首‘)) then change(0,1) endENDMACRO 48 ‘伏击‘ Ability_Rogue_Ambush.blp/施放 伏击(等第 4)/script start()/in 0.5 /script if(finish() and mode==1) then change(0,1) endEND MACRO 44 ‘初始‘ Spell_Shadow_ScourgeBuild.blp/script function isTwoH() GameTooltip:SetInventoryItem(‘player‘, GetInventorySlotInfo(‘MainHandSlot‘)) tip=GameTooltipTextLeft3:GetText() or GameTooltipTextLeft4:GetText() if(tip==‘双手‘) then return true else return false end end;/script function isOneH(kind) GameTooltip:SetInventoryItem(‘player‘, GetInventorySlotInfo(‘MainHandSlot‘)) tip=GameTooltipTextRight3:GetText() or GameTooltipTextRight4:GetText() if(tip==kind) then return true else return false end end;/script function is(loc,kind) if(loc=癞子山庄 下载=‘left‘) then return isTwoH() else return isOneH(kind) end end;/script function isnot(loc,kind) return (is(loc,kind)==false) end;/script function lefttoright() PickupInventoryItem(16) PickupInventoryItem(17) end;/script function change(bag,slot) PickupContainerItem(bag, slot) PickupInventoryItem(16) end;/script mode=1;/script function start() point=GetComboPoints() end;/script function finish() if(GetComboPoints()>point) then return true else return false end end;END 增添一个宏 肾击/施放 肾击(等级 2)/script start()/in 0.5 /script if(finish() and isnot(‘匕首‘)) then change(0,1) end 未完 (转载请注明出处:http://www.f958.net/laizibeijing/20100827/427.html) |