From 994a975863355b8dcb9bb14397fcd0ed2db3f66b Mon Sep 17 00:00:00 2001 From: pierretienne Date: Mon, 8 Dec 2014 22:46:07 +0100 Subject: [PATCH] shoot du plus proche d'abord (coups meilleurs) --- src/IA_Exemple__4393.lks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IA_Exemple__4393.lks b/src/IA_Exemple__4393.lks index 67899dd..6add17f 100644 --- a/src/IA_Exemple__4393.lks +++ b/src/IA_Exemple__4393.lks @@ -764,8 +764,8 @@ if(LEVEL_G >= 14 && getFightContext() === FIGHT_CONTEXT_CHALLENGE killIfPossible(); renforce(WEAKEST_ENEMY_G); defense(WEAKEST_ENEMY_G); - shoot(WEAKEST_ENEMY_G); shoot(getNearestEnemy()); + shoot(WEAKEST_ENEMY_G); //moveBefore(); debug("[count] shoot:" + getInstructionsCount() +"/"+ INSTRUCTIONS_LIMIT); -- 2.11.4.GIT