标准包wushuang1技能使用async content

This commit is contained in:
shijian 2023-12-09 15:33:20 +08:00
parent 6de9d968ee
commit 97887dcc58
1 changed files with 3 additions and 3 deletions

View File

@ -2087,9 +2087,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
},
//priority:-1,
logTarget:'target',
content:function(){
var id=trigger.target.playerid;
var map=trigger.getParent().customArgs;
async content(event,trigger,player){
const id=trigger.target.playerid;
const map=trigger.getParent().customArgs;
if(!map[id]) map[id]={};
if(typeof map[id].shanRequired=='number'){
map[id].shanRequired++;