📅  最后修改于: 2023-12-03 15:35:44.720000             🧑  作者: Mango
在魔兽世界游戏中,风行者、武僧、武器和秩序都是非常流行的职业、天赋和属性。对于喜欢使用这些元素的玩家,编写宏可以提高游戏效率和乐趣。
下面是一些示例代码,帮助程序员更好地理解 WoW 风行者、武僧、武器和秩序宏的编写方式和功能。
风行者是一个非常灵活的职业,在游戏中可用于战斗、移动、救援等多种场景。以下是两个常用的风行者宏示例:
此宏将触发你的风行者伤害技能,并自动使用风之祝福和宁静之风。代码如下:
# 风行者伤害技能宏
/castsequence reset=combat Stormstrike, Crash Lightning, Lava Lash, Windfury Attack
/castsequence reset=0.3 0, 0, Windfury Attack
/cast [combat] Windstrike
/castsequence reset=15/combustion Wind Strike, Feral Spirit, Stormstrike, Windfury Attack, Windstrike
/cast [combat] Feral Spirit
/castsequence reset=15/combustion Flametongue Weapon, Flametongue Weapon, Flametongue Weapon
/cast [combat] Wind Shear
/cast [combat] Wind Shear
/cast [combat] Stormstrike
/cast [combat] Crash Lightning
/cast [combat] Lava Lash
/cast [combat] Windfury Attack
/cast [combat] Windfury Attack
此宏将触发你的风行者荣誉技能,自动释放防御姿态和清除所有异常状态。代码如下:
# 风行者坦克宏
/cast Honor of the Chosen
/cast [stance:0/1/2] Defensive Stance
/castsequence reset=target !Pummel
/cast [stance:0/1/2] Battle Shout
/use Thorium Grenade
/cast [combat] Berserker Rage
/use Healthstone
/cast [combat] Shield Wall
/cast [combat] Last Stand
/cast [combat] Blood Rage
/cast [mod:ctrl] Intervene
/use Fel Overload
/cast [combat] Recklessness
/use [combat] 13
/use [combat] 14
/cancelaura Hand of Protection
/cancelaura Divine Shield
/cancelaura Ice Block
/cancelaura Blessing of Protection
/cancelaura Blessing of Freedom
/cancelaura Unholy Strength
/cancelaura Power Word: Shield
/cancelaura Aspect of the Turtle
武僧是一个潜行、治疗、输出和坦克都非常厉害的职业。以下是一些典型的武僧宏:
此宏将触发你的武僧伤害技能,自动释放分离和寻觅,并增强你的酒醉醒心酒效果。代码如下:
# 武僧 DPS 宏
/cast Expel Harm
/castsequence reset=0.3 0, 0, Keg Smash
/castsequence Rising Sun Kick, Fists of Fury, Spinning Crane Kick, Rushing Jade Wind, Blackout Kick
/cast [combat] Touch of Death
/use 13
/use 14
/cast [combat] Invoke Xuen, the White Tiger
/cast [combat] Flying Serpent Kick
/cast [combat] Storm, Earth, and Fire
/cancelaura Zen Meditation
/cancelaura Diffuse Magic
/cancelaura Dampen Harm
/cancelaura Fortifying Brew
此宏将触发你的武僧治疗技能,自动释放杀菌酒和完美清明。代码如下:
# 武僧治疗宏
/cast [@player] Detox
/castsequence Renewing Mist, Effuse
/castsequence reset=0.6 0,1,2,3,4,5,6,7,8,9 /use 13
/castsequence reset=0.6 0,1,2,3,4,5,6,7,8,9 /use 14
/cast Chi Burst
/cast [combat] Invoke Chi-Ji, the Red Crane
/cast [@player] Fortifying Brew
/cast [@player] Life Cocoon
/cancelaura Zen Meditation
/cancelaura Diffuse Magic
/cancelaura Dampen Harm
/cancelaura Fortifying Brew
武器和秩序都是魔兽世界中的非常重要的属性,它们直接影响了玩家在游戏中的效率和强度。以下是一些常见的武器/秩序宏示例:
此宏将触发你的武器加速技能,自动释放铁剑打击和冲锋。代码如下:
# 武器加速宏
/cast !Heroic Strike
/cast !Bloodthirst
/cast Piercing Howl
/cast ![mod:shift] Charge; [@player] Intervene
/cast [combat] Berserker Rage
/startattack [@target]
/cast [combat] Death Wish
/cast [combat] Berserking
/use 13
/use 14
/cancelaura Hand of Protection
/cancelaura Divine Shield
/cancelaura Ice Block
/cancelaura Blessing of Protection
/cancelaura Blessing of Freedom
/cancelaura Unholy Strength
/cancelaura Power Word: Shield
/cancelaura Aspect of the Turtle
此宏将触发你的秩序技能,自动释放精通、暴击和急速。代码如下:
# 秩序宏
/castsequence reset=10/shift Storm, Earth, and Fire, Fists of Fury, Rising Sun Kick, Blackout Kick
/castsequence Tiger Palm, Tiger Palm, Tiger Palm, Tiger Palm, Blackout Kick
/castsequence [combat] Chi Burst, [combat] Chi Wave
/castsequence reset=0.5 0, Expel Harm
/castsequence reset=0.5 0, Rushing Jade Wind
/use 13
/use 14
/cancelaura Hand of Protection
/cancelaura Divine Shield
/cancelaura Ice Block
/cancelaura Blessing of Protection
/cancelaura Blessing of Freedom
/cancelaura Unholy Strength
/cancelaura Power Word: Shield
/cancelaura Aspect of the Turtle
以上便是 WoW 风行者、武僧、武器和秩序宏的一些示例。程序员可以根据需求自行更改和定制这些代码,以满足自己在游戏中的需要。