y
This commit is contained in:
parent
61718e2981
commit
f657b6a4a4
94 changed files with 3970 additions and 1241 deletions
|
|
@ -91,6 +91,7 @@
|
|||
}
|
||||
if (!candidates.length) { if (!options.silentEmpty) showToast("\u7bc4\u56f2\u5185\u306b\u6d88\u305b\u308b\u3082\u306e\u304c\u3042\u308a\u307e\u305b\u3093\u3002"); return true; }
|
||||
let removedCount = 0;
|
||||
const deleteOperationId = `area-delete:${Math.max(0, Number(this.time || 0) || 0)}:${Math.random()}`;
|
||||
const kindCounts = new Map();
|
||||
for (const target of candidates) {
|
||||
if (!target || target.dead) continue;
|
||||
|
|
@ -100,7 +101,7 @@
|
|||
wake: true,
|
||||
});
|
||||
if (!removed) continue;
|
||||
global.TarinaiAchievements?.recordPlayerDeletion?.({ world: this, item: target, tool: "area_delete" });
|
||||
global.TarinaiAchievements?.recordPlayerDeletion?.({ world: this, item: target, tool: "area_delete", operationId: deleteOperationId });
|
||||
removedCount += 1;
|
||||
const label = toolLabel(target.type);
|
||||
kindCounts.set(label, (kindCounts.get(label) || 0) + 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue