From 1045e98fb14e6bb57ee7a3c5492378b7360cb157 Mon Sep 17 00:00:00 2001 From: libccy Date: Tue, 6 Jun 2017 01:32:51 +0800 Subject: [PATCH] 2 --- character/yijiang.js | 4 +++- game/game.js | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/character/yijiang.js b/character/yijiang.js index bc75ff2ab..c451792bc 100644 --- a/character/yijiang.js +++ b/character/yijiang.js @@ -4996,7 +4996,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ "step 1" if(result.control=='移动装备'){ player.logSkill('qieting',trigger.player); - player.choosePlayerCard(trigger.player,'e','将一张装备牌移至你的装备区'); + player.choosePlayerCard(trigger.player,'e','将一张装备牌移至你的装备区').set('filterButton',function(button){ + return !_status.event.player.getEquip(button.link); + }); } else{ if(result.control=='draw_card'){ diff --git a/game/game.js b/game/game.js index f561755a8..e209eb6f7 100644 --- a/game/game.js +++ b/game/game.js @@ -25945,6 +25945,10 @@ if(event.replacing){ this.link=event.replacing; this.setBackground(event.replacing,'character'); + + this.nodename.innerHTML=get.slimName(event.replacing); + this.nodename.dataset.nature=get.groupnature(lib.character[event.replacing][1]); + delete event.replacing; if(this.classList.contains('moved')){ event.custom.add.window();