From 5b90d01ae370160fe99458b0724efd3d3dd0402d Mon Sep 17 00:00:00 2001 From: libccy Date: Sun, 10 Jul 2016 10:45:05 +0800 Subject: [PATCH] 3 --- card/sp.js | 9 ++++++++- game/game.js | 26 +++++++++++++------------- game/update.js | 3 ++- 3 files changed, 23 insertions(+), 15 deletions(-) diff --git a/card/sp.js b/card/sp.js index c61c493a8..506688f7b 100644 --- a/card/sp.js +++ b/card/sp.js @@ -34,7 +34,14 @@ card.sp={ ai:{ value:-5, useful:6, - } + }, + enable:true, + filterTarget:function(card,player,target){ + return target==player; + }, + delay:false, + content:function(){}, + selectTarget:-1 }, shengdong:{ fullskin:true, diff --git a/game/game.js b/game/game.js index 0a34d5964..8472f9e5a 100755 --- a/game/game.js +++ b/game/game.js @@ -3861,6 +3861,19 @@ var ia=connect_avatar_list[i]; lib.mode.connect.config.connect_avatar.item[ia]=lib.translate[ia]; } + if(lib.cardPack.mode_derivation){ + for(var i=0;i