十常侍大礼包;修改_turnover事件和giveup的includeOut为true

This commit is contained in:
copcap 2023-07-28 09:32:45 +08:00
parent b07a3b3721
commit 28aef2e6c3
47 changed files with 1201 additions and 9 deletions

BIN
audio/die/shichangshi.mp3 Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
audio/skill/scsanruo1.mp3 Normal file

Binary file not shown.

BIN
audio/skill/scschihe1.mp3 Normal file

Binary file not shown.

BIN
audio/skill/scschiyan1.mp3 Normal file

Binary file not shown.

BIN
audio/skill/scskuiji1.mp3 Normal file

Binary file not shown.

BIN
audio/skill/scsniqu1.mp3 Normal file

Binary file not shown.

BIN
audio/skill/scspicai1.mp3 Normal file

Binary file not shown.

BIN
audio/skill/scstaoluan1.mp3 Normal file

Binary file not shown.

BIN
audio/skill/scsxiaolu1.mp3 Normal file

Binary file not shown.

BIN
audio/skill/scsyaozhuo1.mp3 Normal file

Binary file not shown.

BIN
audio/skill/scszimou1.mp3 Normal file

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -300,6 +300,7 @@ window.noname_character_rank={
'wangguan',
'duanqiaoxiao',
'old_wanglang',
'shichangshi',
'key_misuzu',
'key_sunohara',
'key_umi',

View File

@ -12303,6 +12303,7 @@
next.setContent(info.content);
next.skillHidden=event.skillHidden;
if(info.forceDie) next.forceDie=true;
if(event.skill=='_turnover') next.includeOut=true;
"step 4"
if(player._hookTrigger){
for(var i=0;i<player._hookTrigger.length;i++){
@ -12963,10 +12964,17 @@
var filterButton=info.chooseButton.filter||function(){return true};
var selectButton=info.chooseButton.select||1;
var chooseable=[];
var evt=game.createEvent('emptyEvent');
event.next.remove(evt);
evt.parent=_status.event;
evt.player=player;
var tmpevt=_status.event;
_status.event=evt;
for(var i=0;i<dialog.buttons.length;i++){
var btn=dialog.buttons[i];
if(filterButton(btn)) chooseable.push(btn);
if(filterButton(btn,player)) chooseable.push(btn);
}
_status.event=tmpevt;
if(chooseable.length==1&&dialog.direct||dialog.forceDirect){
event._result={
bool:true,
@ -13171,10 +13179,17 @@
var filterButton=info.chooseButton.filter||function(){return true};
var selectButton=info.chooseButton.select||1;
var chooseable=[];
var evt=game.createEvent('emptyEvent');
event.next.remove(evt);
evt.parent=_status.event;
evt.player=player;
var tmpevt=_status.event;
_status.event=evt;
for(var i=0;i<dialog.buttons.length;i++){
var btn=dialog.buttons[i];
if(filterButton(btn)) chooseable.push(btn);
if(filterButton(btn,player)) chooseable.push(btn);
}
_status.event=tmpevt;
if(chooseable.length==1&&dialog.direct||dialog.forceDirect){
event._result={
bool:true,
@ -19191,6 +19206,7 @@
dead:this.isDead(),
linked:this.isLinked(),
turnedover:this.isTurnedOver(),
out:this.isOut(),
phaseNumber:this.phaseNumber,
unseen:this.isUnseen(0),
unseen2:this.isUnseen(1),
@ -22388,6 +22404,7 @@
}
var next=game.createEvent('turnOver');
next.player=this;
next.includeOut=true;
next.setContent('turnOver');
return next;
},
@ -29677,10 +29694,10 @@
giveup:function(player){
if(lib.node.observing.contains(this)||!player||!player._giveUp) return;
_status.event.next.length=0;
game.createEvent('giveup',false).setContent(function(){
game.createEvent('giveup',false).set('includeOut',true).setContent(function(){
game.log(player,'投降');
player.popup('投降');
player.die('nosource');
player.die('nosource').includeOut=true;
}).player=player;
},
auto:function(){
@ -30261,6 +30278,7 @@
}
else{
player.init(info.name1,info.name2);
if(info.name&&info.name!=info.name1) player.name=info.name;
}
if(!info.unseen) player.classList.remove('unseen');
if(!info.unseen2) player.classList.remove('unseen2');
@ -30300,6 +30318,9 @@
if(info.turnedover){
player.classList.add('turnedover');
}
if(info.out){
player.classList.add('out');
}
if(info.disableJudge){
player.$disableJudge();
}
@ -34021,7 +34042,7 @@
}
},
createTrigger:function(name,skill,player,event){
if(player.isOut()||player.removed) return;
if((player.isOut()||player.removed)&&skill!='_turnover') return;
if(player.isDead()&&!lib.skill[skill].forceDie) return;
var next=game.createEvent('trigger',false);
next.skill=skill;
@ -34029,6 +34050,7 @@
next.triggername=name;
next.forceDie=true;
next._trigger=event;
if(skill=='_turnover') next.includeOut=true;
next.setContent('createTrigger');
},
createEvent:function(name,trigger,triggerevent){
@ -45416,10 +45438,10 @@
}
else{
_status.event.next.length=0;
game.createEvent('giveup',false).setContent(function(){
game.createEvent('giveup',false).set('includeOut',true).setContent(function(){
game.log(player,'投降');
player.popup('投降');
player.die('nosource');
player.die('nosource').includeOut=true;
}).player=player;
}
if(_status.paused&&_status.imchoosing&&!_status.auto){
@ -50480,7 +50502,7 @@
}
// ui.click.skin(this,player.name);
game.pause2();
ui.click.charactercard(player.name,null,null,true,this);
ui.click.charactercard(player.name1||player.name,null,null,true,this);
},
avatar2:function(){
if(!lib.config.doubleclick_intro) return;

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB