< 魔兽世界百科 >
|
![]() |
作者:bhu
/script x="Target";y="Player";m=not string.find;n=UnitMana("y");o=CastSpellByName;p=UnitBuff;if (m(p("x"),3)"撕裂") and n>=10 then o("撕裂 (等级 x)");elseif (m(p("x"),2)"挫志") and n>=10 then o("挫志怒吼(等级 x)");end;if (m(p("x"),1)"雷霆") and n>=20 then o("雷霆一击(等级 x)");end;end
--如果在打怪前怪身上没有“雷霆”、“挫志”、“撕裂”
--那么第一次运行这个宏命令在怒气大于等于10就使用“挫志怒吼(等级 x)”,结束宏。
--对付同一个怪第二次运行这个宏在怒气大于等于10就是用"撕裂 (等级 x)",结束宏。
--再次运行宏再怒气大于等于20就使用“雷霆一击(等级 x)”结束宏运行。
引用本页地址(点击复制到粘贴板) 粘贴到你想引用的网页。
HTML形式的传播:
论坛形式的传播: