From bcf4916f0a121209f7891de386bce5585ac23a39 Mon Sep 17 00:00:00 2001 From: Spmario233 Date: Thu, 26 Oct 2023 22:56:58 +0800 Subject: [PATCH] Fix bugs made by PZ157 --- character/extra.js | 2 +- character/tw.js | 2 +- character/xianding.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/character/extra.js b/character/extra.js index b33f2467c..7cf7f75de 100755 --- a/character/extra.js +++ b/character/extra.js @@ -5151,7 +5151,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(player===current||current.hp>1||get.attitude(player,current)>=0) return false; return player.inRange(current)&&player.countCards('hs','sha')&&player.getCardUsable('sha')|| player.countCards('hs',card=>get.name(card)!=='sha'&&get.tag(card,'damage'))>1; - }) return 9.2; + })) return 9.2; return 0; }, result:{ diff --git a/character/tw.js b/character/tw.js index b7dbd4ff0..90a6f4b75 100644 --- a/character/tw.js +++ b/character/tw.js @@ -13193,7 +13193,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ name:card.name, target:target, card:card, - }))){ + })){ if(player&&player.hasSkillTag('damageBonus',true,{ target:target, card:card diff --git a/character/xianding.js b/character/xianding.js index ac0a0607c..8674f7654 100644 --- a/character/xianding.js +++ b/character/xianding.js @@ -11801,7 +11801,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ jueqing:true, unequip_ai:true, skillTagFilter:function(player,tag,arg){ - if(tag=='unequip_ai') return arg&&arg.name==='sha; + if(tag=='unequip_ai') return arg&&arg.name==='sha'; } }, },