This commit is contained in:
mengxinzxz 2024-04-09 12:59:57 +08:00
parent 05f224fd80
commit a990d13908
1 changed files with 2 additions and 2 deletions

View File

@ -3476,7 +3476,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
trigger:{player:['useCard','useCardAfter']},
filter:function(event,player,name){
if(name=='useCardAfter'){
if(player.isTempBanned('olqifan')) return false;
if(player.isTempBanned('olxiaofan')) return false;
return player.getHistory('useCard',evt=>{
return !player.getHistory('sourceDamage',evt2=>{
return evt2.card&&evt2.card==evt.card;
@ -3489,7 +3489,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
content:function(){
'step 0'
if(event.triggername=='useCardAfter'){
player.tempBanSkill('olqifan');
player.tempBanSkill('olxiaofan');
event.finish();
return;
}