This commit is contained in:
parent
db16372a0f
commit
895e50f10d
|
@ -2062,7 +2062,7 @@ card.swd={
|
||||||
var skills=player.get('s');
|
var skills=player.get('s');
|
||||||
for(var i=0;i<skills.length;i++){
|
for(var i=0;i<skills.length;i++){
|
||||||
if(skills[i].indexOf('yuchan')==0&&skills[i].indexOf('_equip')!=-1){
|
if(skills[i].indexOf('yuchan')==0&&skills[i].indexOf('_equip')!=-1){
|
||||||
return true;
|
return player.num('h',{type:'basic'})>0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -2282,7 +2282,7 @@ character.ow={
|
||||||
trigger:{player:'phaseEnd'},
|
trigger:{player:'phaseEnd'},
|
||||||
direct:true,
|
direct:true,
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
return player.num('he',{suit:'spade'})>0&&!player.hasSkill('yihun2');
|
return player.num('he',{color:'black'})>0&&!player.hasSkill('yihun2');
|
||||||
},
|
},
|
||||||
content:function(){
|
content:function(){
|
||||||
'step 0'
|
'step 0'
|
||||||
|
@ -2290,7 +2290,7 @@ character.ow={
|
||||||
prompt:get.prompt('yihun'),
|
prompt:get.prompt('yihun'),
|
||||||
position:'he',
|
position:'he',
|
||||||
filterCard:function(card,player){
|
filterCard:function(card,player){
|
||||||
return get.suit(card)=='spade'&&lib.filter.cardDiscardable(card,player);
|
return get.color(card)=='black'&&lib.filter.cardDiscardable(card,player);
|
||||||
},
|
},
|
||||||
ai1:function(card){
|
ai1:function(card){
|
||||||
return 7-ai.get.value(card);
|
return 7-ai.get.value(card);
|
||||||
|
@ -3057,7 +3057,7 @@ character.ow={
|
||||||
xiandan:'霰弹',
|
xiandan:'霰弹',
|
||||||
xiandan_info:'每当你使用一张杀,你可以弃置一张红色牌令此杀不可闪避,或弃置一张黑色牌令此杀伤害+1',
|
xiandan_info:'每当你使用一张杀,你可以弃置一张红色牌令此杀不可闪避,或弃置一张黑色牌令此杀伤害+1',
|
||||||
yihun:'移魂',
|
yihun:'移魂',
|
||||||
yihun_info:'结束阶段,你可以弃置一张黑桃牌并指定一名其他角色,你在该角色下一准备阶段视为对其使用一张杀;在此之前,你不能使用卡牌,也不能成为卡牌的目标',
|
yihun_info:'结束阶段,你可以弃置一张黑色牌并指定一名其他角色,你在该角色下一准备阶段视为对其使用一张杀;在此之前,你不能使用卡牌,也不能成为卡牌的目标',
|
||||||
feidan:'飞弹',
|
feidan:'飞弹',
|
||||||
feidan_info:'你的杀只能对距离1以外的角色使用;每当你使用杀造成伤害后,你可以弃置一张牌对距离目标1以内的其他角色各造成一点伤害',
|
feidan_info:'你的杀只能对距离1以外的角色使用;每当你使用杀造成伤害后,你可以弃置一张牌对距离目标1以内的其他角色各造成一点伤害',
|
||||||
huoyu:'火雨',
|
huoyu:'火雨',
|
||||||
|
|
|
@ -140,6 +140,7 @@ window.characterRank={
|
||||||
'hs_alleria',
|
'hs_alleria',
|
||||||
'old_wangyi',
|
'old_wangyi',
|
||||||
're_lusu',
|
're_lusu',
|
||||||
|
'hs_fuding',
|
||||||
],
|
],
|
||||||
am:[
|
am:[
|
||||||
'swd_duanmeng',
|
'swd_duanmeng',
|
||||||
|
@ -153,7 +154,6 @@ window.characterRank={
|
||||||
'ow_falaozhiying',
|
'ow_falaozhiying',
|
||||||
'hs_bolvar',
|
'hs_bolvar',
|
||||||
'lifeng',
|
'lifeng',
|
||||||
'hs_fuding',
|
|
||||||
'zhugeguo',
|
'zhugeguo',
|
||||||
'sp_caiwenji',
|
'sp_caiwenji',
|
||||||
'yxs_yingzheng',
|
'yxs_yingzheng',
|
||||||
|
|
|
@ -673,7 +673,7 @@ character.shenhua={
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
fangquan3:{
|
fangquan3:{
|
||||||
trigger:{player:'phaseAfter'},
|
trigger:{player:['phaseAfter','phaseCancelled']},
|
||||||
forced:true,
|
forced:true,
|
||||||
popup:false,
|
popup:false,
|
||||||
audio:false,
|
audio:false,
|
||||||
|
|
|
@ -1091,7 +1091,10 @@ mode.versus={
|
||||||
event.blank=[];
|
event.blank=[];
|
||||||
for(var i in lib.character){
|
for(var i in lib.character){
|
||||||
if(lib.filter.characterDisabled(i)) continue;
|
if(lib.filter.characterDisabled(i)) continue;
|
||||||
if(get.config('enable_all_three')||lib.choiceThree.contains(i)){
|
if(lib.choiceThree.contains(i)){
|
||||||
|
event.list.push(i);
|
||||||
|
}
|
||||||
|
else if(get.config('enable_all_three')&&!lib.filter.characterDisabled(i)){
|
||||||
event.list.push(i);
|
event.list.push(i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1468,7 +1471,23 @@ mode.versus={
|
||||||
game.delay();
|
game.delay();
|
||||||
'step 5'
|
'step 5'
|
||||||
event.prompt('选择三名出场武将');
|
event.prompt('选择三名出场武将');
|
||||||
event.enemylist=event.enemy.randomGets(3);
|
event.enemylist=[];
|
||||||
|
var rand=[];
|
||||||
|
for(var i=0;i<8;i++){
|
||||||
|
for(var j=0;j<8-i;j++){
|
||||||
|
rand.push(i);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
for(var i=0;i<3;i++){
|
||||||
|
var rand2=rand.randomGet();
|
||||||
|
for(var j=0;j<rand.length;j++){
|
||||||
|
if(rand[j]==rand2){
|
||||||
|
rand.splice(j--,1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
event.enemylist.push(event.enemy[rand2]);
|
||||||
|
}
|
||||||
|
event.enemylist.randomSort();
|
||||||
event.friendlist=[];
|
event.friendlist=[];
|
||||||
event.deciding=true;
|
event.deciding=true;
|
||||||
for(var i=0;i<32;i++){
|
for(var i=0;i<32;i++){
|
||||||
|
|
Loading…
Reference in New Issue