This commit is contained in:
Spmario233 2024-03-30 20:33:36 +08:00
parent bf5eebca09
commit 10888caac1
3 changed files with 8 additions and 5 deletions

View File

@ -435,7 +435,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
player.logSkill('taipingyaoshu');
player.draw(2);
'step 1'
if(player.hp>1||get.mode()=='guozhan') player.loseHp();
if(player.hp>1) player.loseHp();
}
},
yuxi:{
@ -1855,7 +1855,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
feilongduofeng_info:'①当你使用【杀】指定目标后,你可令目标角色弃置一张牌。②当你因使用【杀】而令其他角色进入濒死状态时,你可以获得其一张手牌。',
taipingyaoshu:'太平要术',
taipingyaoshu_info:'锁定技。①当你即将受到属性伤害时,取消之。②你的手牌上限+XX为场上势力数-1。③当你失去装备区里的【太平要术】时你摸两张牌然后若你的体力值大于1你失去1点体力。',
taipingyaoshu_info_guozhan:'锁定技。①当你即将受到属性伤害时,取消之。②你的手牌上限+XX为与你势力相同的角色数。③当你失去装备区里的【太平要术】时你摸两张牌然后你失去1点体力。',
taipingyaoshu_info_guozhan:'锁定技。①当你即将受到属性伤害时,取消之。②你的手牌上限+XX为与你势力相同的角色数。③当你失去装备区里的【太平要术】时你摸两张牌然后若你的体力值大于1你失去1点体力。',
yuxi_skill:'玉玺',
yuxi_skill2:'玉玺',
yuxi:'玉玺',

View File

@ -4474,7 +4474,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}
}
return Math.random();
});
}).set('complexTarget', true);
}
'step 1'
if(result.bool){

View File

@ -817,8 +817,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}
if(get.type(trigger.card)=='basic'&&player.getHistory('useCard',evt=>get.type(evt.card)=='basic').indexOf(trigger)==0){
game.log(trigger.card,'不计入次数上限');
trigger.addCount=false;
if(player.stat[player.stat.length-1].card.sha>0) player.stat[player.stat.length-1].card.sha--;
if (trigger.addCount !== false) {
trigger.addCount=false;
const stat = player.stat[player.stat.length-1].card;
if (typeof stat[trigger.card.name] === 'number') stat[trigger.card.name]--;
}
}
}
},