修复【威虏】ai

This commit is contained in:
157 2024-01-25 12:53:10 +08:00
parent 86078f74aa
commit 50fa991992
1 changed files with 3 additions and 3 deletions

View File

@ -712,10 +712,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
player:"damageEnd", player:"damageEnd",
}, },
filter:function(event,player){ filter:function(event,player){
return event.source&&event.source.isIn()&&!player.getStorage('xinfu_weilu_effect').includes(event.source) return event.source&&event.source.isIn()&&!player.getStorage('xinfu_weilu_effect').includes(event.source);
}, },
check:function(event,player){ check:function(event,player){
return (get.effect(target,{name:'losehp'},player,player)>=0); return get.effect(event.source,{name:'losehp'},player,player)>=0;
}, },
forced:true, forced:true,
logTarget:"source", logTarget:"source",