This commit is contained in:
libccy 2015-05-02 22:43:52 +08:00
parent 6468d698a7
commit 6e0c12e1e2
4 changed files with 15 additions and 5 deletions

View File

@ -423,6 +423,9 @@ card.standard={
else document.getElementById('wugu').close();
},
ai:{
wuxie:function(){
if(Math.random()<0.5) return 0;
},
basic:{
order:3,
useful:1,

View File

@ -4213,11 +4213,15 @@ character.swd={
},
content:function(){
"step 0"
trigger.player.draw();
"step 1"
if(player.num('h')<trigger.player.num('h')){
player.draw();
if(trigger.player!=player&&trigger.player.num('h')>=player.num('h')){
game.asyncDraw([trigger.player,player]);
}
else{
trigger.player.draw();
event.finish();
}
"step 1"
game.delay();
},
ai:{
expose:0.2

View File

@ -8861,7 +8861,7 @@ window.play={};
if(_status.config2){
game.resume2();
}
e.stopPropagation();
// e.stopPropagation();
return false;
},
swap:function(){

View File

@ -209,6 +209,9 @@ mode.guozhan={
list=event.list.splice(0,7);
_status.event.dialog.close();
_status.event.dialog=ui.create.dialog('选择角色',[list,'character']);
if(get.config('change_identity')){
addSetting(_status.event.dialog);
}
game.uncheck();
game.check();
});