diff --git a/audio/skill/drlt_congjian1.mp3 b/audio/skill/drlt_congjian1.mp3 new file mode 100644 index 000000000..31effc004 Binary files /dev/null and b/audio/skill/drlt_congjian1.mp3 differ diff --git a/audio/skill/drlt_congjian2.mp3 b/audio/skill/drlt_congjian2.mp3 new file mode 100644 index 000000000..d4c018972 Binary files /dev/null and b/audio/skill/drlt_congjian2.mp3 differ diff --git a/audio/skill/drlt_duorui1.mp3 b/audio/skill/drlt_duorui1.mp3 new file mode 100644 index 000000000..109be3a6e Binary files /dev/null and b/audio/skill/drlt_duorui1.mp3 differ diff --git a/audio/skill/drlt_duorui2.mp3 b/audio/skill/drlt_duorui2.mp3 new file mode 100644 index 000000000..06b4dfda6 Binary files /dev/null and b/audio/skill/drlt_duorui2.mp3 differ diff --git a/audio/skill/drlt_hongju1.mp3 b/audio/skill/drlt_hongju1.mp3 new file mode 100644 index 000000000..e5f660990 Binary files /dev/null and b/audio/skill/drlt_hongju1.mp3 differ diff --git a/audio/skill/drlt_hongju2.mp3 b/audio/skill/drlt_hongju2.mp3 new file mode 100644 index 000000000..c89c19e29 Binary files /dev/null and b/audio/skill/drlt_hongju2.mp3 differ diff --git a/audio/skill/drlt_huairou1.mp3 b/audio/skill/drlt_huairou1.mp3 new file mode 100644 index 000000000..1ea79e0e1 Binary files /dev/null and b/audio/skill/drlt_huairou1.mp3 differ diff --git a/audio/skill/drlt_huairou2.mp3 b/audio/skill/drlt_huairou2.mp3 new file mode 100644 index 000000000..4d5d95d62 Binary files /dev/null and b/audio/skill/drlt_huairou2.mp3 differ diff --git a/audio/skill/drlt_jieying1.mp3 b/audio/skill/drlt_jieying1.mp3 new file mode 100644 index 000000000..8ac8a4d41 Binary files /dev/null and b/audio/skill/drlt_jieying1.mp3 differ diff --git a/audio/skill/drlt_jieying2.mp3 b/audio/skill/drlt_jieying2.mp3 new file mode 100644 index 000000000..721426d07 Binary files /dev/null and b/audio/skill/drlt_jieying2.mp3 differ diff --git a/audio/skill/drlt_jueyan1.mp3 b/audio/skill/drlt_jueyan1.mp3 new file mode 100644 index 000000000..79cb90e83 Binary files /dev/null and b/audio/skill/drlt_jueyan1.mp3 differ diff --git a/audio/skill/drlt_jueyan2.mp3 b/audio/skill/drlt_jueyan2.mp3 new file mode 100644 index 000000000..953bf487c Binary files /dev/null and b/audio/skill/drlt_jueyan2.mp3 differ diff --git a/audio/skill/drlt_poshi1.mp3 b/audio/skill/drlt_poshi1.mp3 new file mode 100644 index 000000000..21f07fcd0 Binary files /dev/null and b/audio/skill/drlt_poshi1.mp3 differ diff --git a/audio/skill/drlt_poshi2.mp3 b/audio/skill/drlt_poshi2.mp3 new file mode 100644 index 000000000..ce0788855 Binary files /dev/null and b/audio/skill/drlt_poshi2.mp3 differ diff --git a/audio/skill/drlt_poxi1.mp3 b/audio/skill/drlt_poxi1.mp3 new file mode 100644 index 000000000..4b0f661fc Binary files /dev/null and b/audio/skill/drlt_poxi1.mp3 differ diff --git a/audio/skill/drlt_poxi2.mp3 b/audio/skill/drlt_poxi2.mp3 new file mode 100644 index 000000000..ebe33b5a9 Binary files /dev/null and b/audio/skill/drlt_poxi2.mp3 differ diff --git a/audio/skill/drlt_qianjie1.mp3 b/audio/skill/drlt_qianjie1.mp3 new file mode 100644 index 000000000..b2611294f Binary files /dev/null and b/audio/skill/drlt_qianjie1.mp3 differ diff --git a/audio/skill/drlt_qianjie2.mp3 b/audio/skill/drlt_qianjie2.mp3 new file mode 100644 index 000000000..e53624f1b Binary files /dev/null and b/audio/skill/drlt_qianjie2.mp3 differ diff --git a/audio/skill/drlt_qingce1.mp3 b/audio/skill/drlt_qingce1.mp3 new file mode 100644 index 000000000..941bee8b7 Binary files /dev/null and b/audio/skill/drlt_qingce1.mp3 differ diff --git a/audio/skill/drlt_qingce2.mp3 b/audio/skill/drlt_qingce2.mp3 new file mode 100644 index 000000000..2773b74e0 Binary files /dev/null and b/audio/skill/drlt_qingce2.mp3 differ diff --git a/audio/skill/drlt_wanglie1.mp3 b/audio/skill/drlt_wanglie1.mp3 new file mode 100644 index 000000000..149da993b Binary files /dev/null and b/audio/skill/drlt_wanglie1.mp3 differ diff --git a/audio/skill/drlt_wanglie2.mp3 b/audio/skill/drlt_wanglie2.mp3 new file mode 100644 index 000000000..5743ba261 Binary files /dev/null and b/audio/skill/drlt_wanglie2.mp3 differ diff --git a/audio/skill/drlt_xiongluan1.mp3 b/audio/skill/drlt_xiongluan1.mp3 new file mode 100644 index 000000000..d420543bb Binary files /dev/null and b/audio/skill/drlt_xiongluan1.mp3 differ diff --git a/audio/skill/drlt_xiongluan2.mp3 b/audio/skill/drlt_xiongluan2.mp3 new file mode 100644 index 000000000..be00723af Binary files /dev/null and b/audio/skill/drlt_xiongluan2.mp3 differ diff --git a/audio/skill/drlt_zhenggu1.mp3 b/audio/skill/drlt_zhenggu1.mp3 new file mode 100644 index 000000000..e85001a0d Binary files /dev/null and b/audio/skill/drlt_zhenggu1.mp3 differ diff --git a/audio/skill/drlt_zhenggu2.mp3 b/audio/skill/drlt_zhenggu2.mp3 new file mode 100644 index 000000000..c823c676b Binary files /dev/null and b/audio/skill/drlt_zhenggu2.mp3 differ diff --git a/audio/skill/drlt_zhenrong1.mp3 b/audio/skill/drlt_zhenrong1.mp3 new file mode 100644 index 000000000..370332129 Binary files /dev/null and b/audio/skill/drlt_zhenrong1.mp3 differ diff --git a/audio/skill/drlt_zhenrong2.mp3 b/audio/skill/drlt_zhenrong2.mp3 new file mode 100644 index 000000000..8fb00a7a5 Binary files /dev/null and b/audio/skill/drlt_zhenrong2.mp3 differ diff --git a/audio/skill/drlt_zhiti1.mp3 b/audio/skill/drlt_zhiti1.mp3 new file mode 100644 index 000000000..70c7c2b47 Binary files /dev/null and b/audio/skill/drlt_zhiti1.mp3 differ diff --git a/audio/skill/drlt_zhiti2.mp3 b/audio/skill/drlt_zhiti2.mp3 new file mode 100644 index 000000000..16e6ee608 Binary files /dev/null and b/audio/skill/drlt_zhiti2.mp3 differ diff --git a/audio/skill/kongsheng1.mp3 b/audio/skill/kongsheng1.mp3 new file mode 100644 index 000000000..6041a6b63 Binary files /dev/null and b/audio/skill/kongsheng1.mp3 differ diff --git a/audio/skill/kongsheng2.mp3 b/audio/skill/kongsheng2.mp3 new file mode 100644 index 000000000..7c21fac53 Binary files /dev/null and b/audio/skill/kongsheng2.mp3 differ diff --git a/audio/skill/liangyin1.mp3 b/audio/skill/liangyin1.mp3 new file mode 100644 index 000000000..ea2123029 Binary files /dev/null and b/audio/skill/liangyin1.mp3 differ diff --git a/audio/skill/liangyin2.mp3 b/audio/skill/liangyin2.mp3 new file mode 100644 index 000000000..4a9364d95 Binary files /dev/null and b/audio/skill/liangyin2.mp3 differ diff --git a/audio/skill/xinfu_dianhu1.mp3 b/audio/skill/xinfu_dianhu1.mp3 new file mode 100644 index 000000000..8169bcb86 Binary files /dev/null and b/audio/skill/xinfu_dianhu1.mp3 differ diff --git a/audio/skill/xinfu_dianhu2.mp3 b/audio/skill/xinfu_dianhu2.mp3 new file mode 100644 index 000000000..712a998a0 Binary files /dev/null and b/audio/skill/xinfu_dianhu2.mp3 differ diff --git a/audio/skill/xinfu_jianji1.mp3 b/audio/skill/xinfu_jianji1.mp3 new file mode 100644 index 000000000..e0e8cdb13 Binary files /dev/null and b/audio/skill/xinfu_jianji1.mp3 differ diff --git a/audio/skill/xinfu_jianji2.mp3 b/audio/skill/xinfu_jianji2.mp3 new file mode 100644 index 000000000..586b288f9 Binary files /dev/null and b/audio/skill/xinfu_jianji2.mp3 differ diff --git a/audio/skill/xinfu_lianpian1.mp3 b/audio/skill/xinfu_lianpian1.mp3 new file mode 100644 index 000000000..1815833f2 Binary files /dev/null and b/audio/skill/xinfu_lianpian1.mp3 differ diff --git a/audio/skill/xinfu_lianpian2.mp3 b/audio/skill/xinfu_lianpian2.mp3 new file mode 100644 index 000000000..1fd2f09bf Binary files /dev/null and b/audio/skill/xinfu_lianpian2.mp3 differ diff --git a/audio/skill/xinfu_xingzhao.mp3 b/audio/skill/xinfu_xingzhao.mp3 new file mode 100644 index 000000000..2321cd55a Binary files /dev/null and b/audio/skill/xinfu_xingzhao.mp3 differ diff --git a/audio/skill/xinfu_xingzhao2.mp3 b/audio/skill/xinfu_xingzhao2.mp3 new file mode 100644 index 000000000..737246af0 Binary files /dev/null and b/audio/skill/xinfu_xingzhao2.mp3 differ diff --git a/audio/skill/xinfu_zuilun1.mp3 b/audio/skill/xinfu_zuilun1.mp3 new file mode 100644 index 000000000..6ae070a6b Binary files /dev/null and b/audio/skill/xinfu_zuilun1.mp3 differ diff --git a/audio/skill/xinfu_zuilun2.mp3 b/audio/skill/xinfu_zuilun2.mp3 new file mode 100644 index 000000000..46a5a64e6 Binary files /dev/null and b/audio/skill/xinfu_zuilun2.mp3 differ diff --git a/audio/skill/xz_xunxun1.mp3 b/audio/skill/xz_xunxun1.mp3 new file mode 100644 index 000000000..73db5c4ec Binary files /dev/null and b/audio/skill/xz_xunxun1.mp3 differ diff --git a/audio/skill/xz_xunxun2.mp3 b/audio/skill/xz_xunxun2.mp3 new file mode 100644 index 000000000..a374db5e1 Binary files /dev/null and b/audio/skill/xz_xunxun2.mp3 differ diff --git a/card/sp.js b/card/sp.js index bd6f7badd..aa7162cb4 100644 --- a/card/sp.js +++ b/card/sp.js @@ -242,7 +242,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ }, onLose:function(){ player.unmarkSkill('muniu_skill6'); - if(event.parent.type!='equip'&&card&&card.cards&&card.cards.length){ + if((event.getParent(2)&&event.getParent(2).name!='swapEquip')&&event.parent.type!='equip'&&card&&card.cards&&card.cards.length){ player.$throw(card.cards,1000); player.popup('muniu'); game.log(card,'掉落了',card.cards); @@ -678,6 +678,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ game.broadcast(function(muniu,cards){ muniu.cards=cards; },muniu,muniu.cards); + event.trigger("addCardToStorage"); var players=game.filterPlayer(function(current){ if(!current.getEquip(5)&¤t!=player&&!current.isTurnedOver()&& get.attitude(player,current)>=3&&get.attitude(current,player)>=3){ diff --git a/character/extra.js b/character/extra.js index b170146bf..390d8dadf 100755 --- a/character/extra.js +++ b/character/extra.js @@ -2073,7 +2073,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ group:["drlt_zhiti_1","drlt_zhiti_2","drlt_zhiti_3","drlt_zhiti_4","drlt_zhiti_5"], subSkill:{ '1':{ - audio:2, + audio:"drlt_zhiti", trigger:{ global:'juedouAfter' }, @@ -2099,7 +2099,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, }, '2':{ - audio:2, + audio:"drlt_zhiti", trigger:{ player:'juedouAfter', }, @@ -2125,7 +2125,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, }, '3':{ - audio:2, + audio:"drlt_zhiti", trigger:{ player:'chooseToCompareAfter' }, @@ -2151,7 +2151,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, }, '4':{ - audio:2, + audio:"drlt_zhiti", trigger:{ global:'chooseToCompareAfter' }, @@ -2177,7 +2177,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, }, '5':{ - audio:2, + audio:"drlt_zhiti", trigger:{ player:['damageEnd'] }, @@ -2402,7 +2402,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ translate:{ "shen_luxun":"神陆逊", "nzry_junlve":"军略", - "nzry_junlve_info":"锁定技,当你受到或造成伤害后,你获得一个“军略”标记", + "nzry_junlve_info":"锁定技,当你受到或造成伤害后,你获得X个“军略”标记(X为伤害点数)", "nzry_cuike":"摧克", "nzry_cuike_info":"出牌阶段开始时,若“军略”标记的数量为奇数,你可以对一名角色造成一点伤害;若“军略”标记的数量为偶数,你可以横置一名角色并弃置其区域内的一张牌。若“军略”标记的数量超过7个,你可以移去全部“军略”标记并对所有其他角色造成一点伤害", "nzry_dinghuo":"绽火", diff --git a/character/old.js b/character/old.js index ce70d163d..a03db07b9 100755 --- a/character/old.js +++ b/character/old.js @@ -39,6 +39,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, skill:{ old_zuilun:{ + audio:'xinfu_zuilun', subSkill:{ e:{}, h:{}, @@ -81,6 +82,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, "old_jijun":{ marktext:"方", + audio:"xinfu_jijun", intro:{ content:"cards", }, @@ -104,11 +106,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.storage.old_jijun.addArray(cards); player.markSkill('old_jijun'); }, + ai:{order:1,result:{player:1}}, }, "old_fangtong":{ trigger:{ player:"phaseEnd", }, + audio:"xinfu_fangtong", forced:true, skillAnimation:true, filter:function (event,player){ @@ -575,7 +579,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ old_machao:'旧马超', old_bulianshi:'旧步练师', old_zhugezhan:"旧诸葛瞻", - zhangliang:'张梁', + zhangliang:'旧张梁', "old_jijun":"集军", "old_jijun_info":"出牌阶段,你可以将任意张手牌置于你的武将牌上。(均称为“方”)", diff --git a/character/refresh.js b/character/refresh.js index 405f074e8..a8d61a26f 100755 --- a/character/refresh.js +++ b/character/refresh.js @@ -2357,8 +2357,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){ forced:true, audio:2, content:function(){ - player.draw(3); + var num=trigger.num; + player.draw(3*num); if(_status.currentPhase==player){ + if(!player.storage.zhaxiang2) player.storage.zhaxiang2=0; + player.storage.zhaxiang2+=num; player.addTempSkill('zhaxiang2',{player:'phaseAfter'}); } else{ @@ -2375,9 +2378,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(card.name=='sha'&&get.color(card)=='red') return true; }, cardUsable:function(card,player,num){ - if(card.name=='sha') return num+1; + if(card.name=='sha') return num+player.storage.zhaxiang2; } }, + onremove:true, trigger:{player:'shaBegin'}, forced:true, filter:function(event,player){ diff --git a/character/shenhua.js b/character/shenhua.js index 19c27a3b9..019032e71 100755 --- a/character/shenhua.js +++ b/character/shenhua.js @@ -214,14 +214,15 @@ game.import('character',function(lib,game,ui,get,ai,_status){ unique:true, derivation:['drlt_qingce'], init:function(player){ - player.storage.zbaijiang=false; + player.storage.drlt_hongju=false; }, filter:function(event,player){ - return !player.storage.zbaijiang&&player.storage.drlt_zhenrong&&player.storage.drlt_zhenrong.length>=3&&game.dead.length>0; + return !player.storage.drlt_hongju&&player.storage.drlt_zhenrong&&player.storage.drlt_zhenrong.length>=3&&game.dead.length>0; }, content:function(){ 'step 0' - player.storage.zbaijiang=true; + player.awakenSkill('drlt_hongju'), + player.storage.drlt_hongju=true; var num=player.storage.drlt_zhenrong.length; if(num>player.countCards('h')) num=player.countCards('h'); player.chooseCard('h',[1,num],'请选择需要替换“荣”的手牌').set('ai',function(card){ @@ -673,19 +674,28 @@ game.import('character',function(lib,game,ui,get,ai,_status){ content:function(){ 'step 0' event.cards=trigger.cards; + event.logged=false; + event.gived=[]; 'step 1' - player.chooseTarget('是否将 '+get.translation(event.cards[0])+' 给予其他群雄角色?',function(card,player,target){ - return target!=player&&target.group=='qun'; + if(!game.hasPlayer(function(target){ + return target!=player&&target.group=='qun'&&!event.gived.contains(target); + })) event.finish(); + else player.chooseTarget('是否将 '+get.translation(event.cards[0])+' 给予其他群雄角色?',function(card,player,target){ + return target!=player&&target.group=='qun'&&!event.gived.contains(target); }).ai=function(target){ if(event.cards[0].name=='du') return -get.attitude(player,target); return get.attitude(player,target); }; 'step 2' if(result.bool){ - player.logSkill('drlt_weidi',result.targets); + if(!event.logged){ + player.logSkill('drlt_weidi'); + event.logged=true; + } player.line(result.targets); player.$give(event.cards[0],result.targets[0]); result.targets[0].gain(event.cards[0],player); + event.gived.add(result.targets[0]); }; event.cards.remove(event.cards[0]); if(event.cards.length>0) event.goto(1); @@ -1361,10 +1371,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var targets=result.targets; if(event.control==event.str1){ player.line(targets); - player.logSkill('nzry_kuizhu'); - for(var i=0;i0&&player.storage.nzry_shicai!=undefined&&!player.storage.nzry_shicai.contains(get.type(event.card)); + return (event.name=='respond'&&event.card.name!='sha'||event.name=='useCard')&&event.cards.length>0&&player.storage.nzry_shicai!=undefined&&!player.storage.nzry_shicai.contains(get.type(event.card,'trick')); }, check:function (event,player){ return get.type(event.card)!='equip'&&event.card.name!='lebu'&&event.card.name!='bingliang'; }, content:function(){ - player.storage.nzry_shicai.push(get.type(trigger.card)); + player.storage.nzry_shicai.push(get.type(trigger.card,'trick')); + if(trigger.name=='useCard'&&['equip','delay'].contains(get.type(trigger.card))) trigger.cancel(); for(var i=0;i