缩进修复
This commit is contained in:
parent
a420dcd572
commit
b7d73688b7
|
@ -456,137 +456,137 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//小乐
|
//小乐
|
||||||
vtbleyu:{
|
vtbleyu:{
|
||||||
audio:1,
|
audio:1,
|
||||||
trigger:{
|
trigger:{
|
||||||
global:'phaseBegin',
|
global:'phaseBegin',
|
||||||
},
|
},
|
||||||
direct:true,
|
direct:true,
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
return player.countCards('he')>=3;
|
return player.countCards('he')>=3;
|
||||||
},
|
},
|
||||||
content:function(){
|
content:function(){
|
||||||
'step 0'
|
'step 0'
|
||||||
player.chooseToDiscard(get.prompt2('vtbleyu',trigger.player),3,'he').set('ai',card=>{
|
player.chooseToDiscard(get.prompt2('vtbleyu',trigger.player),3,'he').set('ai',card=>{
|
||||||
if(ui.selected.cards.length==2) return 10-get.value(card);
|
if(ui.selected.cards.length==2) return 10-get.value(card);
|
||||||
if(_status.event.effect>0){
|
if(_status.event.effect>0){
|
||||||
return 6-get.value(card);
|
return 6-get.value(card);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}).set('effect',trigger.player.hasJudge('lebu')?0:get.effect(trigger.player,{name:'lebu'},player,player)).set('logSkill',['vtbleyu',trigger.player]);
|
}).set('effect',trigger.player.hasJudge('lebu')?0:get.effect(trigger.player,{name:'lebu'},player,player)).set('logSkill',['vtbleyu',trigger.player]);
|
||||||
'step 1'
|
'step 1'
|
||||||
if(result.bool){
|
if(result.bool){
|
||||||
trigger.player.judge(lib.card.lebu.judge).judge2=lib.card.lebu.judge2;
|
trigger.player.judge(lib.card.lebu.judge).judge2=lib.card.lebu.judge2;
|
||||||
} else event.finish();
|
} else event.finish();
|
||||||
'step 2'
|
'step 2'
|
||||||
if(!result.bool){
|
if(!result.bool){
|
||||||
trigger.player.skip('phaseUse');
|
trigger.player.skip('phaseUse');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
ai:{
|
ai:{
|
||||||
expose:0.3,
|
expose:0.3,
|
||||||
threaten:2.9,
|
threaten:2.9,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
vtbyuanli:{
|
vtbyuanli:{
|
||||||
audio:1,
|
audio:1,
|
||||||
trigger:{global:['phaseUseSkipped','phaseUseCancelled']},
|
trigger:{global:['phaseUseSkipped','phaseUseCancelled']},
|
||||||
direct:true,
|
direct:true,
|
||||||
content:function(){
|
content:function(){
|
||||||
'step 0'
|
'step 0'
|
||||||
player.chooseTarget(get.prompt2('vtbyuanli'),lib.filter.notMe).set('ai',target=>get.attitude(_status.event.player,target)+1);
|
player.chooseTarget(get.prompt2('vtbyuanli'),lib.filter.notMe).set('ai',target=>get.attitude(_status.event.player,target)+1);
|
||||||
'step 1'
|
'step 1'
|
||||||
if(result.bool){
|
if(result.bool){
|
||||||
player.logSkill('vtbyuanli',result.targets[0]);
|
player.logSkill('vtbyuanli',result.targets[0]);
|
||||||
game.asyncDraw([player,result.targets[0]].sortBySeat(_status.currentPhase));
|
game.asyncDraw([player,result.targets[0]].sortBySeat(_status.currentPhase));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
ai:{
|
ai:{
|
||||||
expose:0.1,
|
expose:0.1,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
vtbmeiniang:{
|
vtbmeiniang:{
|
||||||
audio:1,
|
audio:1,
|
||||||
trigger:{global:'phaseUseBegin'},
|
trigger:{global:'phaseUseBegin'},
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
return event.player!=player;
|
return event.player!=player;
|
||||||
},
|
},
|
||||||
check:function(event,player){
|
check:function(event,player){
|
||||||
return get.attitude(player,event.player)>0&&event.player.getUseValue('jiu')>=0;
|
return get.attitude(player,event.player)>0&&event.player.getUseValue('jiu')>=0;
|
||||||
},
|
},
|
||||||
logTarget:'player',
|
logTarget:'player',
|
||||||
content:function(){
|
content:function(){
|
||||||
trigger.player.chooseUseTarget('jiu',true,false);
|
trigger.player.chooseUseTarget('jiu',true,false);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
vtbyaoli:{
|
vtbyaoli:{
|
||||||
audio:1,
|
audio:1,
|
||||||
trigger:{global:'useCardAfter'},
|
trigger:{global:'useCardAfter'},
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
return event.card.name=='jiu'&&event.player!=player&&event.player.isPhaseUsing();
|
return event.card.name=='jiu'&&event.player!=player&&event.player.isPhaseUsing();
|
||||||
},
|
},
|
||||||
logTarget:'player',
|
logTarget:'player',
|
||||||
check:function(event,player){
|
check:function(event,player){
|
||||||
return get.attitude(player,event.player)>0;
|
return get.attitude(player,event.player)>0;
|
||||||
},
|
},
|
||||||
content:function(){
|
content:function(){
|
||||||
trigger.player.addTempSkill('vtbyaoli_effect');
|
trigger.player.addTempSkill('vtbyaoli_effect');
|
||||||
trigger.player.addMark('vtbyaoli_effect',1,false);
|
trigger.player.addMark('vtbyaoli_effect',1,false);
|
||||||
},
|
},
|
||||||
ai:{
|
ai:{
|
||||||
expose:0.15,
|
expose:0.15,
|
||||||
},
|
},
|
||||||
subSkill:{
|
subSkill:{
|
||||||
effect:{
|
effect:{
|
||||||
audio:'vtbyaoli',
|
audio:'vtbyaoli',
|
||||||
charlotte:true,
|
charlotte:true,
|
||||||
trigger:{player:'useCard2'},
|
trigger:{player:'useCard2'},
|
||||||
forced:true,
|
forced:true,
|
||||||
popup:false,
|
popup:false,
|
||||||
onremove:true,
|
onremove:true,
|
||||||
nopop:true,
|
nopop:true,
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
return event.card.name=='sha'&&player.countMark('vtbyaoli_effect')>0;
|
return event.card.name=='sha'&&player.countMark('vtbyaoli_effect')>0;
|
||||||
},
|
},
|
||||||
content:function(){
|
content:function(){
|
||||||
'step 0'
|
'step 0'
|
||||||
trigger.directHit.addArray(game.filterPlayer());
|
trigger.directHit.addArray(game.filterPlayer());
|
||||||
var num=player.countMark('vtbyaoli_effect');
|
var num=player.countMark('vtbyaoli_effect');
|
||||||
if(!game.hasPlayer(current=>{
|
if(!game.hasPlayer(current=>{
|
||||||
return !trigger.targets.includes(current)&&lib.filter.targetEnabled2(trigger.card,player,current);
|
return !trigger.targets.includes(current)&&lib.filter.targetEnabled2(trigger.card,player,current);
|
||||||
})) event.finish();
|
})) event.finish();
|
||||||
else player.chooseTarget('媱丽:是否为'+get.translation(trigger.card)+'额外指定'+(num>1?'至多':'')+get.cnNumber(num)+'个目标?',num==1?1:[1,num],(card,player,target)=>{
|
else player.chooseTarget('媱丽:是否为'+get.translation(trigger.card)+'额外指定'+(num>1?'至多':'')+get.cnNumber(num)+'个目标?',num==1?1:[1,num],(card,player,target)=>{
|
||||||
return !_status.event.sourcex.includes(target)&&player.canUse(_status.event.card,target);
|
return !_status.event.sourcex.includes(target)&&player.canUse(_status.event.card,target);
|
||||||
}).set('sourcex',trigger.targets).set('ai',target=>{
|
}).set('sourcex',trigger.targets).set('ai',target=>{
|
||||||
var player=_status.event.player;
|
var player=_status.event.player;
|
||||||
return get.effect(target,_status.event.card,player,player);
|
return get.effect(target,_status.event.card,player,player);
|
||||||
}).set('card',trigger.card);
|
}).set('card',trigger.card);
|
||||||
'step 1'
|
'step 1'
|
||||||
if(result.bool){
|
if(result.bool){
|
||||||
if(!event.isMine()&&!event.isOnline()) game.delayx();
|
if(!event.isMine()&&!event.isOnline()) game.delayx();
|
||||||
event.targets=result.targets;
|
event.targets=result.targets;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
event.finish();
|
event.finish();
|
||||||
}
|
}
|
||||||
'step 2'
|
'step 2'
|
||||||
player.logSkill('vtbyaoli_effect',event.targets);
|
player.logSkill('vtbyaoli_effect',event.targets);
|
||||||
trigger.targets.addArray(event.targets);
|
trigger.targets.addArray(event.targets);
|
||||||
player.removeSkill('vtbyaoli_effect');
|
player.removeSkill('vtbyaoli_effect');
|
||||||
},
|
},
|
||||||
marktext:'媱',
|
marktext:'媱',
|
||||||
intro:{
|
intro:{
|
||||||
content:'下一张【杀】不可被响应且可以额外指定&个目标',
|
content:'下一张【杀】不可被响应且可以额外指定&个目标',
|
||||||
},
|
},
|
||||||
ai:{
|
ai:{
|
||||||
directHit_ai:true,
|
directHit_ai:true,
|
||||||
skillTagFilter:function(player,tag,arg){
|
skillTagFilter:function(player,tag,arg){
|
||||||
return arg.card.name=='sha';
|
return arg.card.name=='sha';
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//官盗S特015神马超
|
//官盗S特015神马超
|
||||||
psshouli:{
|
psshouli:{
|
||||||
audio:'shouli',
|
audio:'shouli',
|
||||||
|
@ -6771,16 +6771,16 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
vtbtaoyan_info:'回合开始时,你可以令至多两名其他角色摸一张牌并于游戏外获得一张【桃】(共五张且均为♥6)。',
|
vtbtaoyan_info:'回合开始时,你可以令至多两名其他角色摸一张牌并于游戏外获得一张【桃】(共五张且均为♥6)。',
|
||||||
vtbyanli:'妍丽',
|
vtbyanli:'妍丽',
|
||||||
vtbyanli_info:'每轮限一次。一名角色于你的回合外进入濒死状态时,你可以令其回复至1点体力,然后其摸一张牌。',
|
vtbyanli_info:'每轮限一次。一名角色于你的回合外进入濒死状态时,你可以令其回复至1点体力,然后其摸一张牌。',
|
||||||
vtb_xiaole:'小乐',
|
vtb_xiaole:'小乐',
|
||||||
vtbleyu:'乐虞',
|
vtbleyu:'乐虞',
|
||||||
vtbleyu_info:'一名角色的回合开始时,你可以弃置三张牌令其判定。若结果不为♥,其跳过本回合的出牌阶段。',
|
vtbleyu_info:'一名角色的回合开始时,你可以弃置三张牌令其判定。若结果不为♥,其跳过本回合的出牌阶段。',
|
||||||
vtbyuanli:'媛丽',
|
vtbyuanli:'媛丽',
|
||||||
vtbyuanli_info:'一名角色跳过出牌阶段后,你可以与一名其他角色各摸一张牌。',
|
vtbyuanli_info:'一名角色跳过出牌阶段后,你可以与一名其他角色各摸一张牌。',
|
||||||
vtb_xiaojiu:'小酒',
|
vtb_xiaojiu:'小酒',
|
||||||
vtbmeiniang:'美酿',
|
vtbmeiniang:'美酿',
|
||||||
vtbmeiniang_info:'其他角色的出牌阶段开始时,你可以令其视为使用一张无次数限制且不计入次数的【酒】。',
|
vtbmeiniang_info:'其他角色的出牌阶段开始时,你可以令其视为使用一张无次数限制且不计入次数的【酒】。',
|
||||||
vtbyaoli:'媱丽',
|
vtbyaoli:'媱丽',
|
||||||
vtbyaoli_info:'其他角色于其出牌阶段内使用【酒】后,你可以令其于本回合内使用的下一张【杀】不能被响应且可以额外指定一个目标。',
|
vtbyaoli_info:'其他角色于其出牌阶段内使用【酒】后,你可以令其于本回合内使用的下一张【杀】不能被响应且可以额外指定一个目标。',
|
||||||
old_machao:'J.SP马超',
|
old_machao:'J.SP马超',
|
||||||
old_machao_prefix:'J.SP',
|
old_machao_prefix:'J.SP',
|
||||||
jsp_caoren:'☆SP曹仁',
|
jsp_caoren:'☆SP曹仁',
|
||||||
|
|
Loading…
Reference in New Issue