修复当前时机新获得技能无法发动的问题

This commit is contained in:
Spmario233 2024-01-20 14:24:26 +08:00
parent f44fd43ad2
commit ff8670cf3b
1 changed files with 4 additions and 2 deletions

View File

@ -2011,8 +2011,10 @@ export const Content = {
}
},
arrangeTrigger: async function (event,trigger,player) {
while(event.doingList.length>0){
event.doing = event.doingList.shift();
const doingList = event.doingList.slice(0);
while(doingList.length>0){
event.doing = doingList.shift();
while(true){
if (trigger.filterStop && trigger.filterStop()) return;
const usableSkills = event.doing.todoList.filter(info => {