📅  最后修改于: 2023-12-03 15:06:01.988000             🧑  作者: Mango
As a programmer, you may have heard of macros in World of Warcraft. Macros are essentially small pieces of code that automate certain actions or combinations of actions in the game. In this article, we will be discussing macros specifically for the Death Knight class, a popular choice among WoW players.
We will be covering macros for the Unholy specialization of the Death Knight class, which is focused on DPS and damage over time (DoT) spells.
This macro will make your pet attack your target:
#showtooltip
/cast Dark Transformation
/petattack [@target,harm]
#showtooltip
displays the tooltip for "Dark Transformation", which is a Unholy Death Knight ability that enhances the party pet./cast Dark Transformation
will cast the Dark Transformation ability./petattack [@target,harm]
will make your pet attack your current target if it is hostile.This macro will activate all cooldowns at once:
#showtooltip
/cast Summon Gargoyle
/cast Dark Transformation
/cast Anti-Magic Shell
#showtooltip
displays the tooltip for "Summon Gargoyle"./cast Summon Gargoyle
will summon a gargoyle to fight alongside you./cast Dark Transformation
will activate the Dark Transformation ability./cast Anti-Magic Shell
will create a shell that absorbs magical damage.This macro will cast Blood Boil on all nearby enemies:
#showtooltip Blood Boil
/cast [@mouseover,harm,nodead] Blood Boil;
/cast [@target,harm,nodead] Blood Boil;
/cast Blood Boil
#showtooltip Blood Boil
will display the tooltip for the Blood Boil ability./cast [@mouseover,harm,nodead] Blood Boil
will cast Blood Boil on the enemy that your mouse is currently hovering over./cast [@target,harm,nodead] Blood Boil
will cast Blood Boil on your current target if it is hostile and alive./cast Blood Boil
will cast Blood Boil on all nearby enemies if there is no mouseover or target selected.This macro will cast Death Coil, which is a ranged spell that damages enemies or heals allies:
#showtooltip
/cast [@player] Death Coil
#showtooltip
displays the tooltip for Death Coil./cast [@player] Death Coil
will cast Death Coil on yourself, allowing you to deal damage to enemies or heal yourself.This macro will interrupt the spell being cast by your focus target:
#showtooltip Mind Freeze
/stopcasting
/cast [@focus,exists,harm] Mind Freeze
#showtooltip Mind Freeze
will display the tooltip for Mind Freeze, which is a Unholy Death Knight ability that interrupts spell-casting enemies./stopcasting
will stop any casting that you are currently doing./cast [@focus,exists,harm] Mind Freeze
will cast Mind Freeze on your focus target if it is an enemy, and if it exists.These are just a few macros that you can use as a Unholy Death Knight in World of Warcraft. By using macros, you can simplify and automate certain actions, making your gameplay smoother and more efficient. Happy macro-ing!