fix bug, modify Indent

This commit is contained in:
shijian 2023-09-18 13:13:08 +08:00
parent 2094e90cec
commit 8c528e52c4
1 changed files with 3 additions and 2 deletions

View File

@ -19186,17 +19186,18 @@
while(lib.skill[skillName]!=null){
skillName='player_when_'+Math.random().toString(36).slice(-8);
}
triggerNames.push(`${skillName}After`);
var skill={
trigger:{player:triggerNames},
forced:true,
charlotte:true,
popup:false,
filterFuns:[(event, player, name) => {
filterFuns:[(event,player,name) => {
return !name||(triggerNames.includes(name)&&event.player==player);
}],
contentFuns:[],
get filter(){
return function(event, player, name){
return function(event,player,name){
if(name==`${skillName}After`){
skill.popup=false;
return true;