2019-06-07 03:46:13 +00:00
|
|
|
|
'use strict';
|
|
|
|
|
game.import('character',function(lib,game,ui,get,ai,_status){
|
2019-08-07 15:38:38 +00:00
|
|
|
|
return {
|
|
|
|
|
name:'xinghuoliaoyuan',
|
|
|
|
|
connect:true,
|
|
|
|
|
character:{
|
2022-09-02 14:37:30 +00:00
|
|
|
|
wangcan:["male","qun",3,["xinfu_sanwen","xinfu_qiai","xinfu_denglou"]],
|
|
|
|
|
sp_taishici:["male","qun",4,["xinfu_jixu"]],
|
|
|
|
|
re_jsp_pangtong:["male","wu",3,["xinfu_guolun","xinfu_songsang"]],
|
|
|
|
|
lvdai:["male","wu",4,["xinfu_qinguo"]],
|
|
|
|
|
re_zhangliang:["male","qun",4,["xinfu_jijun","xinfu_fangtong"]],
|
|
|
|
|
lvqian:["male","wei",4,["xinfu_weilu","xinfu_zengdao"]],
|
|
|
|
|
panjun:["male","wu",3,["xinfu_guanwei","xinfu_gongqing"]],
|
|
|
|
|
duji:["male","wei",3,["xinfu_andong","xinfu_yingshi"]],
|
|
|
|
|
zhoufang:["male","wu",3,["xinfu_duanfa","xinfu_youdi"]],
|
|
|
|
|
yanjun:["male","wu",3,["xinfu_guanchao","xinfu_xunxian"]],
|
2023-09-07 15:41:01 +00:00
|
|
|
|
liuyao:["male","qun",4,["xinfu_kannan",'twniju'],['zhu']],
|
2022-09-02 14:37:30 +00:00
|
|
|
|
liuyan:["male","qun",3,["xinfu_tushe","xinfu_limu"]],
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
|
|
|
|
characterIntro:{
|
2019-06-07 03:46:13 +00:00
|
|
|
|
wangcan:"王粲(177年-217年2月17日),字仲宣。山阳郡高平县(今山东微山两城镇)人。东汉末年文学家,“建安七子”之一,太尉王龚曾孙、司空王畅之孙。",
|
|
|
|
|
re_jsp_pangtong:"庞统,字士元,襄阳(治今湖北襄阳)人。三国时刘备帐下谋士,官拜军师中郎将。才智与诸葛亮齐名,人称“凤雏”。在进围雒县时,统率众攻城,不幸被流矢击中去世,时年三十六岁。追赐统为关内侯,谥曰靖侯。庞统死后,葬于落凤庞统墓坡。",
|
|
|
|
|
lvdai:"吕岱(161年-256年),字定公,广陵海陵(今江苏如皋)人。三国时期吴国重臣、将领。吕岱一生戮力奉公,为孙吴开疆拓土,功勋赫赫。太平元年(256年),吕岱去世,年九十六。",
|
|
|
|
|
lvqian:"吕虔(生卒年不详),字子恪。任城国(今山东济宁东南)人。汉末至三国曹魏时期将领。 吕虔有勇有谋,曹操在兖州时,任命他为从事,率领家丁驻守湖陆。后升任泰山太守,与夏侯渊共同镇压济南等地的黄巾军。被推举为秀才,加任骑都尉,仍管辖泰山郡。 曹丕继任魏王后,加吕虔为裨将军,封益寿亭侯。再升任徐州刺史,加任威虏将军。任用王祥为别驾,将民政事务都委托于他,为世人所称赞。曹叡继位后,改封万年亭侯。吕虔死后,其子吕翻世袭万年亭侯。",
|
|
|
|
|
panjun:"潘濬(一作潘浚)(?-239年),字承明。武陵郡汉寿县(今湖南汉寿)人。三国时期吴国重臣,蜀汉大司马蒋琬的表弟。 潘濬为人聪察,对问有机理,拜大儒宋忠为师,得到“建安七子”之一的王粲赏识。不到三十,即被荆州牧刘表任命为江夏从事,因按杀贪污的沙羡长而闻名。建安十六年(211年),被刘备任命为荆州治中从事,与守臣关羽不睦。建安二十四年(219年),孙权得荆州,拜潘濬为辅军中郎将。又迁奋威将军,封常迁亭侯。孙权称帝后,拜少府,进封刘阳侯,又改太常。黄龙三年(231年),授假节,与吕岱率军五万平五溪蛮夷叛乱,经三年而斩获数万,使得一方宁静。潘濬为人刚正不阿,在吕壹弄权时,屡请孙权将其诛杀。甚至想亲手击杀吕壹,使吕壹对他非常畏惧。 赤乌二年(239年),潘濬去世。",
|
2023-09-08 15:30:00 +00:00
|
|
|
|
duji:"杜畿(163年—224年),字伯侯,京兆杜陵(今陕西西安东南)人。东汉末及三国时曹魏官吏及将领。西汉御史大夫杜延年的后代。历官郡功曹、守郑县令,善于断案。荀彧将他举荐给曹操,曹操任命他为司空司直,调任护羌校尉,使持节领西平太守。 曹丕受禅登基后,封杜畿为丰乐亭侯。官至尚书仆射。后在陶河试航时遇上大风沉没,杜畿淹死,死时六十二岁,曹丕为之涕泣,追赠其为太仆,谥戴侯。",
|
2019-06-07 03:46:13 +00:00
|
|
|
|
zhoufang:"周鲂(生卒年不详),字子鱼。吴郡阳羡县(今江苏宜兴)人。三国时期吴国将领。周鲂年少时好学,被举为孝廉。历任宁国县长、怀安县长、钱塘侯相,一月之内,便斩杀作乱的彭式及其党羽,因而升任丹阳西部都尉。彭绮率数万人反叛时,周鲂被任命为鄱阳太守,与胡综共同将其生擒,因功加职昭义校尉。后诈降曹休,诱其率军接应,使曹休在石亭之战中一败涂地,战后因功被加职为裨将军,封关内侯。贼帅董嗣凭险骚扰豫章等郡,周鲂派间谍将其诱杀,不费兵卒即安定数郡。周鲂在鄱阳赏罚分明、恩威并施,于任职十三年后去世。",
|
|
|
|
|
yanjun:"严畯(生卒年不详),字曼才,彭城(治今江苏徐州)人,三国时期孙吴官员、学者。性情忠厚,待人以诚。少好学,精通《诗》、《书》、《三礼》,又好《说文》。避乱江东,与诸葛瑾、步骘是好朋友,被张昭推荐给孙权作骑都尉、从事中郎。建安二十二年(217年),横江将军鲁肃去世,孙权打算让严畯接替其位。严畯很有自知之明,知道自己没有能力对抗在荆州的关羽和北面的曹魏,便坚决不接受此任命。后来担任尚书令。严畯享年七十八岁。著有《孝经传》、《潮水论》。",
|
2023-09-08 15:30:00 +00:00
|
|
|
|
liuyao:"刘繇(一读yóu)(156年-197年),字正礼。东莱牟平(今山东牟平)人。东汉末年宗室、大臣,汉末群雄之一,齐悼惠王刘肥之后,太尉刘宠之侄。<br>刘繇最初被推举为孝廉,授郎中。任下邑县长时,因拒郡守请托而弃官。后被征辟为司空掾属,除授侍御史,因战乱而不到任,避居淮浦。兴平元年(194年),被任命为扬州刺史。他先后与袁术、孙策交战,一度被朝廷加授为扬州牧、振武将军,但最终还是败归丹徒。此后,刘繇又击破反叛的笮融,旋即病逝,年四十二。",
|
2019-06-07 03:46:13 +00:00
|
|
|
|
liuyan:"刘焉(?-194年),字君郎(《华阳国志》又作君朗)。江夏郡竟陵县(今湖北省天门市)人。东汉末年宗室、军阀,汉末群雄之一,西汉鲁恭王刘余之后。<br>刘焉初以汉朝宗室身份,拜为中郎,历任雒阳令、冀州刺史、南阳太守、宗正、太常等官。因益州刺史郄俭在益州大肆聚敛,贪婪成风,加上当时天下大乱。刘焉欲取得一安身立命之所,割据一方,于是向朝廷求为益州牧,封阳城侯,前往益州整饬吏治。郄俭为黄巾军所杀,刘焉进入益州,派张鲁盘踞汉中,张鲁截断交通,斩杀汉使,从此益州与中央道路不通。刘焉进一步对内打击地方豪强,巩固自身势力,益州因而处于半独立的状态。兴平元年(194年),刘焉因背疮迸发而逝世,其子刘璋继领益州牧。",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
2019-08-24 15:41:12 +00:00
|
|
|
|
characterTitle:{},
|
2019-08-07 15:38:38 +00:00
|
|
|
|
perfectPair:{
|
|
|
|
|
lijue:['guosi','jiaxu'],
|
|
|
|
|
zhangji:['zhangxiu','drlt_zhangxiu','zoushi'],
|
2019-06-07 03:46:13 +00:00
|
|
|
|
xf_sufei:['ganning'],
|
2019-08-07 15:38:38 +00:00
|
|
|
|
//baosanniang:['guansuo'],
|
|
|
|
|
simahui:['pangdegong'],
|
2019-06-07 03:46:13 +00:00
|
|
|
|
zhangqiying:['zhanglu'],
|
|
|
|
|
pangtong:['zhugejin'],
|
2019-08-07 15:38:38 +00:00
|
|
|
|
taishici:['liuyao','kongrong'],
|
|
|
|
|
//zhaotongzhaoguang:['zhaoyun','mayunlu'],
|
|
|
|
|
},
|
|
|
|
|
skill:{
|
2021-10-26 13:24:26 +00:00
|
|
|
|
xinyingshi:{
|
|
|
|
|
audio:'xinfu_yingshi',
|
|
|
|
|
trigger:{player:'phaseUseBegin'},
|
|
|
|
|
direct:true,
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
return player.countCards('he')>0&&!game.hasPlayer(function(current){
|
2022-04-10 16:34:02 +00:00
|
|
|
|
return current.getExpansions('xinyingshi_cards').length>0;
|
2021-10-26 13:24:26 +00:00
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
'step 0'
|
|
|
|
|
player.chooseCardTarget({
|
|
|
|
|
filterCard:true,
|
|
|
|
|
filterTarget:lib.filter.notMe,
|
|
|
|
|
selectCard:[1,player.countCards('he')],
|
|
|
|
|
position:'he',
|
|
|
|
|
prompt:get.prompt('xinyingshi'),
|
|
|
|
|
prompt2:'将任意张牌置于一名其他角色的武将牌上作为“酬”',
|
|
|
|
|
ai1:function(card){
|
|
|
|
|
return 1-player.getUseValue(card);
|
|
|
|
|
},
|
|
|
|
|
ai2:function(target){
|
|
|
|
|
var player=_status.event.player;
|
|
|
|
|
return (1+game.countPlayer(function(current){
|
|
|
|
|
return get.attitude(player,current)>0&¤t.inRange(target)&&get.damageEffect(target,current,player)>0;
|
|
|
|
|
}))*-get.attitude(player,target);
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
'step 1'
|
|
|
|
|
if(result.bool){
|
|
|
|
|
var target=result.targets[0],cards=result.cards;
|
|
|
|
|
player.logSkill('xinyingshi',target);
|
|
|
|
|
target.addSkill('xinyingshi_cards');
|
2022-04-10 16:34:02 +00:00
|
|
|
|
target.addToExpansion(player,'give',cards).gaintag.add('xinyingshi_cards');
|
2021-10-26 13:24:26 +00:00
|
|
|
|
target.storage.xinyingshi_source=player;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
subSkill:{
|
|
|
|
|
cards:{
|
|
|
|
|
trigger:{player:'damageSource'},
|
|
|
|
|
forced:true,
|
|
|
|
|
charlotte:true,
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
return event.source&&event.source.isIn()&&event.card&&event.getParent().type=='card'&&
|
2022-04-10 16:34:02 +00:00
|
|
|
|
player.getExpansions('xinyingshi_cards').length;
|
2021-10-26 13:24:26 +00:00
|
|
|
|
},
|
|
|
|
|
logTarget:'source',
|
|
|
|
|
content:function(){
|
|
|
|
|
'step 0'
|
|
|
|
|
event.target=trigger.source;
|
2022-04-10 16:34:02 +00:00
|
|
|
|
event.target.chooseButton(['应势:请选择你的赏金',player.getExpansions('xinyingshi_cards')]);
|
2021-10-26 13:24:26 +00:00
|
|
|
|
'step 1'
|
|
|
|
|
if(result.bool){
|
|
|
|
|
var cards=[result.links[0]];
|
|
|
|
|
for(var i=0;i<ui.cardPile.childNodes.length;i++){
|
|
|
|
|
var card=ui.cardPile.childNodes[i];
|
|
|
|
|
if(card.number==cards[0].number&&card.suit==cards[0].suit) cards.push(card);
|
|
|
|
|
}
|
|
|
|
|
player.$give(cards[0],target);
|
|
|
|
|
if(cards.length>1){
|
|
|
|
|
setTimeout(function(){
|
|
|
|
|
target.$gain2(cards.slice(1));
|
|
|
|
|
},get.delayx(200,200));
|
|
|
|
|
game.log(target,'从牌堆获得了',cards.slice(1))
|
|
|
|
|
}
|
|
|
|
|
game.delay(0,get.delayx(500,500));
|
|
|
|
|
target.gain(cards);
|
|
|
|
|
}
|
|
|
|
|
'step 2'
|
2022-04-10 16:34:02 +00:00
|
|
|
|
if(!player.getExpansions('xinyingshi_cards').length) player.removeSkill('xinyingshi_cards');
|
2021-10-26 13:24:26 +00:00
|
|
|
|
},
|
|
|
|
|
marktext:'酬',
|
|
|
|
|
intro:{
|
2022-04-10 16:34:02 +00:00
|
|
|
|
content:'expansion',
|
|
|
|
|
markcount:'expansion',
|
2021-10-26 13:24:26 +00:00
|
|
|
|
},
|
|
|
|
|
ai:{threaten:3},
|
2022-04-10 16:34:02 +00:00
|
|
|
|
group:'xinyingshi_regain',
|
|
|
|
|
onremove:function(player,skill){
|
|
|
|
|
var cards=player.getExpansions(skill);
|
|
|
|
|
if(cards.length) player.loseToDiscardpile(cards);
|
|
|
|
|
delete player.storage.xinyingshi_source;
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
regain:{
|
|
|
|
|
trigger:{player:'die'},
|
|
|
|
|
forced:true,
|
|
|
|
|
charlotte:true,
|
|
|
|
|
forceDie:true,
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
return player.storage.xinyingshi_source&&player.storage.xinyingshi_source.isIn()&&player.getExpansions('xinyingshi_cards').length>0;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
2023-01-24 13:26:41 +00:00
|
|
|
|
player.storage.xinyingshi_source.gain(player.getExpansions('xinyingshi_cards'),player,'give','bySelf');
|
2022-04-10 16:34:02 +00:00
|
|
|
|
},
|
2021-10-26 13:24:26 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
xinfu_guolun:{
|
2019-08-07 15:38:38 +00:00
|
|
|
|
audio:2,
|
2020-03-25 12:27:23 +00:00
|
|
|
|
enable:"phaseUse",
|
|
|
|
|
usable:1,
|
|
|
|
|
filter:function (event,player){
|
|
|
|
|
return player.countCards('h')>0;
|
|
|
|
|
},
|
|
|
|
|
filterTarget:function (card,player,target){
|
2023-01-24 13:26:41 +00:00
|
|
|
|
return target!=player&&target.countCards('h')>0;
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
|
|
|
|
content:function (){
|
2020-03-25 12:27:23 +00:00
|
|
|
|
'step 0'
|
2023-01-24 13:26:41 +00:00
|
|
|
|
player.choosePlayerCard(target,true,'h');
|
|
|
|
|
'step 1'
|
|
|
|
|
event.cardt=result.cards[0];
|
2020-03-25 12:27:23 +00:00
|
|
|
|
target.showCards(event.cardt);
|
2023-01-24 13:26:41 +00:00
|
|
|
|
player.chooseCard('he').set('ai',function(card){
|
|
|
|
|
var event=_status.event.getParent(),player=event.player;
|
|
|
|
|
var numt=get.number(event.cardt);
|
2020-03-25 12:27:23 +00:00
|
|
|
|
var att=get.attitude(player,target);
|
|
|
|
|
var value=get.value(event.cardt);
|
2023-01-24 13:26:41 +00:00
|
|
|
|
var num=get.number(card);
|
|
|
|
|
if(num<numt||att>2) return value+6-get.value(card);
|
|
|
|
|
else if(num==numt) return value-get.value(card);
|
2020-03-25 12:27:23 +00:00
|
|
|
|
return -1;
|
2023-01-24 13:26:41 +00:00
|
|
|
|
});
|
|
|
|
|
'step 2'
|
2020-03-25 12:27:23 +00:00
|
|
|
|
if(!result.bool) event.finish();
|
|
|
|
|
else{
|
|
|
|
|
player.showCards(result.cards);
|
2023-01-24 13:26:41 +00:00
|
|
|
|
event.cardp=result.cards[0];
|
2020-03-25 12:27:23 +00:00
|
|
|
|
}
|
|
|
|
|
'step 3'
|
2023-01-24 13:26:41 +00:00
|
|
|
|
player.swapHandcards(target,[event.cardp],[event.cardt]);
|
|
|
|
|
'step 4'
|
|
|
|
|
var nump=get.number(event.cardp,player);
|
|
|
|
|
var numt=get.number(event.cardt,target);
|
2020-03-25 12:27:23 +00:00
|
|
|
|
if(nump<numt){
|
|
|
|
|
player.draw();
|
2019-08-07 15:38:38 +00:00
|
|
|
|
}
|
2020-03-25 12:27:23 +00:00
|
|
|
|
else if(nump>numt){
|
|
|
|
|
target.draw();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
2020-05-09 05:30:03 +00:00
|
|
|
|
threaten:1.5,
|
2020-03-25 12:27:23 +00:00
|
|
|
|
order:8,
|
|
|
|
|
result:{
|
|
|
|
|
player:function (player,target){
|
|
|
|
|
if(get.attitude(player,target)>0) return 1.5;
|
|
|
|
|
return 0.5;
|
|
|
|
|
},
|
|
|
|
|
},
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
"xinfu_zhanji":{
|
2019-08-07 15:38:38 +00:00
|
|
|
|
audio:2,
|
|
|
|
|
trigger:{
|
2020-03-25 12:27:23 +00:00
|
|
|
|
player:"gainAfter",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
forced:true,
|
2019-08-07 15:38:38 +00:00
|
|
|
|
filter:function (event,player){
|
2020-03-25 12:27:23 +00:00
|
|
|
|
if(!player.isPhaseUsing()) return false;
|
|
|
|
|
return event.getParent().name=='draw'&&event.getParent(2).name!='xinfu_zhanji';
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
|
|
|
|
content:function (){
|
2020-03-25 12:27:23 +00:00
|
|
|
|
player.draw('nodelay');
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
"xinfu_songsang":{
|
|
|
|
|
limited:true,
|
|
|
|
|
skillAnimation:true,
|
|
|
|
|
animationColor:'wood',
|
2019-08-07 15:38:38 +00:00
|
|
|
|
audio:2,
|
2020-03-25 12:27:23 +00:00
|
|
|
|
derivation:"xinfu_zhanji",
|
2023-01-24 13:26:41 +00:00
|
|
|
|
trigger:{global:"dieAfter"},
|
|
|
|
|
logTarget:'player',
|
2019-08-07 15:38:38 +00:00
|
|
|
|
content:function (){
|
2020-03-25 12:27:23 +00:00
|
|
|
|
player.awakenSkill('xinfu_songsang');
|
|
|
|
|
if(player.isDamaged()){
|
|
|
|
|
player.recover();
|
2019-08-07 15:38:38 +00:00
|
|
|
|
}
|
2020-03-25 12:27:23 +00:00
|
|
|
|
else player.gainMaxHp();
|
|
|
|
|
player.addSkill('xinfu_zhanji');
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
},
|
|
|
|
|
"xinfu_jixu":{
|
2019-08-07 15:38:38 +00:00
|
|
|
|
audio:2,
|
|
|
|
|
enable:"phaseUse",
|
|
|
|
|
usable:1,
|
2020-03-25 12:27:23 +00:00
|
|
|
|
filter:function (event,player){
|
|
|
|
|
return player.countCards('h')>0;
|
|
|
|
|
},
|
2019-08-07 15:38:38 +00:00
|
|
|
|
filterTarget:function (card,player,target){
|
2020-03-25 12:27:23 +00:00
|
|
|
|
if(player==target) return false;
|
|
|
|
|
if(ui.selected.targets.length){
|
|
|
|
|
return target.hp==ui.selected.targets[0].hp;
|
|
|
|
|
}
|
|
|
|
|
return true;
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
selectTarget:[1,Infinity],
|
|
|
|
|
multitarget:true,
|
|
|
|
|
multiline:true,
|
2019-08-07 15:38:38 +00:00
|
|
|
|
content:function (){
|
|
|
|
|
"step 0"
|
2020-03-25 12:27:23 +00:00
|
|
|
|
targets.sort(lib.sort.seat);
|
2019-08-07 15:38:38 +00:00
|
|
|
|
"step 1"
|
2020-03-25 12:27:23 +00:00
|
|
|
|
if(!event.num) event.num=0;
|
|
|
|
|
if(!event.caicuolist) event.caicuolist=[];
|
|
|
|
|
targets[event.num].chooseBool("是否押杀?").ai=function(event,player){
|
|
|
|
|
var evt=_status.event.getParent();
|
|
|
|
|
if(get.attitude(targets[event.num],evt.player)>0) return evt.player.countCards('h','sha')?false:true;
|
|
|
|
|
return Math.random()<0.5;
|
2019-08-07 15:38:38 +00:00
|
|
|
|
};
|
|
|
|
|
"step 2"
|
2020-03-25 12:27:23 +00:00
|
|
|
|
if(result.bool){
|
|
|
|
|
targets[event.num].chat('有杀');
|
|
|
|
|
game.log(targets[event.num],'认为',player,'#g有杀');
|
|
|
|
|
if(!player.countCards('h','sha')) event.caicuolist.add(targets[event.num]);
|
|
|
|
|
}else{
|
|
|
|
|
targets[event.num].chat('没杀');
|
|
|
|
|
game.log(targets[event.num],'认为',player,'#y没有杀');
|
|
|
|
|
if(player.countCards('h','sha')) event.caicuolist.add(targets[event.num]);
|
|
|
|
|
}
|
|
|
|
|
event.num++;
|
|
|
|
|
game.delay();
|
|
|
|
|
if(event.num<targets.length) event.goto(1);
|
|
|
|
|
"step 3"
|
|
|
|
|
player.popup(player.countCards('h','sha')?"有杀":"没杀");
|
|
|
|
|
game.log(player,player.countCards('h','sha')?"有杀":"没杀");
|
|
|
|
|
if(event.caicuolist.length==0){
|
|
|
|
|
var evt=_status.event.getParent('phaseUse');
|
|
|
|
|
if(evt&&evt.name=='phaseUse'){
|
|
|
|
|
evt.skipped=true;
|
|
|
|
|
event.finish();
|
|
|
|
|
}
|
2019-08-07 15:38:38 +00:00
|
|
|
|
}
|
|
|
|
|
else{
|
2020-03-25 12:27:23 +00:00
|
|
|
|
player.draw(event.caicuolist.length)
|
|
|
|
|
if(player.countCards('h','sha')){
|
|
|
|
|
player.addTempSkill('jixu_sha');
|
|
|
|
|
player.storage.jixu_sha=event.caicuolist;
|
|
|
|
|
event.finish();
|
|
|
|
|
}
|
|
|
|
|
else event.num=0;
|
|
|
|
|
}
|
|
|
|
|
"step 4"
|
|
|
|
|
if(event.num<event.caicuolist.length){
|
|
|
|
|
var target=event.caicuolist[event.num];
|
|
|
|
|
player.discardPlayerCard(true,'he',target);
|
|
|
|
|
event.num++;
|
|
|
|
|
event.redo();
|
2019-08-07 15:38:38 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
2020-03-25 12:27:23 +00:00
|
|
|
|
order:function (){
|
|
|
|
|
return get.order({name:'sha'})+0.1;
|
|
|
|
|
},
|
2019-08-07 15:38:38 +00:00
|
|
|
|
result:{
|
|
|
|
|
target:function (player,target){
|
2020-03-25 12:27:23 +00:00
|
|
|
|
var raweffect=function(player,target){
|
2020-10-15 05:41:31 +00:00
|
|
|
|
if(player.countCards('h','sha')){
|
|
|
|
|
return get.effect(target,{name:'sha'},player,target);
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
var att=get.attitude(player,target);
|
|
|
|
|
var nh=target.countCards('h');
|
|
|
|
|
if(att>0){
|
|
|
|
|
if(target.getEquip('baiyin')&&target.isDamaged()&&
|
|
|
|
|
get.recoverEffect(target,player,player)>0){
|
|
|
|
|
if(target.hp==1&&!target.hujia) return 1.6;
|
|
|
|
|
if(target.hp==2) return 0.01;
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
var es=target.getCards('e');
|
|
|
|
|
var noe=(es.length==0||target.hasSkillTag('noe'));
|
|
|
|
|
var noe2=(es.length==1&&es[0].name=='baiyin'&&target.isDamaged());
|
|
|
|
|
var noh=(nh==0||target.hasSkillTag('noh'));
|
|
|
|
|
if(noh&&(noe||noe2)) return 0;
|
|
|
|
|
if(att<=0&&!target.countCards('he')) return 1.5;
|
|
|
|
|
return -1.5;
|
|
|
|
|
}
|
2020-03-25 12:27:23 +00:00
|
|
|
|
}
|
|
|
|
|
var num=game.countPlayer(function(current){
|
|
|
|
|
return current!=player&¤t.hp==target.hp&&(raweffect(player,current)*get.attitude(player,current))>0
|
|
|
|
|
});
|
|
|
|
|
return raweffect(player,target)*Math.max(0,num-1);
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
expose:0.4,
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
"jixu_sha":{
|
|
|
|
|
audio:"xinfu_jixu",
|
|
|
|
|
trigger:{
|
|
|
|
|
player:"useCard",
|
|
|
|
|
},
|
|
|
|
|
onremove:function (player){
|
|
|
|
|
delete player.storage.jixu_sha;
|
|
|
|
|
},
|
2019-08-07 15:38:38 +00:00
|
|
|
|
filter:function (event,player){
|
2020-03-25 12:27:23 +00:00
|
|
|
|
if(event.card.name=='sha'){
|
|
|
|
|
return game.hasPlayer(function(current){
|
|
|
|
|
return current!=player&&player.storage.jixu_sha.contains(current)&&!event.targets.contains(current);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
return false;
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
forced:true,
|
|
|
|
|
silent:true,
|
|
|
|
|
popup:false,
|
2019-08-07 15:38:38 +00:00
|
|
|
|
content:function (){
|
2020-03-25 12:27:23 +00:00
|
|
|
|
player.logSkill("xinfu_jixu");
|
|
|
|
|
for(var i=0;i<player.storage.jixu_sha.length;i++){
|
|
|
|
|
if(!trigger.targets.contains(player.storage.jixu_sha[i])&&player.canUse('sha',player.storage.jixu_sha[i],false)){
|
|
|
|
|
player.line(player.storage.jixu_sha[i],trigger.card.nature);
|
|
|
|
|
trigger.targets.push(player.storage.jixu_sha[i]);
|
2019-08-07 15:38:38 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
2023-01-24 13:26:41 +00:00
|
|
|
|
xinfu_sanwen:{
|
2019-08-07 15:38:38 +00:00
|
|
|
|
audio:2,
|
|
|
|
|
usable:1,
|
2020-03-25 12:27:23 +00:00
|
|
|
|
trigger:{
|
|
|
|
|
player:"gainAfter",
|
2023-01-24 13:26:41 +00:00
|
|
|
|
global:'loseAsyncAfter',
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
2023-01-24 13:26:41 +00:00
|
|
|
|
filter:function(event,player){
|
|
|
|
|
var cards=event.getg(player);
|
2023-05-02 11:26:19 +00:00
|
|
|
|
if(!cards||!cards.length) return false;
|
2020-03-25 12:27:23 +00:00
|
|
|
|
var namelist=[];
|
|
|
|
|
var namedlist=[];
|
2023-01-24 13:26:41 +00:00
|
|
|
|
for(var i=0;i<cards.length;i++){
|
|
|
|
|
namelist.add(get.name(cards[i]));
|
2019-08-07 15:38:38 +00:00
|
|
|
|
}
|
2020-03-25 12:27:23 +00:00
|
|
|
|
var hs=player.getCards('h');
|
|
|
|
|
for(var j=0;j<hs.length;j++){
|
2023-05-02 11:26:19 +00:00
|
|
|
|
if(namelist.contains(get.name(hs[j]))&&!cards.contains(hs[j])) return true;
|
2019-08-07 15:38:38 +00:00
|
|
|
|
}
|
2020-03-25 12:27:23 +00:00
|
|
|
|
return false;
|
|
|
|
|
},
|
|
|
|
|
content:function (){
|
|
|
|
|
'step 0'
|
|
|
|
|
var namelist=[];
|
|
|
|
|
var namedlist=[];
|
|
|
|
|
var nameddlist=[];
|
|
|
|
|
var namedddlist=[];
|
2023-01-24 13:26:41 +00:00
|
|
|
|
var cards=trigger.getg(player)
|
|
|
|
|
for(var i=0;i<cards.length;i++){
|
|
|
|
|
namelist.add(get.name(cards[i]));
|
2019-08-07 15:38:38 +00:00
|
|
|
|
}
|
2020-03-25 12:27:23 +00:00
|
|
|
|
var hs=player.getCards('h');
|
|
|
|
|
for(var j=0;j<hs.length;j++){
|
2023-01-24 13:26:41 +00:00
|
|
|
|
if(namelist.contains(get.name(hs[j]))&&!cards.contains(hs[j])){
|
2020-03-25 12:27:23 +00:00
|
|
|
|
namedlist.push(hs[j]);
|
|
|
|
|
namedddlist.add(get.name(hs[j]));
|
|
|
|
|
}
|
2019-08-07 15:38:38 +00:00
|
|
|
|
}
|
2023-01-24 13:26:41 +00:00
|
|
|
|
for(var k=0;k<cards.length;k++){
|
|
|
|
|
if(namedddlist.contains(get.name(cards[k]))) nameddlist.push(cards[k]);
|
2020-01-01 14:36:18 +00:00
|
|
|
|
}
|
2020-03-25 12:27:23 +00:00
|
|
|
|
var showlist=namedlist.concat(nameddlist);
|
|
|
|
|
player.showCards(showlist);
|
|
|
|
|
player.discard(nameddlist);
|
|
|
|
|
player.draw(2*nameddlist.length);
|
2020-01-01 14:36:18 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
"xinfu_qiai":{
|
|
|
|
|
skillAnimation:true,
|
|
|
|
|
animationColor:'gray',
|
2023-01-24 13:26:41 +00:00
|
|
|
|
trigger:{player:"dying"},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
limited:true,
|
|
|
|
|
audio:2,
|
2019-06-07 03:46:13 +00:00
|
|
|
|
content:function (){
|
2020-03-25 12:27:23 +00:00
|
|
|
|
"step 0"
|
|
|
|
|
player.awakenSkill('xinfu_qiai');
|
2023-01-24 13:26:41 +00:00
|
|
|
|
event.targets=game.filterPlayer(function(current){
|
|
|
|
|
return current!=player;
|
|
|
|
|
}).sortBySeat();
|
|
|
|
|
if(!event.targets.length) event.finish();
|
2020-03-25 12:27:23 +00:00
|
|
|
|
"step 1"
|
2023-01-24 13:26:41 +00:00
|
|
|
|
event.current=event.targets.shift();
|
2020-03-25 12:27:23 +00:00
|
|
|
|
if(!event.current.countCards('he')) event.goto(3);
|
|
|
|
|
else event.current.chooseCard('交给'+get.translation(player)+'一张牌','he',true).set('ai',function(card){
|
|
|
|
|
var evt=_status.event.getParent();
|
|
|
|
|
if(get.attitude(_status.event.player,evt.player)>2){
|
|
|
|
|
if(card.name=='jiu') return 120;
|
|
|
|
|
if(card.name=='tao') return 110;
|
|
|
|
|
}
|
|
|
|
|
return 100-get.value(card);
|
2019-06-07 03:46:13 +00:00
|
|
|
|
});
|
2020-03-25 12:27:23 +00:00
|
|
|
|
"step 2"
|
|
|
|
|
if(result.bool&&result.cards&&result.cards.length){
|
2023-01-24 13:26:41 +00:00
|
|
|
|
event.current.give(result.cards,player);
|
2019-06-07 03:46:13 +00:00
|
|
|
|
}
|
2020-03-25 12:27:23 +00:00
|
|
|
|
"step 3"
|
2023-01-24 13:26:41 +00:00
|
|
|
|
if(event.targets.length>0) event.goto(1);
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
"xinfu_denglou":{
|
2019-08-07 15:38:38 +00:00
|
|
|
|
audio:2,
|
|
|
|
|
trigger:{
|
2019-11-22 05:19:45 +00:00
|
|
|
|
player:"phaseJieshuBegin",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
limited:true,
|
|
|
|
|
filter:function (event,player){
|
2023-01-24 13:26:41 +00:00
|
|
|
|
return player.countCards('h')==0;
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
skillAnimation:true,
|
|
|
|
|
animationColor:'gray',
|
|
|
|
|
marktext:"登",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
content:function (){
|
2020-03-25 12:27:23 +00:00
|
|
|
|
"step 0"
|
|
|
|
|
player.awakenSkill('xinfu_denglou');
|
|
|
|
|
event.cards=get.cards(4);
|
|
|
|
|
event.gains=[]
|
|
|
|
|
event.discards=[]
|
|
|
|
|
var content=['牌堆顶的四张牌',event.cards];
|
|
|
|
|
game.log(player,'观看了','#y牌堆顶的四张牌');
|
|
|
|
|
player.chooseControl('ok').set('dialog',content);
|
|
|
|
|
"step 1"
|
|
|
|
|
if(get.type(event.cards[0])!="basic"){
|
|
|
|
|
event.gains.push(event.cards[0]);
|
|
|
|
|
event.cards.remove(event.cards[0]);
|
|
|
|
|
}
|
2019-09-20 15:19:26 +00:00
|
|
|
|
else{
|
2020-03-25 12:27:23 +00:00
|
|
|
|
var bool=game.hasPlayer(function(current){
|
|
|
|
|
return player.canUse(event.cards[0],current);
|
|
|
|
|
});
|
|
|
|
|
if(bool){
|
|
|
|
|
player.chooseUseTarget(event.cards[0],true,false);
|
2019-06-07 03:46:13 +00:00
|
|
|
|
}
|
2020-03-25 12:27:23 +00:00
|
|
|
|
else event.discards.push(event.cards[0]);
|
|
|
|
|
event.cards.remove(event.cards[0]);
|
|
|
|
|
}
|
|
|
|
|
"step 2"
|
|
|
|
|
if(event.cards.length) event.goto(1);
|
|
|
|
|
else{
|
|
|
|
|
if(event.gains.length) player.gain(event.gains,'gain2');
|
|
|
|
|
if(event.discards.length){
|
|
|
|
|
player.$throw(event.discards);
|
|
|
|
|
game.cardsDiscard(event.discards);
|
2019-06-07 03:46:13 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
2020-10-20 13:54:19 +00:00
|
|
|
|
qinguo_use:{audio:2},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
"xinfu_qinguo":{
|
2020-10-15 05:41:31 +00:00
|
|
|
|
group:"xinfu_qinguo_recover",
|
2020-10-20 13:54:19 +00:00
|
|
|
|
audio:'qinguo_use',
|
2020-10-15 05:41:31 +00:00
|
|
|
|
subfrequent:['recover'],
|
2019-08-07 15:38:38 +00:00
|
|
|
|
trigger:{
|
2020-03-25 12:27:23 +00:00
|
|
|
|
player:"useCardEnd",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
|
|
|
|
filter:function (event,player){
|
2020-03-25 12:27:23 +00:00
|
|
|
|
return get.type(event.card)=='equip';
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
direct:true,
|
2020-10-15 05:41:31 +00:00
|
|
|
|
content:function(){
|
2020-10-20 13:54:19 +00:00
|
|
|
|
player.chooseUseTarget({name:'sha'},get.prompt('xinfu_qinguo'),'视为使用一张【杀】',false).logSkill='xinfu_qinguo';
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2020-10-15 05:41:31 +00:00
|
|
|
|
subSkill:{
|
|
|
|
|
recover:{
|
2020-10-20 13:54:19 +00:00
|
|
|
|
audio:'qinguo_use',
|
2020-10-15 05:41:31 +00:00
|
|
|
|
trigger:{
|
|
|
|
|
player:'loseAfter',
|
2022-04-10 16:34:02 +00:00
|
|
|
|
global:['equipAfter','addJudgeAfter','gainAfter','loseAsyncAfter','addToExpansionAfter'],
|
2020-10-15 05:41:31 +00:00
|
|
|
|
},
|
|
|
|
|
prompt:'是否发动【勤国】回复1点体力?',
|
|
|
|
|
filter:function (event,player){
|
|
|
|
|
if(player.isHealthy()||player.countCards('e')!=player.hp) return false;
|
|
|
|
|
var evt=event.getl(player);
|
2020-10-17 01:17:07 +00:00
|
|
|
|
if(event.name=='equip'&&event.player==player) return !evt||evt.cards.length!=1;
|
2020-10-15 05:41:31 +00:00
|
|
|
|
return evt&&evt.es.length;
|
|
|
|
|
},
|
|
|
|
|
frequent:true,
|
|
|
|
|
content:function(){
|
|
|
|
|
player.recover();
|
|
|
|
|
},
|
|
|
|
|
},
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
},
|
2022-04-10 16:34:02 +00:00
|
|
|
|
xinfu_jijun:{
|
2019-08-07 15:38:38 +00:00
|
|
|
|
ai:{
|
2020-03-25 12:27:23 +00:00
|
|
|
|
reverseEquip:true,
|
|
|
|
|
effect:{
|
|
|
|
|
target:function (card,player,target,current){
|
|
|
|
|
if(get.type(card)=='equip'&&player==target&&player==_status.currentPhase&&get.subtype(card)=='equip1') return [1,3];
|
2020-02-04 05:31:47 +00:00
|
|
|
|
},
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
audio:2,
|
2019-08-07 15:38:38 +00:00
|
|
|
|
trigger:{
|
2020-03-25 12:27:23 +00:00
|
|
|
|
player:"useCardToPlayered",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
frequent:true,
|
2019-08-07 15:38:38 +00:00
|
|
|
|
filter:function (event,player){
|
2020-03-25 12:27:23 +00:00
|
|
|
|
if(player!=_status.currentPhase) return false;
|
|
|
|
|
if(event.getParent().triggeredTargets3.length>1) return false;
|
|
|
|
|
if(get.type(event.card)=='equip'&&get.subtype(event.card)!='equip1') return false;
|
|
|
|
|
if(event.targets.contains(player)) return true;
|
|
|
|
|
return false;
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
callback:function(){
|
2022-04-10 16:34:02 +00:00
|
|
|
|
player.addToExpansion(card,'gain2').gaintag.add('xinfu_jijun');
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
content:function (){
|
|
|
|
|
player.judge(function(card){
|
|
|
|
|
return 1;
|
|
|
|
|
}).callback=lib.skill.xinfu_jijun.callback;
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2022-04-10 16:34:02 +00:00
|
|
|
|
onremove:function(player,skill){
|
|
|
|
|
var cards=player.getExpansions(skill);
|
|
|
|
|
if(cards.length) player.loseToDiscardpile(cards);
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
intro:{
|
2022-04-10 16:34:02 +00:00
|
|
|
|
content:'expansion',
|
|
|
|
|
markcount:'expansion',
|
|
|
|
|
mark:function(dialog,content,player){
|
|
|
|
|
var content=player.getExpansions('xinfu_jijun');
|
2020-03-25 12:27:23 +00:00
|
|
|
|
if(content&&content.length){
|
|
|
|
|
dialog.addAuto(content);
|
|
|
|
|
if(player==game.me||player.isUnderControl()){
|
|
|
|
|
var list=lib.skill.xinfu_fangtong.getAuto(player);
|
|
|
|
|
if(list.length>0){
|
2022-04-10 16:34:02 +00:00
|
|
|
|
dialog.addText('<li>推荐方案:'+get.translation(list[0])+'+ '+get.translation(list.slice(1)));
|
2020-03-25 12:27:23 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
2019-06-07 03:46:13 +00:00
|
|
|
|
}
|
2020-03-25 12:27:23 +00:00
|
|
|
|
},
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
marktext:"方",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
2022-04-10 16:34:02 +00:00
|
|
|
|
xinfu_fangtong:{
|
|
|
|
|
getAuto:function(player){
|
2020-03-25 12:27:23 +00:00
|
|
|
|
var hs=player.getCards('he');
|
2022-04-10 16:34:02 +00:00
|
|
|
|
var ss=player.getExpansions('xinfu_jijun');
|
|
|
|
|
var bool=false,max=Math.pow(2,ss.length),index,i;
|
|
|
|
|
for(i=0;i<hs.length;i++){
|
|
|
|
|
for(var j=1;j<max;j++){
|
|
|
|
|
var num=get.number(hs[i]);
|
|
|
|
|
index=j.toString(2);
|
|
|
|
|
while(index.length<ss.length){
|
|
|
|
|
index=('0'+index);
|
|
|
|
|
}
|
|
|
|
|
for(var k=0;k<ss.length;k++){
|
|
|
|
|
if(index[k]=='1') num+=get.number(ss[k]);
|
|
|
|
|
}
|
|
|
|
|
if(num==36){
|
|
|
|
|
bool=true;
|
|
|
|
|
break;
|
2020-03-25 12:27:23 +00:00
|
|
|
|
}
|
2019-06-07 03:46:13 +00:00
|
|
|
|
}
|
2020-03-25 12:27:23 +00:00
|
|
|
|
if(bool) break;
|
|
|
|
|
}
|
|
|
|
|
if(!bool) return [];
|
2022-04-10 16:34:02 +00:00
|
|
|
|
var list=[hs[i]];
|
|
|
|
|
for(var k=0;k<ss.length;k++){
|
|
|
|
|
if(index[k]=='1') list.push(ss[k]);
|
2020-03-25 12:27:23 +00:00
|
|
|
|
}
|
|
|
|
|
return list;
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2019-08-07 15:38:38 +00:00
|
|
|
|
audio:2,
|
|
|
|
|
trigger:{
|
2020-03-25 12:27:23 +00:00
|
|
|
|
player:"phaseJieshuBegin",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
filter:function (event,player){
|
2022-04-10 16:34:02 +00:00
|
|
|
|
return player.countCards('he')>0&&player.getExpansions('xinfu_jijun').length>0;
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
direct:true,
|
|
|
|
|
skillAnimation:true,
|
|
|
|
|
animationColor:'metal',
|
2019-08-07 15:38:38 +00:00
|
|
|
|
content:function (){
|
2019-06-07 03:46:13 +00:00
|
|
|
|
'step 0'
|
2020-03-25 12:27:23 +00:00
|
|
|
|
var info=['是否发动【方统】?'];
|
2022-04-10 16:34:02 +00:00
|
|
|
|
info.push('<div class="text center">'+get.translation(player)+'的“方”</div>');
|
|
|
|
|
info.push(player.getExpansions('xinfu_jijun'));
|
2020-03-25 12:27:23 +00:00
|
|
|
|
if(player.countCards('h')){
|
|
|
|
|
info.push('<div class="text center">'+get.translation(player)+'的手牌区</div>');
|
|
|
|
|
info.push(player.getCards('h'));
|
|
|
|
|
}
|
|
|
|
|
if(player.countCards('e')){
|
|
|
|
|
info.push('<div class="text center">'+get.translation(player)+'的装备区</div>');
|
|
|
|
|
info.push(player.getCards('e'));
|
|
|
|
|
}
|
|
|
|
|
var next=player.chooseButton();
|
|
|
|
|
next.set('createDialog',info);
|
2022-04-10 16:34:02 +00:00
|
|
|
|
next.set('selectButton',function(){
|
2020-03-25 12:27:23 +00:00
|
|
|
|
var num=0;
|
|
|
|
|
for(var i=0;i<ui.selected.buttons.length;i++){
|
|
|
|
|
num+=get.number(ui.selected.buttons[i]);
|
|
|
|
|
}
|
|
|
|
|
if(num==36) return ui.selected.buttons.length;
|
|
|
|
|
return ui.selected.buttons.length+2;
|
|
|
|
|
});
|
|
|
|
|
next.set('filterButton',function(button){
|
2022-04-10 16:34:02 +00:00
|
|
|
|
var player=_status.event.player,cards=player.getExpansions('xinfu_jijun');
|
2020-03-25 12:27:23 +00:00
|
|
|
|
if(ui.selected.buttons.length){
|
2022-04-10 16:34:02 +00:00
|
|
|
|
if(!cards.contains(button.link)) return false;
|
2020-03-25 12:27:23 +00:00
|
|
|
|
}
|
2022-04-10 16:34:02 +00:00
|
|
|
|
else if(cards.contains(button.link)) return false;
|
2020-03-25 12:27:23 +00:00
|
|
|
|
var num=0;
|
|
|
|
|
for(var i=0;i<ui.selected.buttons.length;i++){
|
|
|
|
|
num+=get.number(ui.selected.buttons[i]);
|
|
|
|
|
}
|
|
|
|
|
return get.number(button.link)+num<=36;
|
|
|
|
|
});
|
|
|
|
|
next.set('autolist',lib.skill.xinfu_fangtong.getAuto(player));
|
|
|
|
|
next.set('processAI',function(){
|
|
|
|
|
if(_status.event.autolist&&_status.event.autolist.length>0){
|
|
|
|
|
return {
|
|
|
|
|
bool:true,
|
|
|
|
|
links:_status.event.autolist,
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-04-10 16:34:02 +00:00
|
|
|
|
return {bool:false};
|
2019-06-07 03:46:13 +00:00
|
|
|
|
});
|
2020-07-31 02:16:01 +00:00
|
|
|
|
next.set('complexSelect',true);
|
2019-06-07 03:46:13 +00:00
|
|
|
|
'step 1'
|
|
|
|
|
if(result.bool){
|
2020-03-25 12:27:23 +00:00
|
|
|
|
player.logSkill('xinfu_fangtong');
|
|
|
|
|
var tothrow=[];
|
|
|
|
|
var cards=result.links.slice(0);
|
|
|
|
|
for(var i=0;i<cards.length;i++){
|
2022-04-10 16:34:02 +00:00
|
|
|
|
if(get.position(cards[i])=='x'){
|
2020-03-25 12:27:23 +00:00
|
|
|
|
tothrow.push(cards[i]);
|
2022-04-10 16:34:02 +00:00
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
player.discard(cards[i]).delay=false;
|
2020-03-25 12:27:23 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
2022-04-10 16:34:02 +00:00
|
|
|
|
player.loseToDiscardpile(tothrow);
|
2020-03-25 12:27:23 +00:00
|
|
|
|
player.chooseTarget('选择一个目标并对其造成3点雷电伤害',true,function(card,player,target){
|
|
|
|
|
return target!=player;
|
|
|
|
|
}).set('ai',function(target){
|
|
|
|
|
return get.damageEffect(target,_status.event.player,_status.event.player,'thunder');
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
event.finish();
|
2019-06-07 03:46:13 +00:00
|
|
|
|
}
|
2020-03-25 12:27:23 +00:00
|
|
|
|
'step 2'
|
|
|
|
|
var target=result.targets[0];
|
|
|
|
|
player.line(target,'thunder');
|
|
|
|
|
target.damage(3,'thunder');
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
2023-01-24 13:26:41 +00:00
|
|
|
|
xinfu_weilu:{
|
2020-03-25 12:27:23 +00:00
|
|
|
|
audio:2,
|
2019-08-07 15:38:38 +00:00
|
|
|
|
trigger:{
|
2020-03-25 12:27:23 +00:00
|
|
|
|
player:"damageEnd",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
2023-01-24 13:26:41 +00:00
|
|
|
|
filter:function(event,player){
|
|
|
|
|
return event.source&&event.source.isIn()&&!player.getStorage('xinfu_weilu_effect').contains(event.source)
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
check:function (event,player){
|
2023-01-24 13:26:41 +00:00
|
|
|
|
return (get.effect(target,{name:'losehp'},player,player)>=0);
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2019-08-07 15:38:38 +00:00
|
|
|
|
forced:true,
|
2020-03-25 12:27:23 +00:00
|
|
|
|
logTarget:"source",
|
2023-01-24 13:26:41 +00:00
|
|
|
|
content:function(){
|
|
|
|
|
player.addTempSkill('xinfu_weilu_effect',{player:'die'});
|
|
|
|
|
player.markAuto('xinfu_weilu_effect',[trigger.source]);
|
|
|
|
|
game.delayx();
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2019-08-07 15:38:38 +00:00
|
|
|
|
ai:{
|
2023-01-24 13:26:41 +00:00
|
|
|
|
maixie_defend:true,
|
|
|
|
|
threaten:0.85,
|
2019-08-07 15:38:38 +00:00
|
|
|
|
effect:{
|
|
|
|
|
target:function (card,player,target){
|
2023-01-24 13:26:41 +00:00
|
|
|
|
if(player.hasSkillTag('jueqing',false,target)) return;
|
|
|
|
|
return 0.9;
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
subSkill:{
|
2023-01-24 13:26:41 +00:00
|
|
|
|
effect:{
|
|
|
|
|
audio:'xinfu_weilu',
|
|
|
|
|
trigger:{player:'phaseUseBegin'},
|
|
|
|
|
charlotte:true,
|
|
|
|
|
forced:true,
|
|
|
|
|
logTarget:function(event,player){
|
|
|
|
|
return player.getStorage('xinfu_weilu_effect').filter(function(current){
|
2023-07-31 16:29:37 +00:00
|
|
|
|
return current.isIn()&¤t.hp>1;
|
2023-01-24 13:26:41 +00:00
|
|
|
|
});
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
2023-01-24 13:26:41 +00:00
|
|
|
|
content:function(){
|
|
|
|
|
'step 0'
|
|
|
|
|
var targets=player.getStorage('xinfu_weilu_effect');
|
|
|
|
|
player.removeSkill('xinfu_weilu_effect');
|
|
|
|
|
event.targets=targets.sortBySeat();
|
|
|
|
|
'step 1'
|
|
|
|
|
var target=targets.shift();
|
2023-07-31 16:29:37 +00:00
|
|
|
|
if(target.isIn()&&target.hp>1){
|
2023-01-24 13:26:41 +00:00
|
|
|
|
event._delay=true;
|
|
|
|
|
var num=target.hp-1;
|
|
|
|
|
player.markAuto('xinfu_weilu_recover',[[target,num]]);
|
|
|
|
|
target.loseHp(num);
|
|
|
|
|
}
|
|
|
|
|
if(targets.length>0) event.redo();
|
|
|
|
|
else if(!event._delay) event.finish();
|
|
|
|
|
'step 2'
|
|
|
|
|
player.addTempSkill('xinfu_weilu_recover',{player:['phaseUseAfter','phaseAfter']});
|
|
|
|
|
game.delayx();
|
2020-01-01 14:36:18 +00:00
|
|
|
|
},
|
2023-01-24 13:26:41 +00:00
|
|
|
|
onremove:true,
|
|
|
|
|
intro:{content:'已将$列入“威虏”战略打击目标'},
|
|
|
|
|
},
|
|
|
|
|
recover:{
|
|
|
|
|
audio:'xinfu_weilu',
|
|
|
|
|
charlotte:true,
|
|
|
|
|
trigger:{player:'phaseUseEnd'},
|
2020-01-01 14:36:18 +00:00
|
|
|
|
forced:true,
|
2023-01-24 13:26:41 +00:00
|
|
|
|
filter:function(event,player){
|
|
|
|
|
var targets=player.getStorage('xinfu_weilu_recover');
|
|
|
|
|
for(var i of targets){
|
|
|
|
|
if(i[0].isIn()&&i[0].isDamaged()) return true;
|
|
|
|
|
}
|
|
|
|
|
return false;
|
|
|
|
|
},
|
|
|
|
|
onremove:true,
|
|
|
|
|
logTarget:function(event,player){
|
|
|
|
|
var logs=[],targets=player.getStorage('xinfu_weilu_recover');
|
|
|
|
|
for(var i of targets){
|
|
|
|
|
if(i[0].isIn()&&i[0].isDamaged()) logs.add(i[0]);
|
|
|
|
|
}
|
|
|
|
|
return logs;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
|
|
|
|
'step 0'
|
|
|
|
|
event.list=player.getStorage('xinfu_weilu_recover').slice(0);
|
|
|
|
|
event.list.sort(function(a,b){
|
|
|
|
|
return lib.sort.seat(a[0],b[0]);
|
|
|
|
|
});
|
|
|
|
|
'step 1'
|
|
|
|
|
var group=event.list.shift();
|
2023-07-31 16:29:37 +00:00
|
|
|
|
if(group[0].isIn()&&group[0].isDamaged()){
|
2023-01-24 13:26:41 +00:00
|
|
|
|
group[0].recover(group[1]);
|
|
|
|
|
event._delay=true;
|
|
|
|
|
}
|
|
|
|
|
if(event.list.length>0) event.redo();
|
|
|
|
|
else if(!event._delay) event.finish();
|
|
|
|
|
'step 2'
|
|
|
|
|
game.delayx();
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
2023-01-24 13:26:41 +00:00
|
|
|
|
xinfu_zengdao:{
|
2020-03-25 12:27:23 +00:00
|
|
|
|
audio:2,
|
|
|
|
|
limited:true,
|
2019-08-07 15:38:38 +00:00
|
|
|
|
enable:"phaseUse",
|
2023-01-24 13:26:41 +00:00
|
|
|
|
filter:function(event,player){;
|
2020-03-25 12:27:23 +00:00
|
|
|
|
return player.countCards('e')>0;
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2023-01-24 13:26:41 +00:00
|
|
|
|
filterTarget:lib.filter.notMe,
|
2020-03-25 12:27:23 +00:00
|
|
|
|
skillAnimation:true,
|
|
|
|
|
animationColor:'thunder',
|
|
|
|
|
position:"e",
|
|
|
|
|
filterCard:true,
|
|
|
|
|
selectCard:[1,Infinity],
|
2019-08-07 15:38:38 +00:00
|
|
|
|
discard:false,
|
2023-01-24 13:26:41 +00:00
|
|
|
|
lose:false,
|
|
|
|
|
content:function(){
|
2020-03-25 12:27:23 +00:00
|
|
|
|
player.awakenSkill('xinfu_zengdao');
|
2023-01-24 13:26:41 +00:00
|
|
|
|
target.addToExpansion(cards,player,'give').gaintag.add('xinfu_zengdao2');
|
2020-03-25 12:27:23 +00:00
|
|
|
|
target.addSkill('xinfu_zengdao2');
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
},
|
2023-01-24 13:26:41 +00:00
|
|
|
|
xinfu_zengdao2:{
|
|
|
|
|
trigger:{source:'damageBegin1'},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
forced:true,
|
|
|
|
|
charlotte:true,
|
2023-01-24 13:26:41 +00:00
|
|
|
|
filter:function(event,player){
|
|
|
|
|
return player.getExpansions('xinfu_zengdao2').length>0;
|
|
|
|
|
},
|
|
|
|
|
content:function(){
|
2019-06-07 03:46:13 +00:00
|
|
|
|
'step 0'
|
2023-01-24 13:26:41 +00:00
|
|
|
|
player.chooseCardButton('将一张“刀”置入弃牌堆',player.getExpansions('xinfu_zengdao2'),true);
|
2020-02-16 04:25:41 +00:00
|
|
|
|
'step 1'
|
2020-03-25 12:27:23 +00:00
|
|
|
|
if(result.bool){
|
2023-01-24 13:26:41 +00:00
|
|
|
|
trigger.num++;
|
|
|
|
|
player.loseToDiscardpile(result.links);
|
2020-03-25 12:27:23 +00:00
|
|
|
|
}
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
marktext:"刀",
|
|
|
|
|
intro:{
|
2023-01-24 13:26:41 +00:00
|
|
|
|
content:'expansion',
|
|
|
|
|
markcount:'expansion',
|
2020-03-25 12:27:23 +00:00
|
|
|
|
onunmark:function(storage,player){
|
2023-01-24 13:26:41 +00:00
|
|
|
|
player.removeSkill('xinfu_zengdao2');
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
2023-07-19 19:54:40 +00:00
|
|
|
|
xinfu_guanwei:{
|
2020-03-25 12:27:23 +00:00
|
|
|
|
audio:2,
|
2019-08-07 15:38:38 +00:00
|
|
|
|
usable:1,
|
2020-03-25 12:27:23 +00:00
|
|
|
|
trigger:{
|
|
|
|
|
global:"phaseUseEnd",
|
|
|
|
|
},
|
|
|
|
|
filter:function (event,player){
|
2023-07-19 19:54:40 +00:00
|
|
|
|
var history=event.player.getHistory('useCard');
|
2020-03-25 12:27:23 +00:00
|
|
|
|
var num=0;
|
|
|
|
|
var suit=false;
|
|
|
|
|
for(var i=0;i<history.length;i++){
|
|
|
|
|
var suit2=get.suit(history[i].card);
|
2023-07-19 19:54:40 +00:00
|
|
|
|
if(!lib.suit.contains(suit2)) return false;
|
2020-03-25 12:27:23 +00:00
|
|
|
|
if(suit&&suit!=suit2) return false;
|
|
|
|
|
suit=suit2;
|
|
|
|
|
num++;
|
|
|
|
|
}
|
|
|
|
|
return num>1;
|
|
|
|
|
},
|
|
|
|
|
direct:true,
|
2023-07-19 19:54:40 +00:00
|
|
|
|
global:'xinfu_guanwei_ai',
|
2019-08-07 15:38:38 +00:00
|
|
|
|
content:function (){
|
2019-06-07 03:46:13 +00:00
|
|
|
|
'step 0'
|
2023-07-19 19:54:40 +00:00
|
|
|
|
var target=trigger.player;
|
2020-03-25 12:27:23 +00:00
|
|
|
|
player.chooseToDiscard('he',get.prompt('xinfu_guanwei',trigger.player),'弃置一张牌,令其摸两张牌并进行一个额外的出牌阶段。').set('ai',function(card){
|
2023-07-19 19:54:40 +00:00
|
|
|
|
if(get.attitude(_status.event.player,_status.event.targetx)<1) return 0;
|
2020-03-25 12:27:23 +00:00
|
|
|
|
return 9-get.value(card);
|
2023-07-19 19:54:40 +00:00
|
|
|
|
}).set('logSkill',['xinfu_guanwei',target]).set('targetx',target);
|
2019-06-07 03:46:13 +00:00
|
|
|
|
'step 1'
|
2020-03-25 12:27:23 +00:00
|
|
|
|
if(result.bool){
|
|
|
|
|
player.line(trigger.player,'green');
|
|
|
|
|
trigger.player.draw(2);
|
2023-07-19 19:54:40 +00:00
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
player.storage.counttrigger.xinfu_guanwei--;
|
2019-06-07 03:46:13 +00:00
|
|
|
|
event.finish();
|
|
|
|
|
}
|
2020-03-25 12:27:23 +00:00
|
|
|
|
'step 2'
|
2020-10-05 05:33:08 +00:00
|
|
|
|
var next=trigger.player.phaseUse();
|
|
|
|
|
event.next.remove(next);
|
|
|
|
|
trigger.getParent('phase').next.push(next);
|
2020-03-25 12:27:23 +00:00
|
|
|
|
},
|
2020-05-09 05:30:03 +00:00
|
|
|
|
ai:{
|
|
|
|
|
expose:0.5,
|
|
|
|
|
},
|
2023-07-19 19:54:40 +00:00
|
|
|
|
subSkill:{
|
|
|
|
|
ai:{
|
|
|
|
|
ai:{
|
|
|
|
|
effect:{
|
|
|
|
|
player_use:function(card,player,target){
|
|
|
|
|
if(typeof card!='object'||!player.isPhaseUsing()) return;
|
|
|
|
|
var hasPanjun=game.hasPlayer(function(current){
|
|
|
|
|
return current.hasSkill('xinfu_guanwei')&&(!current.storage.counttrigger||!current.storage.counttrigger.xinfu_guanwei)&&
|
|
|
|
|
get.attitude(current,player)>=1&¤t.hasCard(function(card){
|
|
|
|
|
return get.value(card)<7||(current!=game.me&&!current.isUnderControl()&&!current.isOnline())&&get.value(card)<9;
|
|
|
|
|
},'he');
|
|
|
|
|
});
|
|
|
|
|
if(!hasPanjun) return;
|
|
|
|
|
var suitx=get.suit(card);
|
|
|
|
|
var history=player.getHistory('useCard');
|
|
|
|
|
if(!history.length){
|
|
|
|
|
var val=0;
|
|
|
|
|
if(player.hasCard(function(cardx){
|
|
|
|
|
return get.suit(cardx)==suitx&&card!=cardx&&(!card.cards||!card.cards.contains(cardx))&&player.hasValueTarget(cardx);
|
|
|
|
|
},'hs')) val=[2,0.1];
|
|
|
|
|
if(val) return val;
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
var num=0;
|
|
|
|
|
var suit=false;
|
|
|
|
|
for(var i=0;i<history.length;i++){
|
|
|
|
|
var suit2=get.suit(history[i].card);
|
|
|
|
|
if(!lib.suit.contains(suit2)) return;
|
|
|
|
|
if(suit&&suit!=suit2) return;
|
|
|
|
|
suit=suit2;
|
|
|
|
|
num++;
|
|
|
|
|
}
|
|
|
|
|
if(suitx==suit&&num==1) return [1,0.1];
|
|
|
|
|
if(suitx!=suit&&(num>1||num<=1&&player.hasCard(function(cardx){
|
|
|
|
|
return get.suit(cardx)==suit&&player.hasValueTarget(cardx);
|
|
|
|
|
},'hs'))) return 'zeroplayertarget';
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
},
|
2021-10-18 10:34:20 +00:00
|
|
|
|
xinfu_gongqing_gz_panjun:{audio:2},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
"xinfu_gongqing":{
|
v1.9.122.3 (#146)
* change lib.init.parsex, Enable 'step' to be used through nesting
* Fixed an issue where nonstandard statement 'step 0' before standard statement 'step 0' would cause an error
* zhangshiping; tw_madai bug fix
* modify all the skills with incorrect "locked" tag
* Change the game.exit function to restart the app for WKWebview users using ios. And added the macintosh field to the judgment of lib.device
* various bug fix
* Revert "various bug fix"
This reverts commit ca7a363172a837af9244fca300d6a008cafc03ac.
* various bug fix
* some sudio
* unlock zhenghun, fix sbdiaochan
* add and adjust some audio, fix some bugs
* add trigger "useSkill" and "logSkillBegin"
* brand new wuxie
* Update standard.js
* update 武安国
* iriya!
* Add character lushi; fix clansankuang
* add 魏关羽/涛神,unlock 关宁/向朗/谋孙策/谋大乔/谋刘表,add related audio
* fix: adjust the edit box style to fix the text overflow problem 🐛
* fix 修文 and some other small bugs
* 伊莉雅·罗日杰斯特文斯卡娅
* Fix the issue of "game.getDB" and "game. deleteDB" reporting errors without "lib.db"
* Some browsers do not support "autoplay", so "onconplay" listening has been added
* sunwukong
* more zooms
* unlock 周善, modify 卢氏/卞喜/刘虞/黄祖/李采薇/张翼/笮融/孙寒华/TW董昭, fix some bug, add omitted audio
* change the number of 如意金箍棒 to 9 instead of 5; fix 夏侯尚's bug; add audio for sunwukong & donghailongwang
* Add the default accept value of '*/*' to the HTML selection file label
* longwang
* add&modify some audio
* add 族王凌/界SP黄月英/界张松/武诸葛亮,fix 晖云's bug; resolve conflicts, bring 武诸葛 up to date, fix 龙王's bug
* add 阮籍, add a skillTag in "jiu2" named jiuSustain for ruanji
* add some audio, sort some characters in sp
* sync 界SP黄月英
* add some character intros
* make 谋弈 play audio correctly
* revert some skills back to new ones
* v1.9.122.3
* Update update.js
---------
Co-authored-by: shijian <2954700422@qq.com>
Co-authored-by: copcap <copcap@outlook.com>
Co-authored-by: copcap <43802486+copcap@users.noreply.github.com>
Co-authored-by: PBK-B <pbk-b@PBK6.cn>
2023-06-30 15:06:19 +00:00
|
|
|
|
audio:2,
|
2021-10-18 10:34:20 +00:00
|
|
|
|
audioname2:{gz_panjun:'xinfu_gongqing_gz_panjun'},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
trigger:{
|
|
|
|
|
player:["damageBegin3","damageBegin4"],
|
|
|
|
|
},
|
|
|
|
|
forced:true,
|
|
|
|
|
filter:function (event,player,name){
|
|
|
|
|
if(!event.source) return false;
|
|
|
|
|
var range=event.source.getAttackRange();
|
|
|
|
|
if(name=='damageBegin3') return range>3;
|
|
|
|
|
return event.num>1&&range<3;
|
|
|
|
|
},
|
2021-10-22 05:07:02 +00:00
|
|
|
|
preHidden:true,
|
2020-03-25 12:27:23 +00:00
|
|
|
|
content:function (){
|
|
|
|
|
trigger.num=event.triggername=='damageBegin4'?1:trigger.num+1;
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2019-08-07 15:38:38 +00:00
|
|
|
|
ai:{
|
2020-03-25 12:27:23 +00:00
|
|
|
|
filterDamage:true,
|
|
|
|
|
skillTagFilter:function(player,tag,arg){
|
|
|
|
|
if(arg&&arg.player){
|
|
|
|
|
if(arg.player.hasSkillTag('jueqing',false,player)) return false;
|
|
|
|
|
if(arg.player.getAttackRange()<3) return true;
|
|
|
|
|
}
|
|
|
|
|
return false;
|
|
|
|
|
}
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
"xinfu_andong":{
|
|
|
|
|
subSkill:{
|
|
|
|
|
add:{
|
|
|
|
|
sub:true,
|
|
|
|
|
mod:{
|
|
|
|
|
ignoredHandcard:function (card,player){
|
2020-10-15 05:41:31 +00:00
|
|
|
|
if(get.suit(card)=='heart'){
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
cardDiscardable:function (card,player,name){
|
2020-10-15 05:41:31 +00:00
|
|
|
|
if(name=='phaseDiscard'&&get.suit(card)=='heart') return false;
|
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
2019-08-07 15:38:38 +00:00
|
|
|
|
audio:2,
|
2020-03-25 12:27:23 +00:00
|
|
|
|
trigger:{
|
|
|
|
|
player:"damageBegin4",
|
|
|
|
|
},
|
|
|
|
|
filter:function (event,player){
|
|
|
|
|
return get.itemtype(event.source)=='player';
|
|
|
|
|
},
|
|
|
|
|
logTarget:"source",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
content:function (){
|
2020-03-25 12:27:23 +00:00
|
|
|
|
"step 0"
|
|
|
|
|
if(!trigger.source.countCards('h')) event._result={index:1};
|
|
|
|
|
else trigger.source.chooseControlList(
|
|
|
|
|
['令'+get.translation(player)+'观看你的手牌,并获得其中所有的红桃牌。',
|
|
|
|
|
'防止即将对'+get.translation(player)+'造成的伤害,并使自己本回合内的红桃手牌不计入手牌上限。'],
|
|
|
|
|
true).set('ai',function(event,player){
|
|
|
|
|
var target=_status.event.getParent().player;
|
|
|
|
|
var player=_status.event.player;
|
|
|
|
|
if(get.attitude(player,target)>0) return 1;
|
|
|
|
|
return 0;
|
|
|
|
|
});
|
|
|
|
|
"step 1"
|
|
|
|
|
if(result.index==1){
|
|
|
|
|
trigger.cancel();
|
|
|
|
|
trigger.source.addTempSkill('xinfu_andong_add');
|
|
|
|
|
event.finish();
|
|
|
|
|
}else{
|
|
|
|
|
player.viewHandcards(trigger.source);
|
2019-06-07 03:46:13 +00:00
|
|
|
|
}
|
2020-03-25 12:27:23 +00:00
|
|
|
|
"step 2"
|
|
|
|
|
var cards=trigger.source.getCards('h');
|
|
|
|
|
var togain=[]
|
|
|
|
|
for(var i=0;i<cards.length;i++){
|
|
|
|
|
if(get.suit(cards[i])=='heart') togain.push(cards[i]);
|
|
|
|
|
}
|
2023-01-24 13:26:41 +00:00
|
|
|
|
if(togain.length) player.gain(togain,trigger.source,'giveAuto','bySelf');
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
2023-01-24 13:26:41 +00:00
|
|
|
|
xinfu_yingshi:{
|
2020-03-25 12:27:23 +00:00
|
|
|
|
audio:2,
|
|
|
|
|
group:["yingshi_die"],
|
2019-08-07 15:38:38 +00:00
|
|
|
|
trigger:{
|
2020-03-25 12:27:23 +00:00
|
|
|
|
player:"phaseUseBegin",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
direct:true,
|
2023-01-24 13:26:41 +00:00
|
|
|
|
filter:function(event,player){
|
2020-03-25 12:27:23 +00:00
|
|
|
|
return player.countCards('he',{suit:'heart'})>0&&!game.hasPlayer(function(current){
|
|
|
|
|
return current.hasSkill('yingshi_heart');
|
|
|
|
|
});
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2019-08-07 15:38:38 +00:00
|
|
|
|
content:function (){
|
2020-03-25 12:27:23 +00:00
|
|
|
|
'step 0'
|
|
|
|
|
player.chooseTarget(get.prompt2('xinfu_yingshi'),function(card,player,target){
|
|
|
|
|
return target!=player;
|
|
|
|
|
}).set('ai',function(){
|
|
|
|
|
return -1;
|
|
|
|
|
});
|
|
|
|
|
'step 1'
|
|
|
|
|
if(result.bool){
|
2023-01-24 13:26:41 +00:00
|
|
|
|
var cards=player.getCards('he',{suit:'heart'});
|
|
|
|
|
var target=result.targets[0];
|
|
|
|
|
player.logSkill('xinfu_yingshi',target);
|
|
|
|
|
target.addSkill('yingshi_heart');
|
|
|
|
|
target.addToExpansion(cards,player,'give').gaintag.add('xinfu_yingshi');
|
2020-03-25 12:27:23 +00:00
|
|
|
|
}
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2023-01-24 13:26:41 +00:00
|
|
|
|
marktext:'酬',
|
|
|
|
|
intro:{
|
|
|
|
|
markcount:'expansion',
|
|
|
|
|
content:'expansion',
|
|
|
|
|
onunmark:function(storage,player){
|
|
|
|
|
player.removeSkill('yingshi_heart');
|
|
|
|
|
},
|
|
|
|
|
}
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
2023-01-24 13:26:41 +00:00
|
|
|
|
yingshi_heart:{
|
|
|
|
|
charlotte:true,
|
|
|
|
|
trigger:{player:'damageEnd'},
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
return event.source&&event.source.isIn()
|
|
|
|
|
&&event.card&&event.card.name=='sha'
|
|
|
|
|
&&player.getExpansions('xinfu_yingshi').length>0;
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
forced:true,
|
2023-01-24 13:26:41 +00:00
|
|
|
|
logTarget:'source',
|
|
|
|
|
content:function(){
|
2019-06-07 03:46:13 +00:00
|
|
|
|
'step 0'
|
2023-01-24 13:26:41 +00:00
|
|
|
|
trigger.source.chooseCardButton('应势:选择获得一张“酬”',player.getExpansions('xinfu_yingshi'),true);
|
2019-06-07 03:46:13 +00:00
|
|
|
|
'step 1'
|
|
|
|
|
if(result.bool){
|
2023-01-24 13:26:41 +00:00
|
|
|
|
trigger.source.gain(result.links,player,'give');
|
2020-03-25 12:27:23 +00:00
|
|
|
|
}
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
},
|
2023-01-24 13:26:41 +00:00
|
|
|
|
yingshi_die:{
|
|
|
|
|
audio:'xinfu_yingshi',
|
2020-03-25 12:27:23 +00:00
|
|
|
|
forced:true,
|
2023-01-24 13:26:41 +00:00
|
|
|
|
trigger:{global:'die'},
|
|
|
|
|
logTarget:'player',
|
|
|
|
|
filter:function(event,player){
|
|
|
|
|
return event.player.getExpansions('xinfu_yingshi').length>0;
|
2020-03-25 12:27:23 +00:00
|
|
|
|
},
|
2023-01-24 13:26:41 +00:00
|
|
|
|
content:function(){
|
|
|
|
|
var target=trigger.player;
|
|
|
|
|
player.gain(target.getExpansions('xinfu_yingshi'),target,'give','bySelf');
|
2020-03-25 12:27:23 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
"xinfu_duanfa":{
|
|
|
|
|
init:function (player){
|
|
|
|
|
player.storage.xinfu_duanfa=0;
|
|
|
|
|
},
|
|
|
|
|
audio:2,
|
|
|
|
|
enable:"phaseUse",
|
|
|
|
|
position:"he",
|
|
|
|
|
filter:function (card,player){
|
|
|
|
|
return player.storage.xinfu_duanfa<player.maxHp;
|
|
|
|
|
},
|
|
|
|
|
filterCard:function (card){
|
|
|
|
|
return get.color(card)=='black';
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2019-08-07 15:38:38 +00:00
|
|
|
|
selectCard:function (){
|
2019-06-07 03:46:13 +00:00
|
|
|
|
var player=_status.event.player;
|
2020-03-25 12:27:23 +00:00
|
|
|
|
return [1,player.maxHp-player.storage.xinfu_duanfa];
|
|
|
|
|
},
|
|
|
|
|
check:function (card){
|
|
|
|
|
return 6-get.value(card)
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2020-03-09 13:12:08 +00:00
|
|
|
|
delay:false,
|
2019-08-07 15:38:38 +00:00
|
|
|
|
content:function (){
|
2019-06-07 03:46:13 +00:00
|
|
|
|
player.draw(cards.length);
|
2020-03-25 12:27:23 +00:00
|
|
|
|
player.storage.xinfu_duanfa+=cards.length;
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
group:"xinfu_duanfa_clear",
|
|
|
|
|
subSkill:{
|
|
|
|
|
clear:{
|
|
|
|
|
trigger:{
|
|
|
|
|
player:"phaseBefore",
|
|
|
|
|
},
|
|
|
|
|
forced:true,
|
|
|
|
|
silent:true,
|
|
|
|
|
popup:false,
|
|
|
|
|
content:function (){
|
|
|
|
|
player.storage.xinfu_duanfa=0;
|
|
|
|
|
},
|
|
|
|
|
sub:true,
|
|
|
|
|
},
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2019-08-07 15:38:38 +00:00
|
|
|
|
ai:{
|
|
|
|
|
order:1,
|
|
|
|
|
result:{
|
|
|
|
|
player:1,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
"xinfu_youdi":{
|
|
|
|
|
audio:2,
|
2019-08-07 15:38:38 +00:00
|
|
|
|
trigger:{
|
2020-03-25 12:27:23 +00:00
|
|
|
|
player:"phaseJieshuBegin",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
direct:true,
|
2019-08-07 15:38:38 +00:00
|
|
|
|
filter:function (event,player){
|
2020-03-25 12:27:23 +00:00
|
|
|
|
return player.countCards('h')>0;
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2019-08-07 15:38:38 +00:00
|
|
|
|
content:function (){
|
2020-03-25 12:27:23 +00:00
|
|
|
|
"step 0"
|
|
|
|
|
player.chooseTarget(get.prompt2('xinfu_youdi'),function(card,player,target){
|
|
|
|
|
return player!=target;
|
|
|
|
|
}).set('ai',function(target){
|
|
|
|
|
var player=_status.event.player;
|
|
|
|
|
if(player.countCards('h','sha')>player.countCards('h')/3&&player.countCards('h',{color:'red'})>player.countCards('h')/2) return 0;
|
|
|
|
|
if(target.countCards('he')==0) return 0.1;
|
|
|
|
|
return -get.attitude(_status.event.player,target);
|
2019-06-07 03:46:13 +00:00
|
|
|
|
});
|
2020-03-25 12:27:23 +00:00
|
|
|
|
"step 1"
|
2019-06-07 03:46:13 +00:00
|
|
|
|
if(result.bool){
|
2020-03-25 12:27:23 +00:00
|
|
|
|
game.delay();
|
|
|
|
|
player.logSkill('xinfu_youdi',result.targets);
|
|
|
|
|
event.target=result.targets[0];
|
|
|
|
|
event.target.discardPlayerCard(player,'h',true);
|
2019-06-07 03:46:13 +00:00
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
event.finish();
|
|
|
|
|
}
|
2020-03-25 12:27:23 +00:00
|
|
|
|
"step 2"
|
|
|
|
|
if(get.color(result.links[0])!='black') player.draw('nodelay');
|
|
|
|
|
if(result.links[0].name!='sha'&&event.target.countCards('he')){
|
|
|
|
|
player.gainPlayerCard('he',event.target,true);
|
2019-06-07 03:46:13 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
ai:{
|
2020-05-09 05:30:03 +00:00
|
|
|
|
expose:0.3,
|
2020-03-25 12:27:23 +00:00
|
|
|
|
threaten:1.4,
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
},
|
|
|
|
|
"xinfu_guanchao":{
|
2019-08-07 15:38:38 +00:00
|
|
|
|
subSkill:{
|
2020-03-25 12:27:23 +00:00
|
|
|
|
dizeng:{
|
|
|
|
|
mark:true,
|
|
|
|
|
marktext:"增",
|
|
|
|
|
intro:{
|
|
|
|
|
content:"单调递增",
|
|
|
|
|
},
|
|
|
|
|
trigger:{
|
|
|
|
|
player:"useCard",
|
|
|
|
|
},
|
|
|
|
|
audio:"xinfu_guanchao",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
forced:true,
|
2020-04-25 05:40:05 +00:00
|
|
|
|
mod:{
|
|
|
|
|
aiOrder:function(player,card,num){
|
|
|
|
|
if(typeof card.number!='number') return;
|
|
|
|
|
var history=player.getHistory('useCard',function(evt){
|
2020-10-15 05:41:31 +00:00
|
|
|
|
return evt.isPhaseUsing();
|
|
|
|
|
});
|
|
|
|
|
if(history.length==0) return num+10*(14-card.number);
|
|
|
|
|
var num=get.number(history[0].card);
|
|
|
|
|
if(!num) return;
|
|
|
|
|
for(var i=1;i<history.length;i++){
|
|
|
|
|
var num2=get.number(history[i].card);
|
|
|
|
|
if(!num2||num2<=num) return;
|
|
|
|
|
num=num2;
|
|
|
|
|
}
|
|
|
|
|
if(card.number>num) return num+10*(14-card.number);
|
2020-04-25 05:40:05 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
filter:function (event,player){
|
|
|
|
|
var history=player.getHistory('useCard',function(evt){
|
|
|
|
|
return evt.isPhaseUsing();
|
|
|
|
|
});
|
|
|
|
|
if(history.length<2) return false;
|
|
|
|
|
var num=get.number(history[0].card);
|
|
|
|
|
if(!num) return false;
|
|
|
|
|
for(var i=1;i<history.length;i++){
|
|
|
|
|
var num2=get.number(history[i].card);
|
|
|
|
|
if(!num2||num2<=num) return false;
|
|
|
|
|
num=num2;
|
|
|
|
|
}
|
|
|
|
|
return true;
|
|
|
|
|
},
|
|
|
|
|
content:function (){
|
|
|
|
|
player.draw();
|
|
|
|
|
},
|
|
|
|
|
sub:true,
|
|
|
|
|
},
|
|
|
|
|
dijian:{
|
|
|
|
|
mark:true,
|
|
|
|
|
marktext:"减",
|
|
|
|
|
intro:{
|
|
|
|
|
content:"单调递减",
|
|
|
|
|
},
|
|
|
|
|
init:function (player){
|
|
|
|
|
player.storage.guanchao=0;
|
|
|
|
|
},
|
|
|
|
|
onremove:function (player){
|
|
|
|
|
delete player.storage.guanchao;
|
|
|
|
|
},
|
2019-08-07 15:38:38 +00:00
|
|
|
|
trigger:{
|
2020-03-25 12:27:23 +00:00
|
|
|
|
player:"useCard",
|
|
|
|
|
},
|
|
|
|
|
audio:"xinfu_guanchao",
|
|
|
|
|
forced:true,
|
2020-04-25 05:40:05 +00:00
|
|
|
|
mod:{
|
|
|
|
|
aiOrder:function(player,card,num){
|
|
|
|
|
if(typeof card.number!='number') return;
|
|
|
|
|
var history=player.getHistory('useCard',function(evt){
|
2020-10-15 05:41:31 +00:00
|
|
|
|
return evt.isPhaseUsing();
|
|
|
|
|
});
|
|
|
|
|
if(history.length==0) return num+10*card.number;
|
|
|
|
|
var num=get.number(history[0].card);
|
|
|
|
|
if(!num) return;
|
|
|
|
|
for(var i=1;i<history.length;i++){
|
|
|
|
|
var num2=get.number(history[i].card);
|
|
|
|
|
if(!num2||num2>=num) return;
|
|
|
|
|
num=num2;
|
|
|
|
|
}
|
|
|
|
|
if(card.number<num) return num+10*card.number;
|
2020-04-25 05:40:05 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
filter:function (event,player){
|
|
|
|
|
var history=player.getHistory('useCard',function(evt){
|
|
|
|
|
return evt.isPhaseUsing();
|
|
|
|
|
});
|
|
|
|
|
if(history.length<2) return false;
|
|
|
|
|
var num=get.number(history[0].card);
|
|
|
|
|
if(!num) return false;
|
|
|
|
|
for(var i=1;i<history.length;i++){
|
|
|
|
|
var num2=get.number(history[i].card);
|
|
|
|
|
if(!num2||num2>=num) return false;
|
|
|
|
|
num=num2;
|
|
|
|
|
}
|
|
|
|
|
return true;
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
|
|
|
|
content:function (){
|
2020-03-25 12:27:23 +00:00
|
|
|
|
player.draw();
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
sub:true,
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
audio:2,
|
|
|
|
|
trigger:{
|
|
|
|
|
player:"phaseUseBegin",
|
|
|
|
|
},
|
|
|
|
|
direct:true,
|
|
|
|
|
content:function (){
|
|
|
|
|
'step 0'
|
|
|
|
|
var list=['递增','递减','取消'];
|
|
|
|
|
player.chooseControl(list).set('prompt',get.prompt2('xinfu_guanchao')).set('ai',function(){
|
|
|
|
|
return [0,1].randomGet();
|
|
|
|
|
});
|
|
|
|
|
'step 1'
|
|
|
|
|
switch(result.control){
|
|
|
|
|
case '递增':{
|
|
|
|
|
player.logSkill('xinfu_guanchao');
|
|
|
|
|
player.addTempSkill('xinfu_guanchao_dizeng','phaseUseEnd');
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case '递减':{
|
|
|
|
|
player.logSkill('xinfu_guanchao');
|
|
|
|
|
player.addTempSkill('xinfu_guanchao_dijian','phaseUseEnd');
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case '取消':{
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
},
|
|
|
|
|
"xinfu_xunxian":{
|
|
|
|
|
usable:1,
|
|
|
|
|
audio:2,
|
2019-08-07 15:38:38 +00:00
|
|
|
|
trigger:{
|
2020-03-25 12:27:23 +00:00
|
|
|
|
player:["useCardAfter","respond"],
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
|
|
|
|
filter:function (event,player){
|
2023-05-29 05:22:12 +00:00
|
|
|
|
if(get.itemtype(event.cards)!='cards') return false;
|
2020-03-25 12:27:23 +00:00
|
|
|
|
for(var i=0;i<event.cards.length;i++){
|
|
|
|
|
if(event.cards[i].isInPile()){
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2019-06-07 03:46:13 +00:00
|
|
|
|
}
|
|
|
|
|
return false;
|
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
direct:true,
|
2019-08-07 15:38:38 +00:00
|
|
|
|
content:function (){
|
2019-06-07 03:46:13 +00:00
|
|
|
|
'step 0'
|
2020-03-25 12:27:23 +00:00
|
|
|
|
player.chooseTarget(get.prompt2('xinfu_xunxian'),function(card,player,target){
|
2023-05-29 05:22:12 +00:00
|
|
|
|
if(target==player) return false;
|
|
|
|
|
return target.countCards('h')>player.countCards('h')||Math.max(0,target.hp)>Math.max(0,player.hp);
|
2020-03-25 12:27:23 +00:00
|
|
|
|
}).set('ai',function(target){
|
|
|
|
|
var att=get.attitude(_status.event.player,target);
|
|
|
|
|
if(att<3) return 0;
|
|
|
|
|
if(target.hasJudge('lebu')){
|
|
|
|
|
att/=5;
|
2019-06-07 03:46:13 +00:00
|
|
|
|
}
|
2020-03-25 12:27:23 +00:00
|
|
|
|
if(target.hasSha()&&_status.event.sha){
|
|
|
|
|
att/=5;
|
|
|
|
|
}
|
|
|
|
|
if(_status.event.wuxie&&target.needsToDiscard(1)){
|
|
|
|
|
att/=5;
|
|
|
|
|
}
|
|
|
|
|
return att/(1+get.distance(player,target,'absolute'));
|
|
|
|
|
}).set('sha',trigger.cards[0].name=='sha').set('wuxie',trigger.cards[0].name=='wuxie');
|
2019-06-07 03:46:13 +00:00
|
|
|
|
'step 1'
|
2020-03-25 12:27:23 +00:00
|
|
|
|
if(result.bool){
|
|
|
|
|
var list=[];
|
|
|
|
|
for(var i=0;i<trigger.cards.length;i++){
|
|
|
|
|
if(trigger.cards[i].isInPile()){
|
|
|
|
|
list.push(trigger.cards[i]);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
player.logSkill('xinfu_xunxian',result.targets[0]);
|
|
|
|
|
result.targets[0].gain(list,'gain2');
|
2019-06-07 03:46:13 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
2020-05-09 05:30:03 +00:00
|
|
|
|
ai:{
|
|
|
|
|
expose:0.3,
|
|
|
|
|
},
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
"xinfu_kannan":{
|
v1.9.122.3 (#146)
* change lib.init.parsex, Enable 'step' to be used through nesting
* Fixed an issue where nonstandard statement 'step 0' before standard statement 'step 0' would cause an error
* zhangshiping; tw_madai bug fix
* modify all the skills with incorrect "locked" tag
* Change the game.exit function to restart the app for WKWebview users using ios. And added the macintosh field to the judgment of lib.device
* various bug fix
* Revert "various bug fix"
This reverts commit ca7a363172a837af9244fca300d6a008cafc03ac.
* various bug fix
* some sudio
* unlock zhenghun, fix sbdiaochan
* add and adjust some audio, fix some bugs
* add trigger "useSkill" and "logSkillBegin"
* brand new wuxie
* Update standard.js
* update 武安国
* iriya!
* Add character lushi; fix clansankuang
* add 魏关羽/涛神,unlock 关宁/向朗/谋孙策/谋大乔/谋刘表,add related audio
* fix: adjust the edit box style to fix the text overflow problem 🐛
* fix 修文 and some other small bugs
* 伊莉雅·罗日杰斯特文斯卡娅
* Fix the issue of "game.getDB" and "game. deleteDB" reporting errors without "lib.db"
* Some browsers do not support "autoplay", so "onconplay" listening has been added
* sunwukong
* more zooms
* unlock 周善, modify 卢氏/卞喜/刘虞/黄祖/李采薇/张翼/笮融/孙寒华/TW董昭, fix some bug, add omitted audio
* change the number of 如意金箍棒 to 9 instead of 5; fix 夏侯尚's bug; add audio for sunwukong & donghailongwang
* Add the default accept value of '*/*' to the HTML selection file label
* longwang
* add&modify some audio
* add 族王凌/界SP黄月英/界张松/武诸葛亮,fix 晖云's bug; resolve conflicts, bring 武诸葛 up to date, fix 龙王's bug
* add 阮籍, add a skillTag in "jiu2" named jiuSustain for ruanji
* add some audio, sort some characters in sp
* sync 界SP黄月英
* add some character intros
* make 谋弈 play audio correctly
* revert some skills back to new ones
* v1.9.122.3
* Update update.js
---------
Co-authored-by: shijian <2954700422@qq.com>
Co-authored-by: copcap <copcap@outlook.com>
Co-authored-by: copcap <43802486+copcap@users.noreply.github.com>
Co-authored-by: PBK-B <pbk-b@PBK6.cn>
2023-06-30 15:06:19 +00:00
|
|
|
|
audio:2,
|
2020-03-25 12:27:23 +00:00
|
|
|
|
subSkill:{
|
|
|
|
|
phase:{
|
|
|
|
|
sub:true,
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
enable:"phaseUse",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
filter:function (event,player){
|
2020-03-25 12:27:23 +00:00
|
|
|
|
if(player.hasSkill('xinfu_kannan_phase')) return false;
|
|
|
|
|
if(player.getStat().skill.xinfu_kannan>=player.hp) return false;
|
|
|
|
|
return player.countCards('h')>0;
|
|
|
|
|
},
|
|
|
|
|
filterTarget:function (card,player,target){
|
|
|
|
|
if(target.hasSkill('xinfu_kannan_phase')) return false;
|
|
|
|
|
return player.canCompare(target);
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
order:function (){
|
|
|
|
|
return get.order({name:'sha'})+0.4;
|
|
|
|
|
},
|
|
|
|
|
result:{
|
|
|
|
|
target:function (player,target){
|
|
|
|
|
if(player.hasCard(function(card){
|
|
|
|
|
if(get.position(card)!="h") return false;
|
|
|
|
|
var val=get.value(card);
|
|
|
|
|
if(val<0) return true;
|
|
|
|
|
if(val<=5){
|
|
|
|
|
return card.number>=12;
|
|
|
|
|
}
|
|
|
|
|
if(val<=6){
|
|
|
|
|
return card.number>=13;
|
|
|
|
|
}
|
|
|
|
|
return false;
|
|
|
|
|
})) return -1;
|
|
|
|
|
return 0;
|
|
|
|
|
},
|
|
|
|
|
},
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2019-08-07 15:38:38 +00:00
|
|
|
|
content:function (){
|
2020-03-25 12:27:23 +00:00
|
|
|
|
'step 0'
|
|
|
|
|
player.chooseToCompare(target);
|
|
|
|
|
'step 1'
|
|
|
|
|
if(result.bool){
|
|
|
|
|
player.addTempSkill('xinfu_kannan_phase');
|
|
|
|
|
if(!player.hasSkill('kannan_eff')){
|
|
|
|
|
player.addSkill('kannan_eff');
|
|
|
|
|
}else{
|
|
|
|
|
if(!player.storage.kannan_eff) player.storage.kannan_eff=0;
|
2019-10-19 11:18:56 +00:00
|
|
|
|
}
|
2020-03-25 12:27:23 +00:00
|
|
|
|
player.storage.kannan_eff++;
|
|
|
|
|
player.markSkill('kannan_eff');
|
2019-10-19 11:18:56 +00:00
|
|
|
|
}
|
2020-03-25 12:27:23 +00:00
|
|
|
|
else{
|
|
|
|
|
target.addTempSkill('xinfu_kannan_phase');
|
|
|
|
|
if(!target.hasSkill('kannan_eff')){
|
|
|
|
|
target.addSkill('kannan_eff');
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
if(!target.storage.kannan_eff) player.storage.kannan_eff=0;
|
|
|
|
|
//target.storage.kannan_eff++;
|
|
|
|
|
//target.markSkill('kannan_eff');
|
|
|
|
|
}
|
|
|
|
|
target.storage.kannan_eff++;
|
|
|
|
|
target.markSkill('kannan_eff');
|
2019-10-19 11:18:56 +00:00
|
|
|
|
}
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
"kannan_eff":{
|
|
|
|
|
mark:true,
|
|
|
|
|
intro:{
|
|
|
|
|
content:"下一张杀的伤害基数+#",
|
|
|
|
|
},
|
2019-08-07 15:38:38 +00:00
|
|
|
|
trigger:{
|
2020-03-25 12:27:23 +00:00
|
|
|
|
player:"useCard",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
filter:function (event){
|
|
|
|
|
return event.card&&event.card.name=='sha';
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
forced:true,
|
2019-08-07 15:38:38 +00:00
|
|
|
|
content:function (){
|
2020-03-25 12:27:23 +00:00
|
|
|
|
if(!trigger.baseDamage) trigger.baseDamage=1;
|
|
|
|
|
trigger.baseDamage+=player.storage.kannan_eff;
|
|
|
|
|
player.removeSkill('kannan_eff');
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
init:function (player){
|
|
|
|
|
player.storage.kannan_eff=0;
|
|
|
|
|
},
|
|
|
|
|
onremove:function (player){
|
|
|
|
|
delete player.storage.kannan_eff;
|
|
|
|
|
},
|
|
|
|
|
ai:{
|
|
|
|
|
damageBonus:true,
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
"xinfu_tushe":{
|
|
|
|
|
audio:2,
|
2019-08-07 15:38:38 +00:00
|
|
|
|
trigger:{
|
2020-03-25 12:27:23 +00:00
|
|
|
|
player:"useCardToPlayered",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
frequent:true,
|
2019-08-07 15:38:38 +00:00
|
|
|
|
filter:function (event,player){
|
2020-03-25 12:27:23 +00:00
|
|
|
|
if(get.type(event.card)=='equip') return false;
|
|
|
|
|
if(event.getParent().triggeredTargets3.length>1) return false;
|
|
|
|
|
return event.targets.length>0&&!player.countCards('h',{type:'basic',});
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2019-08-07 15:38:38 +00:00
|
|
|
|
content:function (){
|
2020-03-25 12:27:23 +00:00
|
|
|
|
player.draw(trigger.targets.length);
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2019-08-07 15:38:38 +00:00
|
|
|
|
ai:{
|
2020-03-25 12:27:23 +00:00
|
|
|
|
presha:true,
|
|
|
|
|
pretao:true,
|
|
|
|
|
threaten:1.8,
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
"xinfu_limu":{
|
|
|
|
|
mod:{
|
|
|
|
|
targetInRange:function (card,player,target){
|
|
|
|
|
if(player.countCards('j')&&player.inRange(target)){
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
},
|
2020-10-30 04:51:00 +00:00
|
|
|
|
cardUsableTarget:function(card,player,target){
|
|
|
|
|
if(player.countCards('j')&&player.inRange(target)) return true;
|
2020-03-25 12:27:23 +00:00
|
|
|
|
},
|
|
|
|
|
aiValue:function(player,card,num){
|
|
|
|
|
if(card.name=='zhangba') return 15;
|
2021-05-18 07:57:26 +00:00
|
|
|
|
if(player.getEquip('zhangba')&&player.countCards('hs')>1&&['shan','tao'].contains(card.name)) return 0;
|
2020-03-27 05:30:48 +00:00
|
|
|
|
if(card.name=='shan'||card.name=='tao') return num/2;
|
2020-03-25 12:27:23 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
locked:false,
|
|
|
|
|
audio:2,
|
|
|
|
|
enable:"phaseUse",
|
|
|
|
|
discard:false,
|
2019-08-07 15:38:38 +00:00
|
|
|
|
filter:function (event,player){
|
2020-03-25 12:27:23 +00:00
|
|
|
|
if(player.hasJudge('lebu')) return false;
|
2021-05-18 07:57:26 +00:00
|
|
|
|
return player.countCards('hes',{suit:'diamond'})>0;
|
2019-06-07 03:46:13 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
viewAs:{name:'lebu'},
|
|
|
|
|
//prepare:"throw",
|
2021-05-18 07:57:26 +00:00
|
|
|
|
position:"hes",
|
2020-03-25 12:27:23 +00:00
|
|
|
|
filterCard:function(card,player,event){
|
|
|
|
|
return get.suit(card)=='diamond'&&player.canAddJudge({name:'lebu',cards:[card]});
|
|
|
|
|
},
|
|
|
|
|
selectTarget:-1,
|
|
|
|
|
filterTarget:function (card,player,target){
|
|
|
|
|
return player==target;
|
|
|
|
|
},
|
|
|
|
|
check:function(card){
|
|
|
|
|
var player=_status.event.player;
|
2021-05-18 07:57:26 +00:00
|
|
|
|
if(!player.getEquip('zhangba')&&player.countCards('hs','sha')<2){
|
2020-10-15 05:41:31 +00:00
|
|
|
|
if(player.countCards('h',function(cardx){
|
|
|
|
|
return cardx!=card&&cardx.name=='shan';
|
|
|
|
|
})>0) return 0;
|
|
|
|
|
var damaged=player.maxHp-player.hp-1;
|
|
|
|
|
var ts=player.countCards('h',function(cardx){
|
|
|
|
|
return cardx!=card&&cardx.name=='tao';
|
|
|
|
|
});
|
|
|
|
|
if(ts>0&&ts>damaged) return 0;
|
2020-03-25 12:27:23 +00:00
|
|
|
|
}
|
|
|
|
|
if(card.name=='shan') return 15;
|
|
|
|
|
if(card.name=='tao') return 10;
|
|
|
|
|
return 9-get.value(card);
|
|
|
|
|
},
|
|
|
|
|
onuse:function (links,player){
|
|
|
|
|
var next=game.createEvent('limu_recover',false,_status.event.getParent());
|
|
|
|
|
next.player=player;
|
|
|
|
|
next.setContent(function(){player.recover()});
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
|
|
|
|
ai:{
|
2020-03-25 12:27:23 +00:00
|
|
|
|
result:{
|
|
|
|
|
target:1,
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
2020-03-25 12:27:23 +00:00
|
|
|
|
order:12,
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
2022-09-02 14:37:30 +00:00
|
|
|
|
characterReplace:{
|
2023-03-31 11:34:38 +00:00
|
|
|
|
duji:['re_duji','duji','ns_duji'],
|
2022-10-28 08:39:59 +00:00
|
|
|
|
sp_taishici:['re_sp_taishici','sp_taishici'],
|
2023-03-04 15:17:30 +00:00
|
|
|
|
mazhong:['mazhong','re_mazhong'],
|
2023-03-31 11:34:38 +00:00
|
|
|
|
wenpin:['re_wenpin','wenpin'],
|
v1.9.123 (#158)
* change lib.init.parsex, Enable 'step' to be used through nesting
* Fixed an issue where nonstandard statement 'step 0' before standard statement 'step 0' would cause an error
* zhangshiping; tw_madai bug fix
* modify all the skills with incorrect "locked" tag
* Change the game.exit function to restart the app for WKWebview users using ios. And added the macintosh field to the judgment of lib.device
* various bug fix
* Revert "various bug fix"
This reverts commit ca7a363172a837af9244fca300d6a008cafc03ac.
* various bug fix
* some sudio
* unlock zhenghun, fix sbdiaochan
* add and adjust some audio, fix some bugs
* add trigger "useSkill" and "logSkillBegin"
* brand new wuxie
* Update standard.js
* update 武安国
* iriya!
* Add character lushi; fix clansankuang
* add 魏关羽/涛神,unlock 关宁/向朗/谋孙策/谋大乔/谋刘表,add related audio
* fix: adjust the edit box style to fix the text overflow problem 🐛
* fix 修文 and some other small bugs
* 伊莉雅·罗日杰斯特文斯卡娅
* Fix the issue of "game.getDB" and "game. deleteDB" reporting errors without "lib.db"
* Some browsers do not support "autoplay", so "onconplay" listening has been added
* sunwukong
* more zooms
* unlock 周善, modify 卢氏/卞喜/刘虞/黄祖/李采薇/张翼/笮融/孙寒华/TW董昭, fix some bug, add omitted audio
* change the number of 如意金箍棒 to 9 instead of 5; fix 夏侯尚's bug; add audio for sunwukong & donghailongwang
* Add the default accept value of '*/*' to the HTML selection file label
* longwang
* add&modify some audio
* add 族王凌/界SP黄月英/界张松/武诸葛亮,fix 晖云's bug; resolve conflicts, bring 武诸葛 up to date, fix 龙王's bug
* add 阮籍, add a skillTag in "jiu2" named jiuSustain for ruanji
* add some audio, sort some characters in sp
* sync 界SP黄月英
* add some character intros
* make 谋弈 play audio correctly
* revert some skills back to new ones
* v1.9.122.3
* Update update.js
* Add files via upload
* Add files via upload
* UI fix, Pinyin
* 李白
* Add files via upload
* Add files via upload
* collab pack, shen_dengai
* 朱铁雄, 小约翰可汗, 铜雀台补全
* small change
* 新增阮籍语音,修复阮籍的一个bug
* 添加族王凌和界孙登的语音
* 调整火攻和雌雄剑效果为只有1牌/0牌的时候直接亮出/令摸牌;新增一些语音
* 添加武诸葛、神邓艾配音
* 更新武诸葛、袁姬技能,bug修复
* 新增严纲、公孙范、乐蔡文姬、OL王朗,bug修复,添加相关语音
* 添加十周年地主相关语音,修复张世平的一个AIbug
* 修改intro的一个问题
* collab AI
* 新增OL界二张、甘夫人糜夫人,线下小杀小闪小酒小桃小乐;解禁刘宠骆俊
* v1.9.123 update info
---------
Co-authored-by: shijian <2954700422@qq.com>
Co-authored-by: copcap <copcap@outlook.com>
Co-authored-by: copcap <43802486+copcap@users.noreply.github.com>
Co-authored-by: PBK-B <pbk-b@PBK6.cn>
Co-authored-by: lieren2023 <131325076+lieren2023@users.noreply.github.com>
2023-07-14 15:04:55 +00:00
|
|
|
|
liuyan:['jsrg_liuyan','ol_liuyan','liuyan'],
|
2022-09-02 14:37:30 +00:00
|
|
|
|
},
|
2019-08-07 15:38:38 +00:00
|
|
|
|
translate:{
|
|
|
|
|
xinghuoliaoyuan:'星火燎原',
|
2020-02-06 11:51:46 +00:00
|
|
|
|
"sp_taishici":"SP太史慈",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
wangcan:"王粲",
|
2020-02-06 11:51:46 +00:00
|
|
|
|
"re_jsp_pangtong":"SP庞统",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
lvdai:"吕岱",
|
|
|
|
|
"re_zhangliang":"张梁",
|
|
|
|
|
lvqian:"吕虔",
|
|
|
|
|
panjun:"潘濬",
|
|
|
|
|
duji:"杜畿",
|
|
|
|
|
zhoufang:"周鲂",
|
|
|
|
|
yanjun:"严畯",
|
|
|
|
|
liuyao:"刘繇",
|
|
|
|
|
liuyan:"刘焉",
|
|
|
|
|
"xinfu_guolun":"过论",
|
2020-03-05 13:10:37 +00:00
|
|
|
|
"xinfu_guolun_info":"出牌阶段限一次,你可以展示一名其他角色的手牌,然后展示你的一张牌。你与其交换这两张牌,然后展示的牌点数较小的角色摸一张牌。",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
"xinfu_zhanji":"展骥",
|
2023-09-12 17:28:01 +00:00
|
|
|
|
"xinfu_zhanji_info":"锁定技。你的出牌阶段内,当你因摸牌且不是因为此技能效果而得到牌后,你摸一张牌。",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
"xinfu_songsang":"送丧",
|
2020-03-05 13:10:37 +00:00
|
|
|
|
"xinfu_songsang_info":"限定技,其他角色死亡时,你可以回复一点体力(若你未受伤,则改为加一点体力上限);然后获得技能〖展骥〗。",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
"xinfu_jixu":"击虚",
|
2020-03-05 13:10:37 +00:00
|
|
|
|
"xinfu_jixu_info":"出牌阶段限一次,若你有手牌,你可以令任意名体力值相等的其他角色猜测你的手牌中是否有【杀】。然后,你摸X张牌(X为猜错的角色数)。若你有【杀】,则你本回合内使用【杀】时,所有这些角色均成为【杀】的目标;若你没有【杀】,则你弃置所有这些角色的各一张牌。若X为零,你结束出牌阶段。",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
"jixu_sha":"击虚",
|
|
|
|
|
"jixu_sha_info":"",
|
|
|
|
|
"xinfu_sanwen":"散文",
|
2023-09-12 17:28:01 +00:00
|
|
|
|
"xinfu_sanwen_info":"每回合限一次。当你得到牌后,若你的原手牌中有与这些牌名称相同的牌,则你可以展示这些牌,弃置新得到的同名牌并摸两倍的牌。",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
"xinfu_qiai":"七哀",
|
|
|
|
|
"xinfu_qiai_info":"限定技,当你进入濒死状态时,你可以令所有其他角色依次交给你一张牌。",
|
|
|
|
|
"xinfu_denglou":"登楼",
|
|
|
|
|
"xinfu_denglou_info":"限定技,结束阶段,若你没有手牌,则你可以观看牌堆顶的四张牌,依次使用其中的所有基本牌(不能使用则弃置),然后获得其余的牌。",
|
|
|
|
|
"qinguo_use":"勤国",
|
|
|
|
|
"qinguo_use_info":"",
|
|
|
|
|
"xinfu_qinguo":"勤国",
|
2020-03-05 13:10:37 +00:00
|
|
|
|
"xinfu_qinguo_info":"当你使用的装备牌结算完成时,你可以视为使用一张【杀】;当你因使用或失去装备牌导致装备区内牌的数量发生变化后,若你装备区内牌的数量等于你的体力值,则你回复1点体力。",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
"qinguo_lose":"勤国",
|
|
|
|
|
"qinguo_lose_info":"",
|
|
|
|
|
"xinfu_jijun":"集军",
|
2020-03-05 13:10:37 +00:00
|
|
|
|
"xinfu_jijun_info":"当你于回合内使用非装备牌或武器牌指定目标后,若你是此牌的目标,你可以进行一次判定。然后,你将判定牌置于自己的武将牌上,称之为「方」。",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
"xinfu_fangtong":"方统",
|
|
|
|
|
"xinfu_fangtong_info":"结束阶段,你可以弃置总点数之和为36的一张牌与任意张「方」,并对一名其他角色造成3点雷电伤害。",
|
|
|
|
|
"xinfu_weilu":"威虏",
|
|
|
|
|
"xinfu_weilu_info":"锁定技,当你受到伤害后,伤害来源获得一枚「虏」。你的下个出牌阶段开始时,所有有「虏」的角色将体力失去至1点。此阶段结束后,这些角色回复以此法失去的体力。",
|
|
|
|
|
"weilu_effect":"威虏",
|
|
|
|
|
"weilu_effect_info":"",
|
|
|
|
|
"weilu_effect2":"威虏",
|
|
|
|
|
"weilu_effect2_info":"",
|
|
|
|
|
"xinfu_zengdao":"赠刀",
|
2023-02-22 05:47:10 +00:00
|
|
|
|
"xinfu_zengdao_info":"限定技,出牌阶段,你可以将装备区内的任意张牌置于一名其他角色的武将牌旁,称之为“刀”。该角色造成伤害时,其须移去一张“刀”,然后此伤害+1。",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
"xinfu_zengdao2":"赠刀",
|
|
|
|
|
"xinfu_zengdao2_info":"",
|
|
|
|
|
"xinfu_guanwei":"观微",
|
2023-07-19 19:54:40 +00:00
|
|
|
|
"xinfu_guanwei_info":"每回合限一次。一名角色的出牌阶段结束时,若其本回合使用过两张以上的牌且这些牌均有花色且花色均相同,则你可以弃置一张牌,令其摸两张牌并进行一个额外的出牌阶段。",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
"xinfu_gongqing":"公清",
|
|
|
|
|
"xinfu_gongqing_info":"锁定技。当你受到伤害时,若伤害来源的攻击范围:<3,则你令此伤害的数值减为1。>3,你令此伤害+1。",
|
|
|
|
|
"xinfu_andong":"安东",
|
2020-03-05 13:10:37 +00:00
|
|
|
|
"xinfu_andong_info":"当你受到伤害时,你可以令伤害来源选择一项:1.令你观看其的手牌并获得其中的所有红桃牌;2.防止此伤害,然后其本回合内的红桃手牌不计入手牌上限。",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
"xinfu_yingshi":"应势",
|
2023-08-14 17:44:55 +00:00
|
|
|
|
"xinfu_yingshi_info":"出牌阶段开始时,若场上的所有角色均没有「酬」,则你可以将所有的红桃牌置于一名其他角色的武将牌旁,称之为「酬」。有「酬」的角色受到【杀】的伤害后/死亡时,伤害来源/你获得其中的一张/所有的「酬」。",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
"yingshi_heart":"应势",
|
|
|
|
|
"yingshi_heart_info":"",
|
|
|
|
|
"yingshi_die":"应势",
|
|
|
|
|
"yingshi_die_info":"",
|
|
|
|
|
"xinfu_duanfa":"断发",
|
2020-03-05 13:10:37 +00:00
|
|
|
|
"xinfu_duanfa_info":"出牌阶段,你可以弃置任意张黑色牌,然后摸等量的牌。(每回合内限X张,X为你的体力上限)",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
"xinfu_youdi":"诱敌",
|
|
|
|
|
"xinfu_youdi_info":"结束阶段开始时,你可以令一名其他角色弃置你的一张手牌,若此牌:不为黑色,你摸一张牌。不为【杀】,你获得该角色的一张牌。",
|
|
|
|
|
"xinfu_guanchao":"观潮",
|
2020-03-05 13:10:37 +00:00
|
|
|
|
"xinfu_guanchao_info":"出牌阶段开始时,你可以选择获得一项效果直到回合结束:1.当你使用牌时,若你此阶段使用过的所有牌的点数为递增,你摸一张牌;2.当你使用牌时,若你此阶段使用过的所有牌的点数为递减,你摸一张牌。",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
"xinfu_xunxian":"逊贤",
|
2023-05-29 05:22:12 +00:00
|
|
|
|
"xinfu_xunxian_info":"每回合限一次。当你使用或打出的牌结算完成后,你可以将其对应的所有实体牌交给一名手牌数或体力值大于你的角色。",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
"xinfu_kannan":"戡难",
|
|
|
|
|
"xinfu_kannan_info":"出牌阶段限X次,你可以与一名本回合内未成为过〖戡难〗目标的角色拼点。若你赢,你使用的下一张【杀】的伤害值基数+1,且你本回合内不能再发动〖戡难〗。若你没赢,其使用的下一张【杀】的伤害值基数+1。(X为你的体力值)。",
|
|
|
|
|
"kannan_eff":"戡难",
|
|
|
|
|
"kannan_eff_info":"",
|
|
|
|
|
"xinfu_tushe":"图射",
|
2020-03-05 13:10:37 +00:00
|
|
|
|
"xinfu_tushe_info":"当你使用非装备牌指定目标后,若你没有基本牌,则你可以摸X张牌。(X为此牌指定的目标数)",
|
2019-08-07 15:38:38 +00:00
|
|
|
|
"xinfu_limu":"立牧",
|
v1.9.123 (#158)
* change lib.init.parsex, Enable 'step' to be used through nesting
* Fixed an issue where nonstandard statement 'step 0' before standard statement 'step 0' would cause an error
* zhangshiping; tw_madai bug fix
* modify all the skills with incorrect "locked" tag
* Change the game.exit function to restart the app for WKWebview users using ios. And added the macintosh field to the judgment of lib.device
* various bug fix
* Revert "various bug fix"
This reverts commit ca7a363172a837af9244fca300d6a008cafc03ac.
* various bug fix
* some sudio
* unlock zhenghun, fix sbdiaochan
* add and adjust some audio, fix some bugs
* add trigger "useSkill" and "logSkillBegin"
* brand new wuxie
* Update standard.js
* update 武安国
* iriya!
* Add character lushi; fix clansankuang
* add 魏关羽/涛神,unlock 关宁/向朗/谋孙策/谋大乔/谋刘表,add related audio
* fix: adjust the edit box style to fix the text overflow problem 🐛
* fix 修文 and some other small bugs
* 伊莉雅·罗日杰斯特文斯卡娅
* Fix the issue of "game.getDB" and "game. deleteDB" reporting errors without "lib.db"
* Some browsers do not support "autoplay", so "onconplay" listening has been added
* sunwukong
* more zooms
* unlock 周善, modify 卢氏/卞喜/刘虞/黄祖/李采薇/张翼/笮融/孙寒华/TW董昭, fix some bug, add omitted audio
* change the number of 如意金箍棒 to 9 instead of 5; fix 夏侯尚's bug; add audio for sunwukong & donghailongwang
* Add the default accept value of '*/*' to the HTML selection file label
* longwang
* add&modify some audio
* add 族王凌/界SP黄月英/界张松/武诸葛亮,fix 晖云's bug; resolve conflicts, bring 武诸葛 up to date, fix 龙王's bug
* add 阮籍, add a skillTag in "jiu2" named jiuSustain for ruanji
* add some audio, sort some characters in sp
* sync 界SP黄月英
* add some character intros
* make 谋弈 play audio correctly
* revert some skills back to new ones
* v1.9.122.3
* Update update.js
* Add files via upload
* Add files via upload
* UI fix, Pinyin
* 李白
* Add files via upload
* Add files via upload
* collab pack, shen_dengai
* 朱铁雄, 小约翰可汗, 铜雀台补全
* small change
* 新增阮籍语音,修复阮籍的一个bug
* 添加族王凌和界孙登的语音
* 调整火攻和雌雄剑效果为只有1牌/0牌的时候直接亮出/令摸牌;新增一些语音
* 添加武诸葛、神邓艾配音
* 更新武诸葛、袁姬技能,bug修复
* 新增严纲、公孙范、乐蔡文姬、OL王朗,bug修复,添加相关语音
* 添加十周年地主相关语音,修复张世平的一个AIbug
* 修改intro的一个问题
* collab AI
* 新增OL界二张、甘夫人糜夫人,线下小杀小闪小酒小桃小乐;解禁刘宠骆俊
* v1.9.123 update info
---------
Co-authored-by: shijian <2954700422@qq.com>
Co-authored-by: copcap <copcap@outlook.com>
Co-authored-by: copcap <43802486+copcap@users.noreply.github.com>
Co-authored-by: PBK-B <pbk-b@PBK6.cn>
Co-authored-by: lieren2023 <131325076+lieren2023@users.noreply.github.com>
2023-07-14 15:04:55 +00:00
|
|
|
|
"xinfu_limu_info":"出牌阶段,你可以将一张♦牌当做【乐不思蜀】对自己使用,然后回复1点体力。只要你的判定区内有牌,你对攻击范围内的其他角色使用牌便没有次数和距离限制。",
|
2021-10-26 13:24:26 +00:00
|
|
|
|
xinyingshi:'应势',
|
|
|
|
|
xinyingshi_info:'出牌阶段开始时,若场上所有角色的武将牌上均没有“酬”,则你可以将任意张牌置于一名角色的武将牌上,称为“酬”。若如此做:当有角色使用牌对有“酬”的角色造成伤害后,其可以获得一张“酬”,并获得牌堆中所有与“酬”花色点数均相同的牌;有“酬”的角色死亡时,你获得其所有“酬”。',
|
2019-08-07 15:38:38 +00:00
|
|
|
|
},
|
|
|
|
|
};
|
2019-06-07 03:46:13 +00:00
|
|
|
|
});
|