修复神张辽无法发动【夺锐】的严重bug

This commit is contained in:
157 2024-01-14 20:19:37 +08:00
parent ac05de482d
commit d02b1c8750
1 changed files with 1 additions and 1 deletions

View File

@ -7014,11 +7014,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){
source:'damageSource' source:'damageSource'
}, },
filter:function(event,player){ filter:function(event,player){
if(get.attitude(_status.event.player,event.player)>=0) return false;
if(player.storage.drlt_duorui.length) return false; if(player.storage.drlt_duorui.length) return false;
return event.player.isIn()&&_status.currentPhase==player; return event.player.isIn()&&_status.currentPhase==player;
}, },
check:function(event,player){ check:function(event,player){
if(get.attitude(_status.event.player,event.player)>=0) return false;
if(player.hasEnabledSlot()&&!player.hasEnabledSlot(5)) return false; if(player.hasEnabledSlot()&&!player.hasEnabledSlot(5)) return false;
return true; return true;
}, },