N:=5;
GET:zig(3,N),COLORYELLOW;
EN1:=ZIG(3,5)>REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)<=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)<=REF(ZIG(3,5),3);
EX1:=ZIG(3,5)<REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)>=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)>=REF(ZIG(3,5),3);
PL10:=ZIG(3,10);
EN2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)<=REF(ZIG(3,10),3);
EX2:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)>=REF(ZIG(3,10),3);
PL20:=ZIG(3,20);
EN3:=ZIG(3,20)>REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)<=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)<=REF(ZIG(3,20),3);
EX3:=ZIG(3,20)<REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)>=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)>=REF(ZIG(3,20),3);
VV0:=BArslAST(PL10<REF(PL10,1));
VV1:=BARSLAST(PL10>REF(PL10,1));
VV2:=BARSLAST(PL20<REF(PL20,1));
ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,VV0),0);
ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,VV0),0);
DTJZ5:=IF(PL10<REF(PL10,1),COUNT(EN1,VV1),0);
ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,VV2),0);
ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,VV2),0);
DRAWTEXT(EN2 AND ZTJZ5=1,L*0.94,’发现目标’),COLORRED;
DRAWTEXT(EN3 AND ZTJZ10=1,L*0.94,’发现目标’),COLORRED;
DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=2 OR (ZTJD10=0 OR ZTJD10=2) AND EX2,H*1.06,’结束战斗’),COLORGREEN

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。