刺客信条起源地狱马:请教个个SS宏的问题

来源:百度文库 编辑:高校问答 时间:2024/05/04 08:43:57
/script if (UnitHealth("target")>80) then CastSpellByName("吸取生命(等级 2)") else
CastSpellByName("吸取灵魂(等级 1)"); end

========我分割=========

当生命值大于80时吸取生命 否则吸取灵魂(获得碎片)

为什么用这个宏不起任何作用,反而要报错,是不是需要什么插件支持?
请问什么叫 "F!选定不对"?

/script if (UnitHealth("target")>80) then CastSpellByName("吸取生命(等级 2)") else if (UnitHealth("target")<80)
then CastSpellByName("吸取灵魂(等级 1)"); end ;end
不过你可以也试一下 在最后在加 ;end
因为你这里是一个嵌套语句 if(xxxx)then xxx ;
else if(..)then ...;
end;
end

F1选定不对.

F1选定不对.