From a724e3b01445e7d62a86ad1b085b392126b46843 Mon Sep 17 00:00:00 2001 From: copcap Date: Fri, 3 Nov 2023 15:56:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83=E5=B9=B3=E6=B0=91AI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mode/identity.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mode/identity.js b/mode/identity.js index 6e50628ce..62fcb0a4f 100644 --- a/mode/identity.js +++ b/mode/identity.js @@ -3575,7 +3575,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ return Math.min(3,-situation); case 'fan': return -8; case 'commoner': - return Math.max(-3,situation); + return Math.min(3,Math.max(-3,situation)); } break; case 'nei':