if UnitIsEnemy("player", units) and UnitTarget(units)== player
and select(6,UnitCastingInfo(units))/1000-GetTime() <= 200
and
( select(1,UnitCastingInfo(units)) =="变形术"
or select(1,UnitCastingInfo(units)) =="妖术"
or select(1,UnitCastingInfo(units)) =="混乱之箭")
then
--print("需要反射的对象:"..UnitName(units,i))
amrun("法术反射")
end