From 1806547580944c81b6cba2a18a5edac0359e8c86 Mon Sep 17 00:00:00 2001 From: libccy Date: Sat, 21 May 2016 08:27:08 +0800 Subject: [PATCH] s --- character/hearth.js | 39 +++++++++++++++++++++++++-------------- character/swd.js | 4 ++-- game/update.js | 2 +- 3 files changed, 28 insertions(+), 17 deletions(-) diff --git a/character/hearth.js b/character/hearth.js index beb799d41..eec08b705 100755 --- a/character/hearth.js +++ b/character/hearth.js @@ -55,7 +55,7 @@ character.hearth={ hs_siwangzhiyi:['male','qun',12,['mieshi']], hs_bilanyoulong:['male','wei',4,['lingzhou']], hs_jinglinglong:['male','wu',3,['mianyi']], - hs_ruanniguai:['male','wu',3,['nianfu']], + // hs_ruanniguai:['male','wu',3,['nianfu']], hs_hudunren:['male','shu',3,['hhudun']], hs_nate:['male','wu',4,['chuidiao']], hs_jiaziruila:['male','wu',4,['hannu']], @@ -2810,8 +2810,7 @@ character.hearth={ forced:true, unique:true, content:function(){ - var rand=['tuteng1','tuteng2','tuteng4', - 'tuteng5','tuteng6','tuteng7']; + var rand=['tuteng2','tuteng4','tuteng5','tuteng6','tuteng7','tuteng8']; if(player.storage.s_tuteng){ var rand2=player.storage.s_tuteng; @@ -2852,6 +2851,13 @@ character.hearth={ } }, position:'he', + filter:function(event,player){ + var rand=['tuteng1','tuteng2','tuteng3','tuteng4']; + for(var i=0;i1||rand2.length>=3)){ + if(event.isMine()&&(rand.length>1||rand2.length>=4)){ var dialog=ui.create.dialog(); for(var i=0;i=3){ + if(rand2.length>=4){ dialog.add('替换一个已有图腾'); dialog.add([rand2x,'vcard']); player.chooseButton(dialog,2,true).filterButton=function(button){ @@ -2915,9 +2927,9 @@ character.hearth={ } player.addSkill(rand.randomGet()); } - if(rand2.length>=3){ - player.removeSkill(rand2.randomGet()); - } + // if(rand2.length>=3){ + // player.removeSkill(rand2.randomGet()); + // } game.delay(); event.finish(); } @@ -2971,7 +2983,7 @@ character.hearth={ var num=0; for(var i=0;i=3){ + if(num>=2){ return true; } } @@ -2980,7 +2992,6 @@ character.hearth={ }, content:function(){ player.storage.tuteng_awake=true; - player.popup('图腾已解锁'); player.loseMaxHp(); } }, @@ -3789,10 +3800,10 @@ character.hearth={ moying_old_info:'每当你造成或受到一次伤害,你可以令伤害目标或来源进行一次判定,若结果为黑色,其流失一点体力', jingxiang:'镜像', jingxiang_info:'每当你需要打出卡牌时,你可以观看一名随机角色的手牌并将其视为你的手牌打出', - tuteng:'元素', - tuteng_info:'出牌阶段,你可以获得一个基础图腾,你最多可以同时拥有3个图腾;每当你受到一次伤害,你随机失去一个图腾', + tuteng:'图腾', + tuteng_info:'出牌阶段,你可以获得一个随机图腾;每当你受到一次伤害,你随机失去一个图腾', zuling:'祖灵', - zuling_info:'觉醒技,回合开始阶段,若你拥有至少3个图腾,你失去一点体力上限,并解锁强化图腾', + zuling_info:'觉醒技,回合开始阶段,若你拥有至少2个图腾,你失去一点体力上限,并将图腾描述中的“获得一个随机图腾”改为“获得任意一个图腾”', tuteng1:'治疗图腾', tuteng2:'灼热图腾', tuteng3:'石爪图腾', diff --git a/character/swd.js b/character/swd.js index f6f616f81..1c2a7cbdf 100755 --- a/character/swd.js +++ b/character/swd.js @@ -1173,7 +1173,7 @@ character.swd={ popup:false, content:function(){ player.removeSkill('guaili2'); - player.chooseToDiscard(true); + player.chooseToDiscard(2,true); } }, xingzhui:{ @@ -7554,7 +7554,7 @@ character.swd={ fuyan2:'覆岩', fuyan_info:'每当你受到一次伤害,可以令一名没有护甲的角色获得一点护甲值', guaili:'怪力', - guaili_info:'锁定技,你的杀造成的伤害+1,造成伤害后需弃置一张牌', + guaili_info:'锁定技,你的杀造成的伤害+1,造成伤害后需弃置两张牌', pingshen:'凭神', pingshen2:'凭神', pingshen_info:'锁定技,受到过你的伤害的角色可在回合内对你发动一次【离魂】(每局限发动一次)', diff --git a/game/update.js b/game/update.js index a99f609ce..ae890b5ae 100644 --- a/game/update.js +++ b/game/update.js @@ -4,7 +4,7 @@ window.noname_update={ '修bug', ], files:{ - global:['game/phantom.js','mode/stone.js','character/hearth.js','theme/simple/style.css'], + global:['game/phantom.js','mode/stone.js','character/hearth.js','character/swd.js','theme/simple/style.css'], '1.8.10.2':['mode/guozhan.js'], '1.8.10.3':['game/game.js','character/sp.js','layout/default/layout.css'], '1.8.10.4':[],