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