diff --git a/character/extra.js b/character/extra.js index daefd6a96..5fbc5c877 100644 --- a/character/extra.js +++ b/character/extra.js @@ -392,7 +392,7 @@ character.extra={ } } if(!hasfriend) return; - if(player.hp>2&&ai.get.attitude(player,target<=0)) return [0,2]; + if(player.hp>2&&ai.get.attitude(player,target)<=0) return [0,2]; return [1,0,0,-player.hp]; } } @@ -751,7 +751,7 @@ character.extra={ if(lib.config.mode=='identity'){ if(game.players[i].ai.shown<=0.2) return 0; } - else if(lib.config.mode='guozhan'){ + else if(lib.config.mode=='guozhan'){ if(game.players[i].identity=='unknown') return 0; } } diff --git a/character/gujian.js b/character/gujian.js index a744ee716..1da9cb560 100644 --- a/character/gujian.js +++ b/character/gujian.js @@ -519,7 +519,7 @@ character.gujian={ "step 2" if(player.isTurnedOver()) player.turnOver(); "step 3" - player.draw(event.num); + player.draw(3); "step 4" player.recover(1-player.hp); player.removeSkill('fanshi'); @@ -1016,7 +1016,7 @@ character.gujian={ fanshi_info:'锁定技,若你于回合内造成过伤害,你于弃牌阶段结束时流失一点体力并摸一张牌', shahun:'煞魂', shahun2:'煞魂', - shahun_info:'限定技,濒死阶段,你可以重置武将牌,弃置所有牌并摸等量的牌(至少三张),然后将体力回复至1;若如此做,你失去技能【反噬】,并获得技能【绝境】,然后于三回合后立即死亡', + shahun_info:'限定技,濒死阶段,你可以重置武将牌,弃置所有牌并摸三张牌,然后将体力回复至1;若如此做,你失去技能【反噬】,获得技能【绝境】,并于三回合后立即死亡', xiuhua:'袖花', xiuhua_info:'每当你使用杀击中目标,你可以将其拉至你的旁边', diff --git a/character/hearth.js b/character/hearth.js index e0ff2c026..9c1e9fc28 100644 --- a/character/hearth.js +++ b/character/hearth.js @@ -147,7 +147,11 @@ character.hearth={ content:function(){ "step 0"; player.chooseTarget('是否发动【震击】?').ai=function(target){ - return ai.get.damageEffect(target,player,player,'thunder')-(target.num('he')?1:0); + var eff=ai.get.damageEffect(target,player,player,'thunder'); + if(eff>0){ + return eff+(target.num('he')?1:0); + } + return 0; }; "step 1" if(result.bool){ diff --git a/character/mountain.js b/character/mountain.js index 09a9b2782..c73f4f07a 100644 --- a/character/mountain.js +++ b/character/mountain.js @@ -135,8 +135,27 @@ character.mountain={ "step 0" player.chooseToDiscard(true); "step 1" - player.storage.fangquan.phase(); + var target=player.storage.fangquan; + target.marks.fangquan=target.markCharacter(player,{ + name:'放权', + content:'进行一个额外的回合' + }); + target.phase(); + target.addSkill('fangquan3'); player.removeSkill('fangquan2'); + delete player.storage.fangquan; + } + }, + fangquan3:{ + trigger:{player:'phaseAfter'}, + forced:true, + popup:false, + content:function(){ + if(player.marks.fangquan){ + player.marks.fangquan.delete(); + delete player.marks.fangquan; + } + player.removeSkill('fangquan3'); } }, ruoyu:{ diff --git a/character/sp.js b/character/sp.js index f27f99e14..c06bfd88d 100644 --- a/character/sp.js +++ b/character/sp.js @@ -1214,7 +1214,7 @@ character.sp={ target.addSkill('yongjue'); target.marks.yongjue=target.markCharacter(player,{ name:'存嗣', - content:'已获得技能【勇决】' + content:'$
【勇决】
每当其他角色于回合内使用一张杀,若目标不是你,你可以获得之(每回合最多能以此法获得一张杀)
' }) "step 1" player.turnOver(); @@ -2799,7 +2799,6 @@ character.sp={ shoucheng_info:'每当一名其他角色在其回合外失去最后的手牌时,你可令该角色摸一张牌。', shengxi_info:'若你于出牌阶段未造成伤害,你可在弃牌阶段开始时摸两张牌。', hengzheng_info:'摸牌阶段开始时,若你的体力值为1或你没有手牌,你可以放弃摸牌,获得每名其他角色区域里的一张牌。', - yongjue_info:'每当其他角色于回合内使用一张杀,若目标不是你,你可以获得之(每回合最多能以此法获得一张杀)', cunsi_info:'限定技,出牌阶段,你可以将所有手牌交给一名男性角色,令该角色获得技能【勇决】,然后翻面', guixiu_info:'每当你成为杀的目标,若你的手牌数小于体力值,可以摸一张牌', fenming_info:'结束阶段开始时,若你处于连环状态,你可以弃置处于连环状态的每名角色的一张牌。', diff --git a/character/standard.js b/character/standard.js index f014576bc..2b9a7551d 100644 --- a/character/standard.js +++ b/character/standard.js @@ -1327,7 +1327,7 @@ character.standard={ return -3; } else{ - return ai.get.effect(ui.selected.targets[0],{name:'juedou'},target,target); + return ai.get.effect(target,{name:'juedou'},ui.selected.targets[0],target); } } }, diff --git a/character/swd.js b/character/swd.js index 2c7b82a26..c3a635778 100644 --- a/character/swd.js +++ b/character/swd.js @@ -6109,7 +6109,10 @@ character.swd={ lanzhi:{ trigger:{source:'damageBefore'}, filter:function(event,player){ - return player.skills.contains('lanzhi2')==false; + return player.skills.contains('lanzhi2')==false&&event.player!=player; + }, + prompt:function(event){ + return '是否对'+get.translation(event.player)+'发动【兰芷】?'; }, check:function(event,player){ if(event.source==player){ @@ -7667,7 +7670,7 @@ character.swd={ xiaozhan:'消战', xiaozhan_info:'其他角色使用杀时,若你不是杀的目标,可以弃置一张杀取消之', xielei:'挟雷', - xielei_info:'每当你使用或打出一张杀,弃置一张牌并对目标以外的一名角色造成一点雷电伤害', + xielei_info:'每当你使用或打出一张杀,可以弃置一张牌并对目标以外的一名角色造成一点雷电伤害', dangping:'荡平', dangping_info:'每当你造成一次伤害,可以弃置一张手牌对其距离1以内的另一名角色造成一点伤害', guisi:'归思', diff --git a/character/xianjian.js b/character/xianjian.js index b5bb126e6..589a33ae1 100644 --- a/character/xianjian.js +++ b/character/xianjian.js @@ -359,12 +359,15 @@ character.xianjian={ player.$throw(result.links); ui.discardPile.appendChild(result.links[0]); trigger.player.recover(); - trigger.player.draw(); if(player!=trigger.player){ - player.draw(); + game.asyncDraw([trigger.player,player]); } player.logSkill('shuiyun5',trigger.player,'thunder'); } + "step 2" + if(trigger.player!=player){ + game.delay(); + } }, ai:{ expose:0.3 @@ -459,6 +462,10 @@ character.xianjian={ target.gain(cards); target.addSkill('changnian2'); player.logSkill('changnian',target); + target.marks.changnian=target.markCharacter(player,{ + name:'长念', + content:'$
【追思】
锁定技,回合结束阶段,你摸一张牌
' + }); } }, ai:{ @@ -1344,12 +1351,12 @@ character.xianjian={ shuiyun2:'水蕴', shuiyun5:'水蕴', shuiyun3:'水蕴', - shuiyun_info:'回合结束阶段,你可以将一张与武将牌上的牌类别均不相同的手牌置于武将牌上称为“蕴”;任意一名进入濒死状态时,你可以弃置一张“蕴”令其回复1点体力,然后与其各摸1张牌', + shuiyun_info:'回合结束阶段,你可以将一张与武将牌上的牌类别均不相同的手牌置于武将牌上称为“蕴”;任意一名角色进入濒死状态时,你可以弃置一张“蕴”令其回复1点体力,若该角色不是你,你与其各摸1张牌', wangyou:'忘忧', wangyou_info:'其他角色的回合结束阶段,你可以弃置一张牌,令此回合内受过伤害的所有角色各摸一张牌', changnian:'长念', - changnian2:'长念', - changnian_info:'你死亡时,可以将所有牌交给一名其他角色,令其于每个回合结束阶段摸一张牌;若你有至少1张“蕴”,该角色增加1点体力上限回复X点体力,X为“蕴”的个数', + changnian2:'追思', + changnian_info:'你死亡时,可以将所有牌交给一名其他角色,令其获得技能【追思】;若你有至少1张“蕴”,该角色增加1点体力上限回复X点体力,X为“蕴”的个数', sajin:'洒金', sajin_info:'出牌阶段,你可以弃置一张手牌并指定任意名角色进行判定,若判定花色与你弃置的牌相同,该角色回复一点体力', jubao:'聚宝', diff --git a/game/game.js b/game/game.js index 6be23f48f..36d5bdad7 100644 --- a/game/game.js +++ b/game/game.js @@ -25,7 +25,6 @@ frameId:0, }, help:{ - '关于':'无名杀 1.2.3