forceDie标签补充

This commit is contained in:
157 2023-09-30 22:07:47 +08:00 committed by GitHub
parent 86d032e8f7
commit 8d36f38da5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -5918,9 +5918,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){
spshanxi_bj:{
trigger:{player:'dieAfter'},
filter:function(event,player){
return !game.hasPlayer(current=>current.hasSkill('spshanxi_suoming'));
for(let i of game.players){
if(i.hasSkill('spshanxi_suoming')) return false;
}
return true;
},
silent:true,
forceDie:true,
charlotte:true,
content:function(){
game.removeGlobalSkill('spshanxi_bj');