minor fix

This commit is contained in:
mengxinzxz 2024-06-01 17:46:52 +08:00
parent 46f3752485
commit f4248107dd
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ const skills = {
.reduce((sum, i) => sum + target.countEmptySlot(i), 0) .reduce((sum, i) => sum + target.countEmptySlot(i), 0)
) )
return false; return false;
const evt = event.getl(player); const evt = event.getl(target);
return evt && evt.player == target && (evt.es || []).length; return evt && evt.player == target && (evt.es || []).length;
}, },
forced: true, forced: true,