Bug、AI修正
This commit is contained in:
parent
d4641f395b
commit
610eb9f4d4
|
@ -693,16 +693,9 @@ card.standard={
|
|||
return (target.num('hej')>0);
|
||||
},
|
||||
content:function(){
|
||||
"step 0"
|
||||
if(target.num('hej')){
|
||||
player.choosePlayerCard(target,true);
|
||||
player.gainPlayerCard('hej',target,true);
|
||||
}
|
||||
else{
|
||||
event.finish();
|
||||
}
|
||||
"step 1"
|
||||
player.gain(result.buttons[0].link);
|
||||
target.$give(1,player);
|
||||
},
|
||||
ai:{
|
||||
wuxie:function(target,card,player,viewer){
|
||||
|
@ -748,15 +741,9 @@ card.standard={
|
|||
return (target.num('hej')>0);
|
||||
},
|
||||
content:function(){
|
||||
"step 0"
|
||||
if(target.num('hej')){
|
||||
player.choosePlayerCard(target,true);
|
||||
player.discardPlayerCard('hej',target,true);
|
||||
}
|
||||
else{
|
||||
event.finish();
|
||||
}
|
||||
"step 1"
|
||||
target.discard(result.buttons[0].link);
|
||||
},
|
||||
ai:{
|
||||
basic:{
|
||||
|
|
|
@ -611,8 +611,8 @@ character.standard={
|
|||
frequent:true,
|
||||
content:function(){
|
||||
"step 0"
|
||||
if(player.underControl()){
|
||||
game.swapPlayer(player);
|
||||
if(player.isUnderControl()){
|
||||
game.modeSwapPlayer(player);
|
||||
}
|
||||
if(event.isMine()){
|
||||
ui.auto.hide();
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 7.9 KiB |
|
@ -584,7 +584,7 @@ mode.versus={
|
|||
e.stopPropagation();
|
||||
}
|
||||
else{
|
||||
game.versusSwapControl(this.link);
|
||||
game.modeSwapPlayer(this.link);
|
||||
}
|
||||
},
|
||||
versusCheckHandcards:function(){
|
||||
|
@ -838,7 +838,7 @@ mode.versus={
|
|||
}
|
||||
}
|
||||
},
|
||||
versusSwapControl:function(player){
|
||||
modeSwapPlayer:function(player){
|
||||
if(lib.storage.control_all){
|
||||
game.swapControl(player);
|
||||
}
|
||||
|
@ -928,20 +928,20 @@ mode.versus={
|
|||
else{
|
||||
if(ui.autoreplace.classList.contains('on')){
|
||||
if(trigger.name!='phase'){
|
||||
game.versusSwapControl(player);
|
||||
game.modeSwapPlayer(player);
|
||||
if(ui.dialog){
|
||||
ui.dialog.style.display='';
|
||||
}
|
||||
}
|
||||
}
|
||||
else if(trigger.name=='phase'){
|
||||
game.versusSwapControl(player);
|
||||
game.modeSwapPlayer(player);
|
||||
}
|
||||
event.finish();
|
||||
}
|
||||
"step 1"
|
||||
if(result.bool){
|
||||
game.versusSwapControl(player);
|
||||
game.modeSwapPlayer(player);
|
||||
if(ui.dialog){
|
||||
ui.dialog.style.display='';
|
||||
}
|
||||
|
|
|
@ -31,11 +31,13 @@ html{
|
|||
.selected{
|
||||
box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(255, 0, 0, 0.8) 0 0 15px !important;
|
||||
}
|
||||
.card.fullskin{
|
||||
.card:not(*:empty){
|
||||
color:rgb(77, 60, 51);
|
||||
text-shadow:none;
|
||||
background: url('wood3.png');
|
||||
}
|
||||
.card{
|
||||
color: white;
|
||||
#me>div>.card,#arena>.card:not(*:empty){
|
||||
box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 3px 10px;
|
||||
}
|
||||
.fire{
|
||||
color: rgb(255,119,63);
|
||||
|
|
Loading…
Reference in New Issue