From e7d8be60681d7d9c92e95d0d68dc438384687bd4 Mon Sep 17 00:00:00 2001 From: libccy Date: Tue, 15 Aug 2017 23:17:51 +0800 Subject: [PATCH] 1.9.36.1 --- character/gwent.js | 2 +- character/hearth.js | 6 ++++-- game/game.js | 6 ++++++ game/update.js | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/character/gwent.js b/character/gwent.js index 3f6c8cd67..8638828eb 100644 --- a/character/gwent.js +++ b/character/gwent.js @@ -2391,7 +2391,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ gwzhongmo:'终末', gwzhongmo_info:'锁定技,你跳过摸牌阶段,改为获得两张随机的稀有度不同的法术牌', gwfutian:'覆天', - gwfutian_info:'锁定技,你防止一切伤害,并在每轮开始时摸一张牌;准备阶段,若游戏轮数不少于存活角色数,你变身为汉姆多尔,并将所有其他角色区域内的所有牌置于弃牌堆(不触发技能)', + gwfutian_info:'锁定技,你防止一切伤害;准备阶段,你须弃置一名其他角色的一张手牌;', gouhun:'勾魂', gouhun_info:'出牌阶段限一次,你可以交给一名有手牌的其他角色一张手牌,然后令其选择一项:1. 将手牌中与此牌花色相同的其它牌(至少一张)交给你;2. 弃置除此牌之外的所有其它手牌;3. 进入混乱状态直到下一回合结束', gw_wuyao:'雾妖', diff --git a/character/hearth.js b/character/hearth.js index 877d891dc..d91e55dda 100644 --- a/character/hearth.js +++ b/character/hearth.js @@ -3850,7 +3850,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){ draw:{ trigger:{player:'useCard'}, frequent:true, - filter:function(event){ + usable:3, + filter:function(event,player){ + if(_status.currentPhase!=player) return false; return (get.type(event.card)=='trick'&&event.cards[0]&&event.cards[0]==event.card); }, content:function(){ @@ -7740,7 +7742,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ lianzhan:'连斩', lianzhan_info:'每当你造成一次伤害,若此伤害是你本回合第一次造成伤害,你摸两张牌;否则你增加一点体力上限并回复一点体力', shifa:'魔瘾', - shifa_info:'锁定技,每当你使用一张非转化的普通锦囊牌,你摸一张牌;出牌阶段开始时,你令你与一名随机敌人各获得一张随机普通锦囊牌', + shifa_info:'锁定技,每当你于回合内使用一张非转化的普通锦囊牌,你摸一张牌(每回合最多发动3次);出牌阶段开始时,你令你与一名随机敌人各获得一张随机普通锦囊牌', yuanzheng:'远征', yuanzheng_info:'每当你对距离1以外的角色使用一张牌,你可以弃置目标区域内的一张牌', bzhuiji:'追击', diff --git a/game/game.js b/game/game.js index 965b7c587..2eb36ec85 100644 --- a/game/game.js +++ b/game/game.js @@ -15568,6 +15568,12 @@ if(this.hasSkill('fengyin')){ list.remove(5); } + if(this.hp==1){ + list.remove(3); + if(list.length>1) list.remove(2); + } + if(!list.length) return this; + var num=list.randomGet(); switch(list.randomGet()){ case 1:this.randomDiscard(nodelay?false:'he');break; case 2:this.loseHp();break; diff --git a/game/update.js b/game/update.js index 577525c7f..55eaa3a05 100644 --- a/game/update.js +++ b/game/update.js @@ -16,7 +16,7 @@ window.noname_update={ // 'card/gwent.js', // 'card/gujian.js', // 'character/*', - // 'character/hearth.js', + 'character/hearth.js', // 'character/old.js', // 'character/gwent.js', // 'character/sp.js',