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(); else document.getElementById('wugu').close();
}, },
ai:{ ai:{
wuxie:function(){
if(Math.random()<0.5) return 0;
},
basic:{ basic:{
order:3, order:3,
useful:1, useful:1,

View File

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

View File

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

View File

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