/target XXX
/script local i,j=1;for i=1,16 do if (UnitBuff("target",i)=="技能的buffTexture,后面讲") then j=2; end; end
/script if (j==1) then CastSpellByName("防护恐惧结界");end
BuffTexture的值
把目标设成自己,去掉其他buff,剩下需要知道值的buff,
那么/script SendChatMessage(GetPlayerBuffTexture(0),"whisper",nil,UnitName("player"));的值就是需要的,抄下来复制到用的地方就行。
。