boss
This commit is contained in:
parent
3b4709f39b
commit
04517f1fb4
28
mode/boss.js
28
mode/boss.js
|
@ -448,7 +448,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||||
game.addRecentCharacter(game.me.name);
|
game.addRecentCharacter(game.me.name);
|
||||||
}
|
}
|
||||||
event.trigger('gameStart');
|
event.trigger('gameStart');
|
||||||
game.gameDraw(game.boss);
|
game.gameDraw(game.boss,game.bossinfo.gameDraw||4);
|
||||||
game.bossPhaseLoop();
|
game.bossPhaseLoop();
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
ui.updatehl();
|
ui.updatehl();
|
||||||
|
@ -1169,6 +1169,9 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||||
loopFirst:function(){
|
loopFirst:function(){
|
||||||
return game.boss.nextSeat.nextSeat;
|
return game.boss.nextSeat.nextSeat;
|
||||||
},
|
},
|
||||||
|
gameDraw:function(player){
|
||||||
|
return player==game.boss?8:4;
|
||||||
|
},
|
||||||
minion:{
|
minion:{
|
||||||
'2':'boss_zhuyin',
|
'2':'boss_zhuyin',
|
||||||
'8':'boss_zhuyin',
|
'8':'boss_zhuyin',
|
||||||
|
@ -1189,6 +1192,9 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||||
loopFirst:function(){
|
loopFirst:function(){
|
||||||
return game.boss.nextSeat.nextSeat;
|
return game.boss.nextSeat.nextSeat;
|
||||||
},
|
},
|
||||||
|
gameDraw:function(player){
|
||||||
|
return player==game.boss?8:4;
|
||||||
|
},
|
||||||
minion:{
|
minion:{
|
||||||
'2':'boss_zhuyin',
|
'2':'boss_zhuyin',
|
||||||
'8':'boss_zhuyin',
|
'8':'boss_zhuyin',
|
||||||
|
@ -1209,6 +1215,9 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||||
loopFirst:function(){
|
loopFirst:function(){
|
||||||
return game.boss.nextSeat.nextSeat;
|
return game.boss.nextSeat.nextSeat;
|
||||||
},
|
},
|
||||||
|
gameDraw:function(player){
|
||||||
|
return player==game.boss?8:4;
|
||||||
|
},
|
||||||
minion:{
|
minion:{
|
||||||
'2':'boss_zhuyin',
|
'2':'boss_zhuyin',
|
||||||
'8':'boss_zhuyin',
|
'8':'boss_zhuyin',
|
||||||
|
@ -1229,6 +1238,9 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||||
loopFirst:function(){
|
loopFirst:function(){
|
||||||
return game.boss.nextSeat.nextSeat;
|
return game.boss.nextSeat.nextSeat;
|
||||||
},
|
},
|
||||||
|
gameDraw:function(player){
|
||||||
|
return player==game.boss?8:4;
|
||||||
|
},
|
||||||
minion:{
|
minion:{
|
||||||
'2':'boss_zhuyin',
|
'2':'boss_zhuyin',
|
||||||
'8':'boss_zhuyin',
|
'8':'boss_zhuyin',
|
||||||
|
@ -1486,7 +1498,10 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||||
chongzheng:4,
|
chongzheng:4,
|
||||||
},
|
},
|
||||||
boss_lvbu1:{
|
boss_lvbu1:{
|
||||||
loopType:2
|
loopType:2,
|
||||||
|
gameDraw:function(player){
|
||||||
|
return player==game.boss?8:4;
|
||||||
|
},
|
||||||
},
|
},
|
||||||
boss_zuoci:{
|
boss_zuoci:{
|
||||||
chongzheng:4,
|
chongzheng:4,
|
||||||
|
@ -5392,7 +5407,6 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||||
},
|
},
|
||||||
boss_baonu:{
|
boss_baonu:{
|
||||||
unique:true,
|
unique:true,
|
||||||
group:'boss_baonu2',
|
|
||||||
trigger:{player:'changeHp',global:'boss_baonuwash'},
|
trigger:{player:'changeHp',global:'boss_baonuwash'},
|
||||||
forced:true,
|
forced:true,
|
||||||
priority:100,
|
priority:100,
|
||||||
|
@ -5478,14 +5492,6 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
boss_baonu2:{
|
|
||||||
trigger:{player:'gameDrawBegin'},
|
|
||||||
forced:true,
|
|
||||||
popup:false,
|
|
||||||
content:function(){
|
|
||||||
player.draw(4,false);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
qiwu:{
|
qiwu:{
|
||||||
audio:true,
|
audio:true,
|
||||||
trigger:{player:'useCard'},
|
trigger:{player:'useCard'},
|
||||||
|
|
Loading…
Reference in New Issue