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