Skip to content

Commit

Permalink
Update identity mode AI.
Browse files Browse the repository at this point in the history
  • Loading branch information
adeFuLoDgu committed Nov 14, 2024
1 parent c455913 commit f5e47ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mode/identity.js
Original file line number Diff line number Diff line change
Expand Up @@ -3891,11 +3891,12 @@ export default () => {
return -5;
case "nei":
if (zhongmode && to.ai.sizhong && to.ai.shown < 0.95) return -7;
if (get.population("fan") == 1) return 0;
if (get.population("fan") == 1) return -4;
if (get.population("zhong") + get.population("mingzhong") == 0) return -7;
if (game.zhu && game.zhu.hp <= 2) return -1;
return Math.min(3, situation);
case "fan":
if (from!=to&&get.population("fan") == 1) return -4;
return 5;
case "commoner":
if (zhongmode&&to.ai.sizhong&&to.ai.shown<0.95) return -6;
Expand Down

0 comments on commit f5e47ad

Please sign in to comment.