commit
b578aac2b1
|
@ -204,7 +204,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
hujinding:'胡金定,女,传说中关羽之妻。关索之母,配偶关羽,出处《花关索传》和元代《三国志评话》民间传说人物。',
|
hujinding:'胡金定,女,传说中关羽之妻。关索之母,配偶关羽,出处《花关索传》和元代《三国志评话》民间传说人物。',
|
||||||
},
|
},
|
||||||
characterTitle:{
|
characterTitle:{
|
||||||
sp_jianggan:'#b对决限定武将',
|
|
||||||
},
|
},
|
||||||
card:{
|
card:{
|
||||||
ly_piliche:{
|
ly_piliche:{
|
||||||
|
@ -385,9 +384,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
if(mode=='versus') return _status.mode!='three';
|
if(mode=='versus') return _status.mode!='three';
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
sp_jianggan:function(mode){
|
|
||||||
return mode!='identity'&&mode!='guozhan';
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
skill:{
|
skill:{
|
||||||
//十常侍
|
//十常侍
|
||||||
|
@ -870,7 +866,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
},
|
},
|
||||||
content:function(){
|
content:function(){
|
||||||
'step 0'
|
'step 0'
|
||||||
var next=player.choosePlayerCard(trigger.target,'he',[1,2],get.prompt('scschiyan',trigger.target));
|
var next=player.choosePlayerCard(trigger.target,'he',get.prompt('scschiyan',trigger.target));
|
||||||
next.set('ai',function(button){
|
next.set('ai',function(button){
|
||||||
if(!_status.event.goon) return 0;
|
if(!_status.event.goon) return 0;
|
||||||
var val=get.value(button.link);
|
var val=get.value(button.link);
|
||||||
|
@ -1053,7 +1049,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
target.skip('phaseDraw');
|
target.skip('phaseDraw');
|
||||||
target.addTempSkill('scsyaozhuo_skip',{player:'phaseDrawSkipped'});
|
target.addTempSkill('scsyaozhuo_skip',{player:'phaseDrawSkipped'});
|
||||||
}
|
}
|
||||||
else player.chooseToDiscard(true,'he');
|
else player.chooseToDiscard(2,true,'he');
|
||||||
},
|
},
|
||||||
subSkill:{
|
subSkill:{
|
||||||
skip:{
|
skip:{
|
||||||
|
@ -1086,17 +1082,17 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
usable:1,
|
usable:1,
|
||||||
content:function(){
|
content:function(){
|
||||||
'step 0'
|
'step 0'
|
||||||
player.draw(3);
|
player.draw(2);
|
||||||
'step 1'
|
'step 1'
|
||||||
var num=player.countCards('he');
|
var num=player.countCards('he');
|
||||||
if(!num) event.finish();
|
if(!num) event.finish();
|
||||||
else if(num<3) event._result={index:1};
|
else if(num<2) event._result={index:1};
|
||||||
else player.chooseControl().set('choiceList',[
|
else player.chooseControl().set('choiceList',[
|
||||||
'将三张牌交给一名其他角色',
|
'将两张牌交给一名其他角色',
|
||||||
'弃置三张牌',
|
'弃置两张牌',
|
||||||
]).set('ai',function(){
|
]).set('ai',function(){
|
||||||
if(game.hasPlayer(function(current){
|
if(game.hasPlayer(function(current){
|
||||||
return current!=player&&get.attitude(player,current)>2;
|
return current!=player&&get.attitude(player,current)>0;
|
||||||
})) return 0;
|
})) return 0;
|
||||||
return 1;
|
return 1;
|
||||||
});
|
});
|
||||||
|
@ -1105,7 +1101,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
player.chooseCardTarget({
|
player.chooseCardTarget({
|
||||||
position:'he',
|
position:'he',
|
||||||
filterCard:true,
|
filterCard:true,
|
||||||
selectCard:3,
|
selectCard:2,
|
||||||
filterTarget:function(card,player,target){
|
filterTarget:function(card,player,target){
|
||||||
return player!=target;
|
return player!=target;
|
||||||
},
|
},
|
||||||
|
@ -1118,12 +1114,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
if(target.hasJudge('lebu')) att/=5;
|
if(target.hasJudge('lebu')) att/=5;
|
||||||
return att;
|
return att;
|
||||||
},
|
},
|
||||||
prompt:'选择三张牌,交给一名其他角色',
|
prompt:'选择两张牌,交给一名其他角色',
|
||||||
forced:true,
|
forced:true,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
player.chooseToDiscard(3,true,'he');
|
player.chooseToDiscard(2,true,'he');
|
||||||
event.finish();
|
event.finish();
|
||||||
}
|
}
|
||||||
'step 3'
|
'step 3'
|
||||||
|
@ -3404,17 +3400,21 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
},
|
},
|
||||||
//蒋干
|
//蒋干
|
||||||
spdaoshu:{
|
spdaoshu:{
|
||||||
audio:2,
|
audio:3,
|
||||||
|
group:'spdaoshu_effect',
|
||||||
|
subSkill:{
|
||||||
|
effect:{
|
||||||
|
audio:'spdaoshu1',
|
||||||
trigger:{global:'phaseUseBegin'},
|
trigger:{global:'phaseUseBegin'},
|
||||||
round:1,
|
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
return event.player.isEnemyOf(player)&&event.player.countCards('h')>0&&event.player.hasUseTarget({name:'jiu',isCard:true},null,true);
|
var goon=(event.player!=player&&(get.mode()=='identity'||get.mode()=='guozhan'||event.player.isEnemyOf(player)));
|
||||||
|
return goon&&event.player.countCards('h')>0&&event.player.hasUseTarget({name:'jiu',isCard:true},null,true);
|
||||||
},
|
},
|
||||||
|
round:1,
|
||||||
logTarget:'player',
|
logTarget:'player',
|
||||||
prompt2:'令其视为使用一张【酒】。其声明一个基本牌的牌名,然后你判断其手牌区内是否有该牌名的牌。若你判断正确,则你随机获得其五张手牌,否则你不能响应其使用的牌直到回合结束。',
|
prompt2:()=>lib.translate.spdaoshu_info,
|
||||||
check:function(event,player){
|
check:function(event,player){
|
||||||
var target=event.player;
|
var target=event.player;
|
||||||
if(target.countCards('h')<3) return false;
|
|
||||||
var att=get.attitude(player,target);
|
var att=get.attitude(player,target);
|
||||||
if(att>0) return false;
|
if(att>0) return false;
|
||||||
if(att==0) return !player.inRangeOf(target);
|
if(att==0) return !player.inRangeOf(target);
|
||||||
|
@ -3465,17 +3465,25 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
},'h'));
|
},'h'));
|
||||||
if(bool1==bool2){
|
if(bool1==bool2){
|
||||||
player.popup('判断正确','wood');
|
player.popup('判断正确','wood');
|
||||||
var cards=target.getCards('h',function(card){
|
game.broadcastAll(function(){
|
||||||
return lib.filter.canBeGained(card,player,target);
|
if(lib.config.background_speak) game.playAudio('skill','spdaoshu2');
|
||||||
}).randomGets(5);
|
});
|
||||||
if(cards.length>0) player.gain(cards,target,'giveAuto','bySelf');
|
player.gainPlayerCard(target,'h',2,true);
|
||||||
|
//var cards=target.getCards('h',function(card){
|
||||||
|
// return lib.filter.canBeGained(card,player,target);
|
||||||
|
//}).randomGets(5);
|
||||||
|
//if(cards.length>0) player.gain(cards,target,'giveAuto','bySelf');
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
player.popup('判断错误','fire');
|
player.popup('判断错误','fire');
|
||||||
player.addTempSkill('spdaoshu_respond');
|
game.broadcastAll(function(){
|
||||||
|
if(lib.config.background_speak) game.playAudio('skill','spdaoshu3');
|
||||||
|
});
|
||||||
|
//player.addTempSkill('spdaoshu_respond');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
subSkill:{
|
ai:{expose:0.3},
|
||||||
|
},
|
||||||
respond:{
|
respond:{
|
||||||
trigger:{global:'useCard1'},
|
trigger:{global:'useCard1'},
|
||||||
forced:true,
|
forced:true,
|
||||||
|
@ -3489,6 +3497,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
spdaoshu1:{audio:true},
|
||||||
spdaizui:{
|
spdaizui:{
|
||||||
audio:2,
|
audio:2,
|
||||||
trigger:{player:'damageBegin2'},
|
trigger:{player:'damageBegin2'},
|
||||||
|
@ -8759,7 +8768,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
},
|
},
|
||||||
content:function(){
|
content:function(){
|
||||||
'step 0'
|
'step 0'
|
||||||
player.chooseCard('he',get.prompt2('duoduan')).set('ai',function(card){
|
player.chooseCard('he',get.prompt2('duoduan'),lib.filter.cardRecastable).set('ai',function(card){
|
||||||
if(_status.event.goon) return 8-get.value(card);
|
if(_status.event.goon) return 8-get.value(card);
|
||||||
return 0;
|
return 0;
|
||||||
}).set('goon',function(){
|
}).set('goon',function(){
|
||||||
|
@ -8771,12 +8780,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
'step 1'
|
'step 1'
|
||||||
if(result.bool){
|
if(result.bool){
|
||||||
player.addTempSkill('duoduan_im');
|
player.addTempSkill('duoduan_im');
|
||||||
var card=result.cards[0];
|
|
||||||
player.logSkill('duoduan',trigger.player);
|
player.logSkill('duoduan',trigger.player);
|
||||||
player.lose(card,ui.discardPile,'visible');
|
player.recast(result.cards);
|
||||||
player.$throw(card,1000);
|
|
||||||
game.log(player,'将',card,'置入弃牌堆');
|
|
||||||
player.draw();
|
|
||||||
}
|
}
|
||||||
else event.finish();
|
else event.finish();
|
||||||
'step 2'
|
'step 2'
|
||||||
|
@ -11854,31 +11859,19 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
prompt:"重铸一张防具牌,然后将体力回复至1点。",
|
prompt:"重铸一张防具牌,然后将体力回复至1点。",
|
||||||
audio:'xinfu_jingxie',
|
audio:'xinfu_jingxie',
|
||||||
enable:"chooseToUse",
|
enable:"chooseToUse",
|
||||||
filterCard:function(card){
|
filterCard:(card,player)=>get.subtype(card)=='equip2'&&player.canRecast(card),
|
||||||
return get.subtype(card)=='equip2';
|
filter:(event,player)=>{
|
||||||
},
|
if(event.type!='dying') return false;
|
||||||
filter:function(event,player){
|
|
||||||
if(event.type=='dying'){
|
|
||||||
if(player!=event.dying) return false;
|
if(player!=event.dying) return false;
|
||||||
return player.countCards('he',function(card){
|
return player.hasCard(card=>lib.skill.xinfu_jingxie2.filterCard(card,player),lib.skill.xinfu_jingxie2.position);
|
||||||
return get.subtype(card)=='equip2';
|
|
||||||
})>0;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
},
|
|
||||||
check:function(){
|
|
||||||
return 1;
|
|
||||||
},
|
},
|
||||||
position:"he",
|
position:"he",
|
||||||
discard:false,
|
discard:false,
|
||||||
loseTo:'discardPile',
|
lose:false,
|
||||||
prepare:function(cards,player){
|
delay:false,
|
||||||
player.$throw(cards,1000);
|
|
||||||
game.log(player,'将',cards,'置入了弃牌堆')
|
|
||||||
},
|
|
||||||
content:function(){
|
content:function(){
|
||||||
'step 0'
|
'step 0'
|
||||||
player.draw();
|
player.recast(cards);
|
||||||
'step 1'
|
'step 1'
|
||||||
var num=1-player.hp;
|
var num=1-player.hp;
|
||||||
if(num) player.recover(num);
|
if(num) player.recover(num);
|
||||||
|
@ -11887,10 +11880,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
order:0.5,
|
order:0.5,
|
||||||
skillTagFilter:function(player,arg,target){
|
skillTagFilter:function(player,arg,target){
|
||||||
if(player!=target) return false;
|
if(player!=target) return false;
|
||||||
return player.countCards('he',function(card){
|
return player.hasCard(card=>_status.connectMode&&get.position(card)=='h'||get.subtype(card)=='equip2'&&player.canRecast(card),'he');
|
||||||
if(_status.connectMode&&get.position(card)=='h') return true;
|
|
||||||
return get.subtype(card)=='equip2';
|
|
||||||
})>0;
|
|
||||||
},
|
},
|
||||||
save:true,
|
save:true,
|
||||||
result:{
|
result:{
|
||||||
|
@ -13557,7 +13547,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
juezhi_info:'出牌阶段,你可以弃置至少两张牌,然后从牌堆中获得一张点数为X的牌(X为这些牌的点数和除以13后的余数,且当余数为0时X为13)。',
|
juezhi_info:'出牌阶段,你可以弃置至少两张牌,然后从牌堆中获得一张点数为X的牌(X为这些牌的点数和除以13后的余数,且当余数为0时X为13)。',
|
||||||
sp_jianggan:'手杀蒋干',
|
sp_jianggan:'手杀蒋干',
|
||||||
spdaoshu:'盗书',
|
spdaoshu:'盗书',
|
||||||
spdaoshu_info:'每轮限一次。一名敌方角色的出牌阶段开始时,若其有手牌,则你可以令其视为使用一张【酒】。其须声明一个基本牌的牌名,然后你判断其手牌区内是否有该牌名的牌。若你判断正确,则你随机获得其五张手牌,否则你不能响应其使用的牌直到回合结束。',
|
spdaoshu_info:'每轮限一次。一名敌方角色的出牌阶段开始时,若其有手牌,则你可以令其视为使用一张【酒】。其须声明一个基本牌的牌名,然后你判断其手牌区内是否有该牌名的牌。若你判断正确,则你获得其两张手牌。',
|
||||||
|
spdaoshu_info_identity:'每轮限一次。一名其他角色的出牌阶段开始时,若其有手牌,则你可以令其视为使用一张【酒】。其须声明一个基本牌的牌名,然后你判断其手牌区内是否有该牌名的牌。若你判断正确,则你获得其两张手牌。',
|
||||||
|
spdaoshu_info_guozhan:'每轮限一次。一名其他角色的出牌阶段开始时,若其有手牌,则你可以令其视为使用一张【酒】。其须声明一个基本牌的牌名,然后你判断其手牌区内是否有该牌名的牌。若你判断正确,则你获得其两张手牌。',
|
||||||
spdaizui:'戴罪',
|
spdaizui:'戴罪',
|
||||||
spdaizui2:'戴罪',
|
spdaizui2:'戴罪',
|
||||||
spdaizui_info:'限定技。当你受到伤害值不小于体力值的伤害时,你可防止此伤害并将此伤害渠道对应的所有实体牌置于伤害来源的武将牌上,称为“释”。本回合结束时,其获得所有“释”。',
|
spdaizui_info:'限定技。当你受到伤害值不小于体力值的伤害时,你可防止此伤害并将此伤害渠道对应的所有实体牌置于伤害来源的武将牌上,称为“释”。本回合结束时,其获得所有“释”。',
|
||||||
|
@ -13659,7 +13651,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
scstaoluan_info:'出牌阶段限一次。你可以将一张牌当任意一种基本牌或普通锦囊牌使用。',
|
scstaoluan_info:'出牌阶段限一次。你可以将一张牌当任意一种基本牌或普通锦囊牌使用。',
|
||||||
scs_zhaozhong:'赵忠',
|
scs_zhaozhong:'赵忠',
|
||||||
scschiyan:'鸱咽',
|
scschiyan:'鸱咽',
|
||||||
scschiyan_info:'①当你使用【杀】指定目标后,你可以将其的至多两张牌置于其武将牌上,然后其于当前回合结束时获得这些牌。②当你因执行【杀】的效果对一名角色造成伤害时,若该角色的手牌数和装备区内的牌数均不大于你,此伤害+1。',
|
scschiyan_info:'①当你使用【杀】指定目标后,你可以将其的一张牌置于其武将牌上,然后其于当前回合结束时获得这些牌。②当你因执行【杀】的效果对一名角色造成伤害时,若该角色的手牌数和装备区内的牌数均不大于你,此伤害+1。',
|
||||||
scs_sunzhang:'孙璋',
|
scs_sunzhang:'孙璋',
|
||||||
scszimou:'自谋',
|
scszimou:'自谋',
|
||||||
scszimou_info:'锁定技。出牌阶段,当你使用第二/四/六张牌时,你从牌堆中获得一张【酒】/【杀】/【决斗】。',
|
scszimou_info:'锁定技。出牌阶段,当你使用第二/四/六张牌时,你从牌堆中获得一张【酒】/【杀】/【决斗】。',
|
||||||
|
@ -13668,10 +13660,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
scspicai_info:'出牌阶段限一次。你可进行判定牌不置入弃牌堆的判定。若判定结果与本次发动技能时的其他判定结果的花色均不相同,则你可以重复此流程。然后你将所有位于处理区的判定牌交给一名角色。',
|
scspicai_info:'出牌阶段限一次。你可进行判定牌不置入弃牌堆的判定。若判定结果与本次发动技能时的其他判定结果的花色均不相同,则你可以重复此流程。然后你将所有位于处理区的判定牌交给一名角色。',
|
||||||
scs_xiayun:'夏恽',
|
scs_xiayun:'夏恽',
|
||||||
scsyaozhuo:'谣诼',
|
scsyaozhuo:'谣诼',
|
||||||
scsyaozhuo_info:'出牌阶段限一次。你可以与一名角色拼点,若你赢,其跳过下一个摸牌阶段;若你没赢,你弃置一张牌。',
|
scsyaozhuo_info:'出牌阶段限一次。你可以与一名角色拼点,若你赢,其跳过下一个摸牌阶段;若你没赢,你弃置两张牌。',
|
||||||
scs_hankui:'韩悝',
|
scs_hankui:'韩悝',
|
||||||
scsxiaolu:'宵赂',
|
scsxiaolu:'宵赂',
|
||||||
scsxiaolu_info:'出牌阶段限一次。你可以摸三张牌,然后选择一项:1.弃置三张牌;2.将三张牌交给一名其他角色。',
|
scsxiaolu_info:'出牌阶段限一次。你可以摸两张牌,然后选择一项:1.弃置两张牌;2.将两张牌交给一名其他角色。',
|
||||||
scs_lisong:'栗嵩',
|
scs_lisong:'栗嵩',
|
||||||
scskuiji:'窥机',
|
scskuiji:'窥机',
|
||||||
scskuiji_info:'出牌阶段限一次。你可以观看一名其他角色的手牌,然后弃置你与其的共计四张花色各不相同的手牌。',
|
scskuiji_info:'出牌阶段限一次。你可以观看一名其他角色的手牌,然后弃置你与其的共计四张花色各不相同的手牌。',
|
||||||
|
|
Loading…
Reference in New Issue