合高翔AIbug修复
This commit is contained in:
parent
20734cb2b4
commit
cf542ec9c0
|
@ -1777,7 +1777,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
const targets=game.filterPlayer(current=>target.inRange(current)&¤t!=player);
|
const targets=game.filterPlayer(current=>target.inRange(current)&¤t!=player);
|
||||||
let eff=0;
|
let eff=0;
|
||||||
for(const targetx of targets){
|
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;
|
if(get.attitude(player,targetx)<0) effx/=2;
|
||||||
eff+=effx;
|
eff+=effx;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue