Find the basic knowledge of WOW macros with high scores
Macros and plug-ins will change greatly in WoW 2.0. Recently, Slouken (developer Slouken (Blizzard UI)) announced an exciting new macro function. A series of conditional options will be applied to the following slash commands: /cast, /use, /target, /focus, /stopmacro, /cancelaura, /userandom, /castrandom and /castsequence. The purpose of this article is to explain how to apply them.
Note: Although most examples use "/cast", in fact, these conditional options are valid for all the slash commands mentioned above.
In 2.0, most of the macros used at present will be discarded, because any macro that uses CastSpellByName () or TargetUnit () will no longer be useful in combat. In addition, most "fool logic" macros will no longer be valid. However, you can now realize the functions of many popular macros through new macro condition options.
It is very simple to use "/cast" now. The command format is "/cast" (casting the highest level of spells) or "/cast (rank <: # & gt)"。 For example:
/cast powerful healing.
/Exert Arcane Wisdom (Level 3)
In the new system, you can still use the original format, but now you can add conditional options to make "/cast" more flexible. The new format of "/cast" is: "/cast [; ]& lt; The first spell name >; ; [& lt; The second set of conditional options >] < The second spell name >; ; [& lt; The third set of conditional options >] < The third spell name >; ..."。
Now the way to make the macro work is this: check the first set of conditional options, if they hold, cast the first spell, if they don't hold, check the second set of conditional options, if this holds, cast the next spell, and so on. However, you must remember that only one spell will be used. When a set of conditional options is detected, the corresponding spell will be cast and the macro will end.
The currently available conditional options are:
Help-Check whether the target is friendly.
Damage-Detects whether the target is hostile.
Combat-check whether you are in combat.
Posture or Standing Posture: #-Detects whether you are in a posture or whether you are in a specific posture (see below).
Stealth operation-to detect whether you are sneaking around.
Modifier or modifier:shift | ctrl | alt- Detects whether a specific key is pressed while executing a command.
Equipment: & ltitem & gt- check whether the project is equipped. & ltitem & gt It can be any valid device slot, project category or project subcategory.
Target =< Unit & gt- Special condition option to change the current target to any valid unit (see below).
actionbar:& lt; Number & gt- Detects whether the current action bar is the listed action bar.
New conditional options:
Pets: < pet type or pet name >-detect the presence of pets. You can accept the pet type (owl, bear, imp) or the name (Mao Mao, my family is not good) as a condition. Test whether there are any qualified pets.
Riding, Swimming, Flying-Check whether you are riding, swimming or flying.
Indoor, Outdoor-Detect indoor or outdoor.
Button: < #>-Detects that a specific button is used to trigger a spell. The default value is 1 (see below).
Exists and dead- Detects whether the target is dead or really exists.
New macro command
-
/cast sequence- Cast a preset set of spells in sequence (see below).
# show & lt spells >-displays the macro return values of the listed spells.
Some additional tips about conditional options:
You can add "No" before any conditional option to get the opposite effect. For example, "nocombat" was established in a non-combat state.
Comma ","separates conditional options and "and" have the same effect, and are executed when the conditional options are established at the same time.
Separating conditional options with a slash "/"has the same effect as "or" and is executed when one of the conditional options holds.
Press "?" In the macro editor. The icon will force the macro to display examples and gestures of the current spell icon.
Here are some examples:
/cast powerful healing.
It's simple. Apply powerful healing to your target.
/cast [help] powerful healing.
Add a conditional option, when the target is friendly, you can cast powerful healing.
/cast [help] powerful treatment; punish
Add a second spell, because it has no conditional options, so when the first set of conditional options fails, it will be cast.
/cast [help, fight] quick healing; [help, nocombat] intensive therapy; punish
This macro will apply quick healing to friendly targets when you are fighting (not the target), powerful healing when you are not fighting and the target is friendly, and punishment when these conditions are not met (such as the target is the enemy).
/cast [help] powerful treatment; [Injury, combat] punishment; Spiritual flogging
This macro will apply powerful healing to friendly targets, or punish enemy targets in battle, or apply spiritual whipping to enemy targets when you are not fighting.
/display [stealth] ambush; Stab in the back
This macro casts an ambush when the player is stealth, otherwise it is backstab.
/cast[nostealth]back stab; ambush
The function of this macro is exactly the same as the above, except that it uses the opposite conditional option.
/cast [actionbar: 1] intensive therapy; [actionbar:2] punishment
If the current action bar is 1, cast powerful therapy, if it is 2, cast punishment, if it is other action bars, do nothing.
/cast [damage] transfiguration
/stopmacro [noharm]
/p is turning %t into a sheep! Don't touch it!
This macro will cast deformation when the target is an enemy target. If the target is not hostile, stop this macro (for example, if the target is not cast) and notify your teammates when the target becomes a sheep. Note that, because of the "/stopmacro" command, if the target is not changed, teammates will not see the shouting (thus reducing unnecessary garbage).
/cast [pet] summons pets; Fuxing pet
This macro will summon one when you don't have a pet, otherwise it will try to revive your pet.
/cast [pet: owl] diving; [Pet: Cat] Charging; [Pet] growls
This macro will dive when you have an owl pet, charge when you have a cat pet, and growl when you have other pets.
/cast [pet: void walker] sacrifice; [Pet: Charm] Charm
If you bring a void walker, you cast a sacrifice; if you bring a charm, you cast a charm.
/Use [non-riding, outdoor] black steed reins.
If you are outdoors and don't ride a mount, summon a mount.
/cast [target=pet, dead] resurrect pets; [nopet] summon pets; Treat pets
If your pet dies, revive it, if not, summon it or treat your pet.
-
Position:
-
Occupation: warrior priest druid thief
-
Attitude: 1 war shadow bear stealth
-
Attitude: 2 defensive aquatic creatures
-
Attitude: 3 Berserker cats.
-
Attitude: 4 strokes
-
Attitude: May Gold/Tree
-
-
attitude
-
Posture is based on the same principle. When no posture number is given, it is true when the player is in any posture (note that the warrior is always in a certain posture). If a number is given, it is detected whether the gesture is activated.
Each class's specific posture has different numbers. This is a list:
Warrior: 1. Battle 2. Defense 3. Anger.
Pastor: 1. Shadow form
Druid: 1. Bear 2. Aquatic 3. Category 4. Travel 5. Moon tree/tree.
Thief: 1. Stealing.
In the macro conditional option system, the paladin's aura will no longer be regarded as a gesture.
Remember, if you skip a gesture (such as being a soldier but not doing defensive tasks), your number of gestures will decrease, for example, the number of violent gestures will become 2.
Some examples of gesture macros:
/cast [nostance] bear shape
If it is not a form, it will be transformed into a bear form.
/cast [stance: 1] pressing; [Attitude: 2] sunder armor; [Attitude: 3] Whirlwind chop
Combat posture cast suppression, defensive posture cast sunder armor, violent posture cast whirlwind chop.
/cast [Station: 1] Roar; [Attitude: 3] Claw strike
Release growl in bear form and claw strike in cat form.
/cast [nostance:3] cheetah morphology
If you are not in cheetah form, you will become a cheetah, but if you are already in cheetah form, it will not change you back. List of project slots:
both hands
Bag
Shirt shirt
Chester Community Chest
Back off, back off.
Foot-foot
Finger finger
Hand hand
Head head
Hold in the deputy project
Legs, legs
Neck neck
Remote control
assistant
Shoulder to shoulder
Tabard badge
To throw (a remote slot item, such as throwing a dagger).
accessory
Waist waist
One hand, one hand.
Main hand, main hand
Wrist wrist
Some examples of equipment:
/casting [equipment: two-handed sword] a fatal blow; A heroic blow
When you are equipped with a two-handed sword, cast a fatal blow.
/Spell [Equipment: Two-handed Sword/Two-handed Hammer/Two-handed Axe/Long-handled Weapon] A fatal blow.
The separator "/"is used here to set the OR condition. When you are equipped with the above weapons, this macro will cast a fatal blow.
/cast[ equipment: shield] shield slam
When you are equipped with a shield, cast a shield slam.
/cast [equipment: shield, equipment: dagger] Shield slam.
Only when you are equipped with both a shield and a dagger can you cast a shield slam.
/cast [noequipped: shield, equipment: deputy] Anger
Cast fury when you are not equipped with a shield and your deputy is equipped with a weapon, that is, it will only be activated if you have a shield in both hands.
Buttons and Targets Target Options
The option [button:<x>] is similar to the modifier key. Usually, if you left-click a button, it will perform any action in the spell, which is a macro in our example. However, if the button option is set, you can change the behavior of a specific macro.
The default button is 1 and the left mouse button. Note that when you activate a macro through key binding, it will treat it as a left mouse button click. The numbered buttons are:
1 or left key
2 or right click
3 or middle button
4 or button 4
5 or button 5
... or any button remapped by the security status title. I don't know what this last point means. To be honest, I'm just quoting Sloken.
Conditional option [button:
The default button is 1 and the left mouse button. Note that if you trigger a macro by key binding, it will be considered as being triggered by clicking the left mouse button. The numeric keys are:
1 or left key
2 or right click
3 or intermediate key
4 or key 4
5 or key 5
... and all other buttons defined in the Security Statement Header. I'm not sure what this means, just quoting Sloken.
Lostcup: There is a sample code of securestateheader written by Iriel (Forum MVP) in official website UI Forum. Similar to templates, plug-in authors can generate instances to modify the default settings.
/cast [button:2, target=player] rapid treatment; [Help] Quick treatment
This macro will cast a quick heal on friendly targets, or if you right-click it, cast a quick heal on yourself.
[target=unit] here is a special conditional option, which does not test whether the condition is true, but changes the projection target to the target of other conditional options. Unit can be any valid unit type, such as player, target, targettarget, party 1, party 1target, etc. To learn more about unit types, you can click here: [/UnitId]
Please note that any role transition has a default target, namely "target", for example:
/cast [help] powerful healing.
It is equivalent to the following macro:
/cast [target=target, help] intensive therapy.
Unless you add a [target=unit] conditional option, it defaults to your current target.
Some examples of [target=unit]:
/cast [target=player] rapid treatment.
Always give yourself quick treatment, it won't change your actual goal.
/cast [help] rapid treatment; Rapid treatment
If the target is friendly, give him quick treatment, otherwise, give the target of the target quick treatment.
/cast [help, fight] quick healing; [help, nocombat] intensive therapy; [Goal = Goal, Help, Fight] Quick treatment; Powerful treatment
This macro can be 1) If you are fighting, the target is friendly, 2) If your target is friendly, not fighting, 3) If you are fighting, the target is friendly, you can cast a quick healing spell on him, and 4) If the above conditions are not true, you can cast a powerful healing spell on yourself.
If you use "None" as the unit, it will work as if you have not selected a target, for example:
/cast [target=none] Dispel magic.
This will cast dispel magic and wait for you to click on a target, whether you currently select a target or not. Casting sequence
New macro command: /castsequence
-
A new command /castsequence appeared in WoW 2.0. It allows you to click a macro again and again, and then cast a series of spells defined in it one after another. The format is as follows:
/cast sequence[& lt; Conditional option >] reset = <; #>/ target/battle & lt spelling1> ,< Spell 2>,< Spell 3>
"What? What are you talking about? "
It sets a list of spells. When you click this macro for the first time, it will cast the first spell in the list, the second spell when you click it, and so on. When it finished casting the last one, it returned to the starting point and started the cycle.
"I still don't quite understand."
Well, suppose you are a mage. Sometimes you need a frost star to flash immediately after it. You can't do these things at the same time Now you can set a sequence to complete it!
/castsequence frost nova, flash
It's that simple. Press this macro for the first time, and frost nova will be cast. Press it again and it will flash.
"That if frost nova in cooling? Will the flash be cast directly? Still don't cast frost nova, wait until you press this macro for the second time, and then cast flash? "
Neither. If the spell cannot be cast (cooling, out of range, lack of mana, etc.). ), the sequence will not enter the next spell. The next time you click this macro, it will try to cast Frost Nova again. Resist, dodge, parry, etc. It's not impossible to vote. In these cases, the spell/skill was cast but missed. )
"What if I'm not fighting? I don't want to waste a frost star in non-combat situations. "
You can apply all the previous macro condition options to this (unfortunately, it can only be applied to the whole sequence and cannot be set separately for each spell).
"Well, actually, I just said, well, what if I don't want to flash behind the frost nova? Next time I want to cast frost nova, will I still get stuck in the setting of casting flash? "
That's no problem at all. We need to reset this setting. Because the general cooling time of Frost Nova is 24 seconds, if it is not used within 24 seconds, we can set the sequence reset.
/castsequence reset=24 Frost nova, flash.
When you click this macro for the first time, it will cast Frost Nova. If you decide not to flash, after 24 seconds, it will reset to the state of frost nova, because the cooling time of frost nova is 24 seconds, and then it can be reused. Great!
"Well, it's amazing, but I'm actually a warlock."
Of course, as a warlock, I believe you will always repeat three points. Now you can set a sequence for them to save button space.
Corrosion, sacrifice, pain curse
It's that simple. You can click this macro three times in a row to access these three points.
"But what if the target died before I cast these? I am stuck in this sequence again and don't want to set any timer! "
That's not important. We can use other conditional options. If you set Reset = Target, when you change the target, the sequence will be reset to the starting position. You can also set "Reset = Battle", and this sequence will be reset every time you leave the battle. If you use the "/"controller (as you remember, mentioned earlier), you can also combine these reset condition options!
/castsequenceset = Battle/target corrosion, sacrifice, pain curse
That's all. Now every time you change the target (for example, the original target is dying and you choose a new target) or quit the battle (maybe the target dies before you cast all the points), it will reset the whole sequence, so that you can start from the beginning.
"Good, great, I think I understand now! Give me some time to set up a new macro ... done! "
That's great. I'm glad I could help.
"So ... how about a duel?"
Uh, no, I never fight with warlocks.
"Oh, coward." explain
Some examples of macros:
General macro:
-
/Use [target=self] thick cloth bandage.
No matter what the current goal is, this macro will only use a thick empty cloth bandage on himself.
Hong daxia
-
Intercept/Charge: Intercept or charge, or switch to the corresponding posture.
/Cast [nocombat, stance: 1] charge; [Fighting, Northstein: 3] Violent posture; [nocombat, nostance: 1] combat posture; [Combat, Attitude: 3] Intercept
General attitude macro: release
/cast [stance: 1]