Misc Macros
From KotR Wiki
Contents |
Requests
Add your requests here, I will try my best to make it for you.
Tanking
Find out if your Paladin/Warrior is uncrushable
/script DEFAULT_CHAT_FRAME:AddMessage("Need 102.4 combined avoidance. Currently at:",0.8,0.8,1)
/script DEFAULT_CHAT_FRAME:AddMessage(GetDodgeChance()+GetBlockChance()+GetParryChance()+5+(GetCombatRating(CR_DEFENSE_SKILL)*150/355 + 20)*0.04,1,0.5,0)
Find out if your Feral Druid (with Survival of the Fittest Talent) is uncrittable
/script DEFAULT_CHAT_FRAME:AddMessage(2.6-(GetCombatRatingBonus(CR_DEFENSE_SKILL)*.04+GetCombatRatingBonus(CR_CRIT_TAKEN_MELEE)),1,0.5,0)
Find out if your Warrior/Paladin (with +20 defense talent) is uncrittable
/script DEFAULT_CHAT_FRAME:AddMessage(5.6-((20+GetCombatRatingBonus(CR_DEFENSE_SKILL))*.04+GetCombatRatingBonus(CR_CRIT_TAKEN_MELEE)),1,0.5,0)
Find out if you are uncrittable (without talents)
/script DEFAULT_CHAT_FRAME:AddMessage(5.6-(GetCombatRatingBonus(CR_DEFENSE_SKILL)*.04+GetCombatRatingBonus(CR_CRIT_TAKEN_MELEE)),1,0.5,0)
Raiding
Vashj tainted core macro
#show Tainted Core
/use Tainted Core
/run f=SendChatMessage w="WHISPER"c="Tainted Core"t="target"u=UnitName(t)if IsItemInRange(c,t)==1 then f("You have the "..c,w,nil,u)f(u.." has "..c,"RAID")else f("Can't throw you "..c,w,nil,u)Minimap:PingLocation(0,0)end
Naj'entus spine macro
#show Naj'entus Spine /use naj'entus spine
Misc
Need to shorten a macro? Run this macro to find out the item# of any item you have selected/picked up with the mouse.
/script local infoType, info1, info2 = GetCursorInfo(); if infoType == "item" then DEFAULT_CHAT_FRAME:AddMessage( info1 ); end
Sell all grey items
/script for bag = 0, 4 do for slot = 1, GetContainerNumSlots(bag) do local name = GetContainerItemLink(bag,slot) if name and string.find(name,"ff9d9d9d") then DEFAULT_CHAT_FRAME:AddMessage("Selling "..name) UseContainerItem(bag,slot) end end end
Make three macros: detail-lo, detail-med, detail-hi. The difference in quality is fairly massive but the cpu/gpu savings between hi and lo is massive.
Low Settings
/console groundEffectDensity 16
/console groundEffectDist 1
/console horizonfarclip 1305
/console farclip 177
/console characterAmbient 1
/console smallcull 1
/console skycloudlod 1
/console detailDoodadAlpha 1
Medium Settings
/console groundEffectDensity 136
/console groundEffectDist 70
/console horizonfarclip 3765
/console farclip 477
/console characterAmbient 1
/console smallcull 1
/console skycloudlod 2
/console detailDoodadAlpha 1
High Settings
/console farclip 777
/console horizonfarclip 6226
/console groundeffectdensity 256
/console groundeffectdist 140
/console smallcull 0
/console skycloudlod 3
/console characterambient 0
/console detailDoodadAlpha 100
A macro for binding the use of an on-use trinket to a spell. 13 is your upper trinket slot and 14 is the lower one. The rest of the code prevents the "item not ready" error from popping up while you're spamming your spells.
#showtooltip SpellNameHere
/script UIErrorsFrame:UnregisterEvent("UI_ERROR_MESSAGE");
/console Sound_EnableSFX 0
/use 13
/console Sound_EnableSFX 1
/script UIErrorsFrame:RegisterEvent("UI_ERROR_MESSAGE");
/cast SpellName
Some macros from http://www.wowwiki.com/Macros and some macros from http://www.dual-boxing.com/wiki/index.php/Macros