After reading this article word for word, 95% of the macros can be written by themselves.
Number of body parts:
1: head
2: Neck
3: Shoulder
4: Shirts
5: Chest
6: belt
7: Legs
8 ft
9: Wrist
10: gloves
1 1: finger 1
12: Finger 2
13: ornaments 1
14: Ornament 2
15: Return
16: Master
17: deputy
18: Long-range weapons
Action column number:
1 Yes 1- 12.
Active rule 2 is 13-24.
The active strip 3 (right 1) is 25-36.
Activity bar 4 (right 2) is 37-48.
Activity bar 5 (lower right corner) is 49-60.
Activity column 6 (lower left corner) is 6 1-72.
Backpack and parcel grid number:
The numbers of backpacks are: 4, 3, 2, 1, 0~
The number of parcels is arranged from left to right. The first line of a parcel is: 1, 2, 3, 4~
Then the second line of the package: 5, 6, 7, 8~ the following lines and so on.
Macro command explanation:
/cast
Simply put, it is /cast. Macros that use this command can only cast one spell. Now this command can add conditions to determine whether the spell is cast. For example, "/cast [help, fight] quick heal", this macro means to cast quick heal when the target is friendly and in battle.
Available conditions:
Help-judge whether the target is friendly or not;
Injury-judging whether the target is hostile;
Fight-judge whether you are in a battle;
Standing posture or posture: #-Judge whether you are in posture;
Stealth-judge whether you are sneaking around;
Modifier or modifier: x(x can be shift, ctrl, alt or their combination) determines whether one or more keys are pressed.
Equipment: & ltitem & gt- determine whether there are items in the equipment. & ltitem & gt can be equipment serial number and equipment classification (weapon, deputy. . . ), equipment subclasses (two-handed sword, battle of laws, etc. ).。 . )
Target =< Company & gt- You can specify the skill target as any valid target, and you cannot lose the current target! The< unit & gt can also be "None" to specify when there is no target. "Self" is used to indicate that it is only cast on itself. For example, "/use [target=self] thick rune cloth bandage", and only use bandages for yourself at any time.
actionbar:& lt; Number & gt- Determines whether the current action bar is listed. & lt number & gt can be 1, 2, 3, 4, 5, 6 ~
Pet: < pet type or pet name >-pet type is pet type; A nickname is a nickname. If you don't fill in the pet type and name, judge whether the pet exists.
Mount-judge whether you are on a mount.
Swimming-judge whether you are swimming or not.
Flight-determine if it is in flight.
Outdoor-Make sure you are outdoors.
Indoor-judge whether you are indoors.
Button: < # > Determines whether a specific button is used to trigger a skill. & lt#> can be 1 (left mouse button), 2 (right mouse button), 3 (mouse button 3, that is, the mouse wheel is pressed without scrolling up and down), 4 (mouse button 4, special for multi-key mice), and 5 (mouse button 5, special for multi-key mice). The default value is 1.
Psychic-Determine if you are directing a spell.
Psychic: spell name-determines whether you are guiding a specific spell.
Exists- Determines whether a specific target exists.
Death-Determines whether the target is dead.
Attitude:<#>- Determines whether you are in an attitude. The default value is 1 (by default, only attitude is written, not numbers). The shadow form of priests and the stealth of thieves are both 1.
Warrior: 1 Fight, 2 defense, 3 rage.
Druid: 1 bear, 2 seal? 3 cats, 4 travelers, 5 moon gold/trees.
Equipment: equipment name/type/subtype-judge whether an equipment is in the equipment. For example, "/cast[ equipment: wand] shooting", this macro means shooting if equipped with a wand.
/castsequence
Click continuously to cast the specified spells in sequence. If a spell fails to be cast, the following spells will not be cast.
Author: Forever Uncle Kong replied to this speech on July 3, 200817: 53.
-
Macro command complete tutorial, self-study writing practical macro (turn)
Commonly used conditional phase selection:
Reset =<#> or target or battle or their combination, others are the same as "/casting".
Give a brief introduction
& lt#>- represents a number, usually between 1 and 1800, in seconds. /castsequence reset= 120 tribal badge, undead will. The function of this macro is to use the tribal badge first, and then the will of the undead. If the will of the undead has not been cast after 120 seconds, use the tribal badge. However, reset =
Target-Returns a macro when switching targets.
Fight-at the beginning of the battle, pay attention to the macro.
All conditions can be preceded by "no" to achieve the opposite effect! For example, "nocombat" determines whether you are fighting or not.
","is equivalent to the previous sum. For example, "/cast [help, combat] rapid treatment" is aimed at friendly troops and uses rapid treatment in combat.
"/"is equivalent to the previous or.
/castrandom
Cast spells at will, such as "/castrandom: pig, sheep, turtle". (I change ~ I change ~ I change! )
/use
When using goods or equipment, it is no longer necessary to specify the quantity. Such as "/wrap with thick rune cloth".
/userandom
Then use the specified project.
Target selection:
/target enemy
Choose a hostile target.
/target friend
Choose a friendly goal.
/target party
Select a team member as the target.
/targetraid
Select a team member as the target.
/targetlastarget
Select the last target.
/targetlastmenemy
Select the last hostile target.
/assist
Help ~ the same as "/help".
Pets:
/petattack
Pet attack.
/petstay
Pets stop.
/petfollow
Pets follow.
/petpassive
Passive form of pets.
/pet defensive
Pet defense form.
/aggressive
Pet attack form.
/petautocaston spelling name
Pet spells will be cast and turned on automatically.
/petautocastoff spelling name
Pet spells will be released automatically.
/focus
Always lock a target ~ for example, combine this command with a pet attack to make a macro. For example, your current pet is MM, and you use this macro to let MM attack a soldier. Then you switch the target and let MM play the temptation. At this time, the target of MM temptation will not be your current target, but the soldier just now.
# show & lt spell name/item name >
This command allows your macro to display icons for specified spells or items.
/Cancel Laura
Cancel BUFF~ such as "/cancel Laura's arcane wisdom".
/stop macro[ option]
Stop macro and add conditional judgment. Here is a special example:
/casting [injury] deformation
/stopmacro [noharm]
/p is turning %t into a sheep! Don't touch it!
If the transformation fails, then don't talk in the team.
/click
Click? It seems so. How to add an event judgment like "/cast"?
Example:/click [pet: void walker] petactionbutton1
There is another important thing to say: "PetActionButton 1", 1 can be changed to any number in1-kloc-0/0, which means1-kloc-0/0 in the pet skill bar.
Finally, I want to send you two macros:
/console Set targetNearestDistance "50 "
Change "TAB" to 50 yards until the target can be selected.
/console SET targetNearestDistanceRadius " 50 "
Set the farthest distance behind the target that "TAB" can select to 50 yards, but it is not recommended that 20 yards is enough.
Learn and practice the little experience and problems of this position.
The little experience and problems in this post made it difficult for me to learn and practice. Finally, I can use simplified Chinese characters. ..
Because I play tf, there are traditional Chinese characters below, and the skill names are different. ...
Let's talk about experience first:
1. Don't directly copy other people's code into the following file:
"Drive letter: \ program files \ world of war craft \ WTF \ account \ account name \ server name \ person name \ macros-cache.txt"
It's easy to go wrong. I have encountered two lines of code, but I can't. Just type it again in the game = .. =
2. Adding a "#showtooltip" to a macro is very convenient to see the skill effect, especially the "3 Suction" macro. If you are not familiar with shortcut keys at first, you can have a look.
3. Don't add ";" :
Anyone involved in writing code should not add ";" On the whole body uncomfortable ... Take the delayed macro deployment as an example:
#showtooltip
/castsequence [no modifier] reset = fighting/target life siphon, pain curse, corrosion, sacrifice, life sucking, life sucking;
/cast[ modified by alt] absorbs the soul; [modifier: ctrl] absorbs mana; [Modifier: shift] Absorb life;
This is a wrong demonstration, and ";"has been added. The absorption of the latter 3 will have no effect and should be removed. ....
4. For macro icon selection, try the first question mark icon in the icon selection panel.
Take the Undead Will Macro as an example, and select "?" As icons. Look at macros-cache.txt, and the icon name is "INV_Misc_QuestionMark".
#showtooltip
/Stop playing
/cast [nomodifier] to protect the shadow enchantment; Immortal will
This macro is in box 5 of my skill bar 1 Press 5 for secret defense and alt+5 for counter-terrorism.
When you select the question mark icon and drag it to the skill bar, the question mark icon will display the "Shadow Protection Enchantment" icon, which will display the skill cd. When you press "alt" (note that it is not "alt+5"), the icon will change to "Will of the Dead" and the cd of "Will of the Dead" will be displayed.
I used the question mark icon in the macro in the above experience 3, and it is very convenient to see which skill is being cast now. Being lazy is like being a moderator in the ui area. ..
Let's talk about this problem again:
Question 1:
In the macro in Experience 4 above, when pressing ctrl or shift, the icon is still "Protect Shadow Enchantment", but the following macro:
#showtooltip
/cast [nomodifier] life diversion; [Modifier: alt] Magic armor;
If you press ctrl or shift, the icon will change to "?" Of course, it will be normal after the finger is lifted, and it will not affect the use. I don't know if it's me or something. Please take a look at it for me.
Question 2:
When setting fire to rain or rubbing black eggs, I want to interrupt chanting. Normally, I would take two steps back. Is there a macro that can be interrupted directly?
/stopcasting can interrupt hearthstone, but it can't interrupt fire and rain.
Without this macro, the macro that can make me take a step back can also be = .. =
Question 3:
In wow2, I want to write a macro that randomly says a word when casting skills. It seems that the stone-tied one in front is not suitable, and the propaganda macro that used to be a walk-on doesn't seem to work well.
For example:
#showtooltip
/Stop playing
/cast fear
Macros after 3.0 will not be executed as long as one line cannot be executed.
There is a 1.5S ***CD between each skill in the macro.
However, after 3.0, LR doesn't need macros, just one-button stability.
Steady now does not recharge flat shot, and killing does not require hand pressure.
Macros have changed a lot since 2.0. Many macros can no longer be used.
What you wrote is that it is impossible to tie two skills to a public CD and cast them in order.
For example (the following macro is an example and cannot be implemented)
/cast poisonous snake spikes
/cast arcane shots
Then you click this macro, and you will only cast the viper nail forever.
And the following macro can be realized, because the first spell does not occupy the public ***CD:
Example (The following macro is correct and can be implemented)
/Exert divine grace
/cast a holy shock
/throw cold water on it
/spell damage
Hmm. How interesting