chess
This commit is contained in:
parent
a8d1808c0a
commit
34255ae2d0
|
@ -26,6 +26,9 @@ card.refresh={
|
||||||
},
|
},
|
||||||
discard:false,
|
discard:false,
|
||||||
lose:true,
|
lose:true,
|
||||||
|
filter:function(event,player){
|
||||||
|
return player.num('h')>0;
|
||||||
|
},
|
||||||
prepare:function(cards,player){
|
prepare:function(cards,player){
|
||||||
player.$give(1,player,false);
|
player.$give(1,player,false);
|
||||||
},
|
},
|
||||||
|
|
|
@ -1278,7 +1278,7 @@ character.swd={
|
||||||
return lib.card.sha.ai.order+0.1;
|
return lib.card.sha.ai.order+0.1;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
group:['linyun2','linyun3']
|
group:['linyun2']
|
||||||
},
|
},
|
||||||
linyun2:{
|
linyun2:{
|
||||||
trigger:{player:'shaBegin'},
|
trigger:{player:'shaBegin'},
|
||||||
|
@ -7675,7 +7675,7 @@ character.swd={
|
||||||
hutian3:'护天',
|
hutian3:'护天',
|
||||||
hutian_info:'回合结束阶段,你可以将X张牌置于一名角色的武将牌上,则该角色的体力值始终不能小于X;在你的下一个回合结束阶段,该角色获得武将牌上的牌(在此回合不能再次发动)',
|
hutian_info:'回合结束阶段,你可以将X张牌置于一名角色的武将牌上,则该角色的体力值始终不能小于X;在你的下一个回合结束阶段,该角色获得武将牌上的牌(在此回合不能再次发动)',
|
||||||
linyun:'凌云',
|
linyun:'凌云',
|
||||||
linyun_info:'你可以将两张牌当作杀使用,此杀需要额外一张闪才能闪避;若此杀造成伤害,你摸一张牌',
|
linyun_info:'你可以将两张牌当作杀使用,此杀需要额外一张闪才能闪避',
|
||||||
sliufeng:'流风',
|
sliufeng:'流风',
|
||||||
sliufeng_info:'锁定技,体力值不大于你的角色视为在你的攻击范围',
|
sliufeng_info:'锁定技,体力值不大于你的角色视为在你的攻击范围',
|
||||||
chengjian:'承剑',
|
chengjian:'承剑',
|
||||||
|
|
|
@ -1098,7 +1098,11 @@ mode.boss={
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
boss_guiyin:{
|
boss_guiyin:{
|
||||||
inherit:'dunxing'
|
mod:{
|
||||||
|
targetEnabled:function(card,player,target){
|
||||||
|
if(_status.currentPhase==player&&target.hp<player.hp) return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
boss_gongshen:{
|
boss_gongshen:{
|
||||||
trigger:{global:'gameDrawAfter'},
|
trigger:{global:'gameDrawAfter'},
|
||||||
|
|
|
@ -367,6 +367,11 @@ mode.chess={
|
||||||
playerproto:{
|
playerproto:{
|
||||||
chooseToMove:function(){
|
chooseToMove:function(){
|
||||||
"step 0"
|
"step 0"
|
||||||
|
if(!player.movable(0,1)&&!player.movable(0,-1)&&
|
||||||
|
!player.movable(1,0)&&!player.movable(-1,0)){
|
||||||
|
event.finish();
|
||||||
|
return;
|
||||||
|
}
|
||||||
event.switchToAuto=function(){
|
event.switchToAuto=function(){
|
||||||
if(ui.movegrids){
|
if(ui.movegrids){
|
||||||
while(ui.movegrids.length){
|
while(ui.movegrids.length){
|
||||||
|
|
Loading…
Reference in New Issue