From f0ede3270c10a6bacedffe6e477f5d753ade13c1 Mon Sep 17 00:00:00 2001 From: Kaan Soral Date: Mon, 20 Feb 2017 13:29:01 +0300 Subject: [PATCH] Update phoenix_hunter.js --- examples/phoenix_hunter.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/phoenix_hunter.js b/examples/phoenix_hunter.js index 53942e7..c9b3891 100644 --- a/examples/phoenix_hunter.js +++ b/examples/phoenix_hunter.js @@ -4,13 +4,14 @@ setInterval(function(){ loot(); if(is_moving(character)) return; - // IDEA: Instead of returning when is_moving, if character.targets<2, farm nearby monsters if they are in_attack_range + //IDEA: Instead of returning when is_moving, if character.targets<2, farm nearby monsters if they are in_attack_range var target=get_nearest_monster({type:"phoenix"}); if(!target) { smart_move({to:"phoenix"},function(r){ if(r) game_log("At another Phoenix spawn!","#E0C34C"); + //TODO: "tunnel" is a dangerous map, find a corner and pull Phoenix there, if a mole targets you, use("town") and escape, heal, re-try }); return; }