From f3e724cd36b4dc9a7475d4db8e8ffaf12706775e Mon Sep 17 00:00:00 2001 From: libccy Date: Wed, 29 Apr 2015 18:21:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BD=E6=88=98AIbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mode/guozhan.js | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/mode/guozhan.js b/mode/guozhan.js index 0d73c6202..a38b3b803 100644 --- a/mode/guozhan.js +++ b/mode/guozhan.js @@ -638,6 +638,9 @@ mode.guozhan={ if(from.identity==toidentity){ if(get.totalPopulation(toidentity)+1<=get.population()/2) return 4+difficulty; } + if(lib.character[from.name1][1]==toidentity){ + if(get.totalPopulation(toidentity)+1<=get.population()/2) return 4+difficulty; + } var groups=[]; for(var i=0;i=get.population()-2){ + toidentity='ye'; + } + } + var att=ai.get.realAttitude(from,toidentity,difficulty); if(from.storage.zhibi&&from.storage.zhibi.contains(to)){ return att; }