修复【威虏】ai
This commit is contained in:
parent
86078f74aa
commit
50fa991992
|
@ -712,10 +712,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
player:"damageEnd",
|
||||
},
|
||||
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){
|
||||
return (get.effect(target,{name:'losehp'},player,player)>=0);
|
||||
check:function(event,player){
|
||||
return get.effect(event.source,{name:'losehp'},player,player)>=0;
|
||||
},
|
||||
forced:true,
|
||||
logTarget:"source",
|
||||
|
|
Loading…
Reference in New Issue