From e5c74c3f7838d0ea0b37ebaa8bceb3ece72d6999 Mon Sep 17 00:00:00 2001 From: libccy Date: Wed, 13 Jun 2018 12:06:17 +0800 Subject: [PATCH] anguo --- character/yijiang.js | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/character/yijiang.js b/character/yijiang.js index 3a62a0f48..d09f2a5f1 100644 --- a/character/yijiang.js +++ b/character/yijiang.js @@ -311,10 +311,19 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.draw(); } if(!event.hp&&player.isMinHp()&&player.isDamaged()){ - target.recover(); + player.recover(); } if(!event.e&&player.isMinEquip()){ - player.equip(game.createCard(get.inpile('equip').randomGet()),true); + var list=[]; + for(var i in lib.cardPile){ + for(var j=0;j