下面这个宏也只对自己使用绷带,但在使用后会切换回先前的目标(不管是敌对中立还是友好的)。
/script p="player";t="target";if(not UnitCanAttack(t, p))then ot=UnitName(t);TargetUnit(p);else ot=nil;end;
UseAction(ActionID);if(SpellIsTargeting()) then SpellTargetUnit(p); end if(ot) then TargetByName(ot);end
[quote]Originally posted by xq0414 at 2005-7-31 09:16 AM:
按照上面的绷带宏可以用但有个小问题!编好的宏只能用编宏时给定的特定图标,但在录象中只要点绷带就能自动使用!请问如何解决!!!! [/quote]
这个应该是插件功能
晕,好复杂
按照上面的绷带宏可以用但有个小问题!编好的宏只能用编宏时给定的特定图标,但在录象中只要点绷带就能自动使用!请问如何解决!!!!
求助!!!
11
谢谢啦~~~
我打算用comcos了,NND,大脚不行
纯粹引用 未曾实践
假如不能用 表问我 表骂我
对主手武器或双手武器使用砺石
/script UseContainerItem (Bag,Slot)
/script PickupInventoryItem (16)
毒药同原理
(bag,slot)为第几个包 第几个格子5个背包按照排列位置编号如下:
[4][3][2][1][0]]
6格包的格子编号如下:
_____[1][2]
[3][4][5][6]
16格包的格子编号如下:
[ 1][ 2][ 3][ 4]
[ 5][ 6][ 7][ 8]
[ 9][10][11][12]
[13][14][15][16]
其他格数以此类推。
如果想在任何条件下都只对自己使用绷带的话,用如下的宏:
/target "player"
/use "Linen Bandage"
/script TargetLastEnemy()
同样,这个宏会切换当前目标,中断攻击,盗贼的连击点也会被清空。
下面这个宏也只对自己使用绷带,但在使用后会切换回先前的目标(不管是敌对中立还是友好的)。
/script p="player";t="target";if(not UnitCanAttack(t, p))then ot=UnitName(t);TargetUnit(p);else ot=nil;end;
UseAction(ActionID);if(SpellIsTargeting()) then SpellTargetUnit(p); end if(ot) then TargetByName(ot);end