v1.9.92.4.1(Part 2)
This commit is contained in:
parent
4e57fca16e
commit
869d39fbdc
30
mode/boss.js
30
mode/boss.js
|
@ -1829,6 +1829,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
},
|
||||
init:function(){
|
||||
_status.shidianyanluo_level=0;
|
||||
_status.additionalReward=function(){
|
||||
return 500;
|
||||
}
|
||||
|
@ -1992,8 +1993,9 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
},
|
||||
boss_wangxiang:{
|
||||
trigger:{player:'dieBegin'},
|
||||
trigger:{player:'die'},
|
||||
forced:true,
|
||||
forceDie:true,
|
||||
content:function(){
|
||||
game.countPlayer(function(current){
|
||||
if(current!=player&¤t.countCards('e')){
|
||||
|
@ -2018,6 +2020,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
popup:false,
|
||||
filter:function(event,player){
|
||||
if(lib.config.mode!='boss') return false;
|
||||
if(_status.shidianyanluo_level==undefined) return false;
|
||||
return player==game.boss;
|
||||
},
|
||||
content:function(){
|
||||
|
@ -2029,7 +2032,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
contentx:function(){
|
||||
'step 0'
|
||||
game.delay();
|
||||
if(!_status.shidianyanluo_level) _status.shidianyanluo_level=0;
|
||||
'step 1'
|
||||
var list=[
|
||||
['boss_chujiangwang','boss_songdiwang','boss_wuguanwang','boss_yanluowang'],
|
||||
['boss_bianchengwang','boss_taishanwang','boss_dushiwang','boss_pingdengwang'],
|
||||
|
@ -2039,13 +2042,14 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
else player.chooseControl(list).set('prompt','请选择下一个出战的角色').set('forceDie',true).ai=function(){
|
||||
return list.randomGet();
|
||||
};
|
||||
'step 1'
|
||||
'step 2'
|
||||
_status.shidianyanluo_level++;
|
||||
game.changeBoss(result.control);
|
||||
}
|
||||
},
|
||||
boss_bingfeng:{
|
||||
trigger:{player:'dieBegin'},
|
||||
trigger:{player:'die'},
|
||||
forceDie:true,
|
||||
forced:true,
|
||||
filter:function(event){
|
||||
return event.source&&!event.source.isTurnedOver();
|
||||
|
@ -2056,7 +2060,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
},
|
||||
boss_heisheng:{
|
||||
trigger:{player:'dieBegin'},
|
||||
trigger:{player:'die'},
|
||||
forceDie:true,
|
||||
forced:true,
|
||||
content:function(){
|
||||
player.line(game.players.slice(0));
|
||||
|
@ -2137,7 +2142,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
inherit:'qingang_skill',
|
||||
},
|
||||
boss_zhuxin:{
|
||||
trigger:{player:'dieBegin'},
|
||||
trigger:{player:'die'},
|
||||
forceDie:true,
|
||||
forced:true,
|
||||
content:function(){
|
||||
'step 0'
|
||||
|
@ -2183,7 +2189,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
},
|
||||
boss_leizhu:{
|
||||
trigger:{player:'dieBegin'},
|
||||
trigger:{player:'die'},
|
||||
forceDie:true,
|
||||
forced:true,
|
||||
content:function(){
|
||||
var list=game.players.slice(0);
|
||||
|
@ -2227,7 +2234,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
},
|
||||
boss_renao:{
|
||||
trigger:{player:'dieBegin'},
|
||||
trigger:{player:'die'},
|
||||
forceDie:true,
|
||||
forced:true,
|
||||
content:function(){
|
||||
var list=game.players.slice(0);
|
||||
|
@ -2262,7 +2270,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
|
||||
boss_huoxing:{
|
||||
trigger:{player:'dieBegin'},
|
||||
trigger:{player:'die'},
|
||||
forceDie:true,
|
||||
forced:true,
|
||||
content:function(){
|
||||
var list=game.players.slice(0);
|
||||
|
@ -2303,7 +2312,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
},
|
||||
boss_pingdeng:{
|
||||
trigger:{player:'dieBegin'},
|
||||
trigger:{player:'die'},
|
||||
forceDie:true,
|
||||
forced:true,
|
||||
content:function(){
|
||||
'step 0'
|
||||
|
|
|
@ -1362,7 +1362,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
});
|
||||
},
|
||||
skillAnimation:'epic',
|
||||
animationColor:'water',
|
||||
animationColor:'gray',
|
||||
ai:{
|
||||
order:0.1,
|
||||
result:{
|
||||
|
@ -2419,6 +2419,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
"baka_hunshang":{
|
||||
skillAnimation:true,
|
||||
animationColor:'wood',
|
||||
audio:"hunshang",
|
||||
derivation:["reyingzi","gzyinghun"],
|
||||
viceSkill:true,
|
||||
|
@ -3672,6 +3673,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
unique:true,
|
||||
limited:true,
|
||||
skillAnimation:true,
|
||||
animationColor:'wood',
|
||||
enable:'phaseUse',
|
||||
content:function(){
|
||||
'step 0'
|
||||
|
@ -5436,6 +5438,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
forceunique:true,
|
||||
filterTarget:true,
|
||||
skillAnimation:true,
|
||||
animationColor:'orange',
|
||||
content:function(){
|
||||
'step 0'
|
||||
if(player.checkMainSkill('gzcunsi',false)){
|
||||
|
@ -5656,8 +5659,9 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
gzduanchang:{
|
||||
audio:'duanchang',
|
||||
trigger:{player:'dieBegin'},
|
||||
trigger:{player:'die'},
|
||||
forced:true,
|
||||
forceDie:true,
|
||||
filter:function(event,player){
|
||||
return event.source&&event.source.isIn()&&event.source!=player&&
|
||||
(event.source.hasMainCharacter()||event.source.hasViceCharacter());
|
||||
|
@ -5673,7 +5677,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
else{
|
||||
player.chooseControl('主将','副将',function(){
|
||||
return Math.random()<0.5?'主将':'副将';
|
||||
}).set('prompt','令'+get.translation(trigger.source)+'失去一张武将牌的所有技能');
|
||||
}).set('prompt','令'+get.translation(trigger.source)+'失去一张武将牌的所有技能').set('forceDie',true);
|
||||
}
|
||||
'step 1'
|
||||
var skills;
|
||||
|
@ -6138,6 +6142,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
_mingzhi2:{
|
||||
trigger:{player:'triggerHidden'},
|
||||
forced:true,
|
||||
forceDie:true,
|
||||
popup:false,
|
||||
priority:10,
|
||||
content:function(){
|
||||
|
@ -7828,7 +7833,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
},
|
||||
dieAfter2:function(source){
|
||||
if(source.shijun){
|
||||
if(source&&source.shijun){
|
||||
source.discard(source.getCards('he'));
|
||||
delete source.shijun;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue