From 6a805eb07549458e70887df44c1583ef74cad893 Mon Sep 17 00:00:00 2001
From: mengxinzxz <139629761+mengxinzxz@users.noreply.github.com>
Date: Wed, 30 Aug 2023 13:33:04 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8A=80=E8=83=BD=E6=95=88=E6=9E=9C=E8=B0=83?=
=?UTF-8?q?=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
调整张嶷【怃戎】audio改为3,且选择安抚+反抗改为摸两张牌
调整郭照【易宠】获得的“雀”标记会在自己的下个回合开始时移除
马日磾【承业】marktext改为“经”,subSkill.gain添加audio:'chengye',
---
character/mobile.js | 27 ++++++++++++++++++++-------
1 file changed, 20 insertions(+), 7 deletions(-)
diff --git a/character/mobile.js b/character/mobile.js
index 0f7829248..7dc1c05a5 100644
--- a/character/mobile.js
+++ b/character/mobile.js
@@ -406,6 +406,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
mark:true,
marktext:'雀',
intro:{
+ markcount:function(storage){
+ return (storage||0).toString();
+ },
content:function(storage){
return '已被掠夺'+(storage||0)+'张牌';
},
@@ -465,6 +468,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
current.removeSkill('yichong_'+player.playerid);
if(current==target) target.addSkill('yichong_'+player.playerid);
});
+ player.addTempSkill('yichong_clear',{player:'phaseBegin'});
},
onremove:true,
intro:{content:'拥有“雀”标记的角色获得$牌后,你获得之'},
@@ -505,6 +509,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}
},
},
+ clear:{
+ charlotte:true,
+ onremove:function(player){
+ game.countPlayer(function(current){
+ current.removeSkill('yichong_'+player.playerid);
+ });
+ },
+ },
},
},
wufei:{
@@ -558,7 +570,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
},
//张嶷
xinwurong:{
- audio:2,
+ audio:3,
enable:'phaseUse',
usable:1,
filterTarget:lib.filter.notMe,
@@ -592,7 +604,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}
else{
player.damage();
- player.draw();
+ player.draw(2);
event.finish();
}
}
@@ -3377,7 +3389,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
var cards=player.getExpansions(skill);
if(cards.length) player.loseToDiscardpile(cards);
},
- marktext:'六',
+ marktext:'经',
intro:{
name:'六经',
markcount:'expansion',
@@ -3396,11 +3408,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){
group:'chengye_gain',
subSkill:{
gain:{
+ audio:'chengye',
trigger:{player:'phaseUseBegin'},
- forced:true,
filter:function(event,player){
return player.getExpansions('chengye').length>=6;
},
+ forced:true,
content:function(){
player.gain(player.getExpansions('chengye'),'gain2');
},
@@ -14196,12 +14209,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){
xinlijun_info:'主公技,其他吴势力角色于其回合内使用【杀】结算完毕后,其可以将此【杀】对应的实体牌交给你,然后你可以令其摸一张牌。',
xin_zhangyi:'手杀张嶷',
xinwurong:'怃戎',
- xinwurong_info:'出牌阶段限一次,你可以与一名其他角色进行谋弈: