This commit is contained in:
libccy 2015-12-31 15:03:13 +08:00
parent 007eaf0f1d
commit 752c8bc46a
4 changed files with 10 additions and 7 deletions

View File

@ -218,7 +218,7 @@ card.guozhan={
}); });
"step 1" "step 1"
if(result.bool){ if(result.bool){
player.logSkill('sanjian_skill'); player.logSkill('sanjian_skill',result.targets);
player.discard(result.cards); player.discard(result.cards);
result.targets[0].damage(); result.targets[0].damage();
} }

View File

@ -39,6 +39,7 @@ character.sp={
lingcao:['male','wu',4,['dujin']], lingcao:['male','wu',4,['dujin']],
sunru:['female','wu',3,['shixin','qingyi']], sunru:['female','wu',3,['shixin','qingyi']],
lingju:['female','qun',3,['jieyuan','fenxin']], lingju:['female','qun',3,['jieyuan','fenxin']],
lifeng:['male','shu',3,['tunchu','shuliang']],
}, },
perfectPair:{ perfectPair:{
zhugejin:['zhugeke'], zhugejin:['zhugeke'],

View File

@ -639,6 +639,8 @@ character.woods={
intro:{ intro:{
content:'limited' content:'limited'
}, },
skillAnimation:'epic',
animationColor:'thunder',
prepare:function(cards,player){ prepare:function(cards,player){
player.line(game.players); player.line(game.players);
for(var i=0;i<game.players.length;i++){ for(var i=0;i<game.players.length;i++){

View File

@ -58,16 +58,16 @@ play.coin={
if(item.bought){ if(item.bought){
if(item.running){ if(item.running){
buy.innerHTML='停止'; buy.innerHTML='停止';
if(item.control){
var node=item.control();
if(node){
buy.parentNode.appendChild(node,buy);
}
}
} }
else{ else{
buy.innerHTML='开始'; buy.innerHTML='开始';
} }
if(item.control){
var node=item.control();
if(node){
buy.parentNode.appendChild(node,buy);
}
}
} }
buy.name=i; buy.name=i;
buy.content=item; buy.content=item;