Skip to content

Commit

Permalink
Update AI commoner attitude.
Browse files Browse the repository at this point in the history
  • Loading branch information
adeFuLoDgu committed Oct 16, 2024
1 parent 860a04e commit e3a56a9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion mode/identity.js
Original file line number Diff line number Diff line change
Expand Up @@ -4453,7 +4453,13 @@ export default () => {
break;
case "commoner":
switch (identity2) {
case 'zhu':case 'zhong':case 'mingzhong':
case 'zhu':
if (get.population('fan')==0&&get.population('nei')>0&&!nei_or_commoner_fan_mark){
if (get.population('zhong')+get.population('mingzhong')==0) return -3;
return 0;
}
return situation;
case 'zhong':case 'mingzhong':
if (get.population('fan')==0&&get.population('nei')>0&&!nei_or_commoner_fan_mark){
if (get.population('zhong')+get.population('mingzhong')==0) return -3;
return to.hp==max_hp_exclude_zhu_and_self?-(to.countCards('h')+to.countCards('e')*1.5+to.hp*2):0;
Expand Down

0 comments on commit e3a56a9

Please sign in to comment.