修复【威虏】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",
|
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",
|
||||||
|
|
Loading…
Reference in New Issue