Merge pull request #1118 from mengxinzxz/PR-Branch

bugfix
This commit is contained in:
Spmario233 2024-03-23 11:46:20 +08:00 committed by GitHub
commit fbbd38c5e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 3 deletions

View File

@ -357,7 +357,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
node.link=item;
const func=function(node,item){
if(item!='unknown') node.setBackground(item,'character');
const currentPlayer=game.findPlayer(current=>current.getSeatNum()==seat);
if(currentPlayer.classList.contains('unseen_show')) node.setBackground('hidden_image','character');
else if(item!='unknown') node.setBackground(item,'character');
if(node.node){
node.node.name.remove();
node.node.hp.remove();
@ -370,7 +372,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
group:ui.create.div('.identity',node),
intro:ui.create.div('.intro',node),
};
const currentPlayer=game.findPlayer(current=>current.getSeatNum()==seat);
const infoitem=[currentPlayer.sex,currentPlayer.group,`${currentPlayer.hp}/${currentPlayer.maxHp}/${currentPlayer.hujia}`];
node.node.name.innerHTML=get.slimName(item);
if(lib.config.buttoncharacter_style=='default'||lib.config.buttoncharacter_style=='simple'){

View File

@ -62,6 +62,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
await player.loseHp();
player.removeSkill('zhenlie_lose');
trigger.getParent().excluded.add(player);
if(!player.isIn()) return;
const goon=target.hasCard(card=>{
if(get.position(card)=='h') return true;
return lib.filter.canBeGained(card,player,target);

View File

@ -7086,7 +7086,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
sb_caopi:'谋曹丕',
sb_caopi_prefix:'谋',
sbxingshang:'行殇',
sbxingshang_info:'①当一名角色受到伤害后每回合限一次或死亡时你获得1个“颂”标记你至多拥有9个“颂”标记。②出牌阶段限一次你可以1.移去1个“颂”标记令一名角色复原武将牌2.移去2个“颂”标记令一名角色摸X张牌X为场上阵亡角色数且X至少为1至多为53.移去3个“颂”标记令一名体力上限小于10的角色加1点体力上限回复1点体力随机恢复一个已废除的装备栏4.移去4个“颂”标记获得一名阵亡角色武将牌上的所有技能然后你失去武将牌上的所有技能。',
sbxingshang_info:'①当一名角色受到伤害后每回合限一次或死亡时你获得1个“颂”标记你至多拥有9个“颂”标记。②出牌阶段限一次你可以1.移去1个“颂”标记令一名角色复原武将牌2.移去2个“颂”标记令一名角色摸X张牌X为场上阵亡角色数且X至少为1至多为53.移去3个“颂”标记令一名体力上限小于10的角色加1点体力上限回复1点体力随机恢复一个已废除的装备栏4.移去4个“颂”标记获得一名阵亡角色武将牌上的所有技能然后你失去〖行殇〗〖放逐〗〖颂威〗。',
sbfangzhu:'放逐',
sbfangzhu_info:'出牌阶段限一次你可以1.移去1个“颂”标记令一名其他角色于手牌中只能使用基本牌直到其回合结束2.移去2个“颂”标记令一名其他角色的非Charlotte技能失效直到其回合结束3.移去2个“颂”标记令一名其他角色不能响应除其以外的角色使用的牌直到其回合结束4.移去3个“颂”标记令一名其他角色将武将牌翻面5.移去3个“颂”标记令一名其他角色于手牌中只能使用装备牌直到其回合结束。',
sbsongwei:'颂威',