合高翔AIbug修复

This commit is contained in:
copcap 2024-01-17 20:25:12 +08:00
parent 20734cb2b4
commit cf542ec9c0
No known key found for this signature in database
GPG Key ID: 30E7AB6699451AEE
1 changed files with 1 additions and 1 deletions

View File

@ -1777,7 +1777,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
const targets=game.filterPlayer(current=>target.inRange(current)&&current!=player);
let eff=0;
for(const targetx of targets){
const effx=get.effect(targetx,{name:'guohe_copy2'},player,target);
let effx=get.effect(targetx,{name:'guohe_copy2'},player,target);
if(get.attitude(player,targetx)<0) effx/=2;
eff+=effx;
}