This commit is contained in:
parent
5e486e1cc2
commit
30ce9cc88a
|
@ -18,14 +18,14 @@ window.noname_update={
|
|||
// 'mode/boss.js',
|
||||
// 'mode/versus.js',
|
||||
// 'mode/guozhan.js',
|
||||
// 'mode/identity.js',
|
||||
'mode/identity.js',
|
||||
// 'mode/chess.js',
|
||||
// 'mode/tafang.js',
|
||||
// 'mode/guozhan.js',
|
||||
// 'mode/stone.js',
|
||||
// 'theme/music/style.css',
|
||||
// 'theme/woodden/style.css',
|
||||
'layout/default/layout.css',
|
||||
// 'layout/default/layout.css',
|
||||
// 'layout/default/phone.css',
|
||||
// 'layout/default/menu.css',
|
||||
// 'theme/style/cardback/*',
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 68 KiB |
|
@ -658,7 +658,12 @@ mode.identity={
|
|||
this.classList.add('thundertext');
|
||||
}
|
||||
num=get.config('choice_'+link);
|
||||
if(event.zhongmode) num=3;
|
||||
if(event.zhongmode){
|
||||
num=6;
|
||||
if(link=='zhu'||link=='nei'||link=='mingzhong'){
|
||||
num=8;
|
||||
}
|
||||
}
|
||||
_status.event.parent.swapnodialog=function(dialog,list){
|
||||
var buttons=ui.create.div('.buttons');
|
||||
var node=dialog.buttons[0].parentNode;
|
||||
|
@ -835,7 +840,10 @@ mode.identity={
|
|||
}
|
||||
var num=get.config('choice_'+game.me.identity);
|
||||
if(event.zhongmode){
|
||||
num=3;
|
||||
num=6;
|
||||
if(game.me.identity=='zhu'||game.me.identity=='nei'||game.me.identity=='mingzhong'){
|
||||
num=8;
|
||||
}
|
||||
}
|
||||
if(game.zhu!=game.me){
|
||||
event.ai(game.zhu,event.list,list2)
|
||||
|
@ -868,7 +876,7 @@ mode.identity={
|
|||
}
|
||||
else{
|
||||
if(event.zhongmode){
|
||||
list=list3.slice(0,6);
|
||||
list=list3.slice(0,8);
|
||||
}
|
||||
else{
|
||||
list=list2.concat(list3.slice(0,num));
|
||||
|
@ -1338,6 +1346,14 @@ mode.identity={
|
|||
}
|
||||
}
|
||||
if(this.identity=='fan'&&source) source.draw(3);
|
||||
else if(this.identity=='mingzhong'&&source){
|
||||
if(source.identity=='zhu'){
|
||||
source.discard(source.getCards('he'));
|
||||
}
|
||||
else{
|
||||
source.draw(3);
|
||||
}
|
||||
}
|
||||
else if(this.identity=='zhong'&&source&&source.identity=='zhu'&&source.isZhu){
|
||||
source.discard(source.getCards('he'));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue