你最后说的技能和动作条的位置
13-24 第二动作条
25-36 右边动作条
37-48 右2动作条
49-60 右下动作条
61-72 左下动作条
73-84 战斗姿态下的动作条
85-96 防御姿态下的动作条
97-108 狂暴姿态下的动作条
解释几个函数:
CastShapeshiftForm 改变姿势(1为战斗,2防御,3狂暴)
CastSpellByName( ) 按技能名称施法,括号内跟技能名称
IsActionInRange( ) 技能是否处于可用范围,括号内为技能编号。技能可用时返回1
UnitHealth("target") 判断目标的血量
GetActionCooldown( ) 检测技能冷却时间,括号内为技能编号,技能已冷却返回0
UseContainerItem(3,1) 左起第二个包裹的第1个位置
SpellStopCasting()
================================================================
全局变量
/script C=CastSpellByName;
/script CSF=CastShapeshiftForm;
/script G=GetActionCooldown;
/script M=SendChatMessage;
/script U=IsUsableAction;
/script HP=UnitHealth;
/script MP=UnitMana;
狂暴之怒
/script if(G(52)<2) then CSF(3);end
/script if(U(52)==1) then C("狂暴之怒");end
/script if(G(52)>0) then CastShapeshiftForm(2);end
9命——用破釜沉舟,开盾墙
/script if(HP("player")<1300) then if(G(51)<=0) then C("破釜沉舟");M("破釜沉舟 开!","YELL");else if(G(50)<=0) then C("盾墙");M("盾墙 开!","YELL");else M("警告:HP "..HP("player"),"YELL");end;end;end