< 魔兽世界百科 >
|
![]() |
很多是没有验证的,我一直在想做到不用任何UI的情况下,通过宏做到喜欢的东西就够了.
/script CastSpellByName("Healing Touch(Rank 10)")
/script LastTarget()
/script SpellCastTarget("player")
/script TargetLastEnemy();
/script UseContainerItem(Bag#, Item#)
/script PickupInventoryItem(16);
/script PickupContainerItem(0, 1);
/script PickupInventoryItem(17);
/script PickupContainerItem(0, 2);
/script if UnitExists("pet") then AssistUnit("pet"); end
65995892 93
/script PickupActionbarItem(9); PickupActionbarItem(0)
your backpack would be ;
[ 1][ 2][ 3][ 4]
[ 5][ 6][ 7][ 8]
[ 9][10][11][12]
[13][14][15][16]
[1][2]
[3][4][5][6]
/script SendChatMessage("I spy with my little eye a(n) %T!!!", "party");
/script if (UnitName("target") ~=nil) then SendChatMessage("is targeting the level " .. (UnitLevel("target")) .. " " .. (UnitName("target")), "emote"); end
/assist [name]
/script PetAttack()
/script if (GetPartyMember()) ~=nil
then (print(/flexbar remap button=1 base=<next number up>))
else (print(/flexbar remap button=1 base=1));
end
Macro "Self"
/Target Elorienne
/cast Spell(rank)
/script if GetPartyMember(1) == nil then FBcmd:Dispatch("remap button=1 base=1") else FBcmd:Dispatch("remap button=1 base=2") end
Macro "Party1"
/script TargetUnit("party1")
/cast Spell(rank)
/script if GetPartyMember(2) == nil then FBcmd:Dispatch("remap button=1 base=1") else FBcmd:Dispatch("remap button=1 base=3") end
Macro "Party2"
/script TargetUnit("party2")
/cast Spell(rank)
/script if GetPartyMember(3) == nil then FBcmd:Dispatch("remap button=1 base=1") else FBcmd:Dispatch("remap button=1 base=4") end
Macro "Party3"
/script TargetUnit("party3")
/cast Spell(rank)
/script if GetPartyMember(4) == nil then FBcmd:Dispatch("remap button=1 base=1") else FBcmd:Dispatch("remap button=1 base=5") end
Macro "Party4"
/script TargetUnit("party4")
/cast Spell(rank)
/flexbar remap button=1 base=1
引用本页地址(点击复制到粘贴板) 粘贴到你想引用的网页。
HTML形式的传播:
论坛形式的传播: