equal
deleted
inserted
replaced
367 begin |
367 begin |
368 Score:= CheckTrace; |
368 Score:= CheckTrace; |
369 if valueResult < Score then |
369 if valueResult < Score then |
370 begin |
370 begin |
371 ap.Angle:= DxDy2AttackAngle(Vx, Vy) + AIrndSign(random(Level)); |
371 ap.Angle:= DxDy2AttackAngle(Vx, Vy) + AIrndSign(random(Level)); |
372 ap.Power:= hwRound(r * cMaxPower) + AIrndSign(random(Level) * 15); |
372 ap.Power:= hwRound(r * cMaxPower * _0_9) + AIrndSign(random(Level) * 15); |
373 ap.Time:= TestTime; |
373 ap.Time:= TestTime; |
374 ap.ExplR:= 300; |
374 ap.ExplR:= 300; |
375 ap.ExplX:= EX; |
375 ap.ExplX:= EX; |
376 ap.ExplY:= EY; |
376 ap.ExplY:= EY; |
377 valueResult:= Score |
377 valueResult:= Score |