From a990d1390891c5b00eaad0ffff187f7a59a1938f Mon Sep 17 00:00:00 2001 From: mengxinzxz <2223529500@qq.com> Date: Tue, 9 Apr 2024 12:59:57 +0800 Subject: [PATCH] bugfix --- character/sp.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/character/sp.js b/character/sp.js index 9e7b3cf24..7e2d0ef3a 100755 --- a/character/sp.js +++ b/character/sp.js @@ -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; }