This commit is contained in:
33333-33333 2026-06-29 21:02:04 +09:00
commit e00bfd8879
51 changed files with 1203 additions and 833 deletions

View file

@ -34,10 +34,6 @@ function isLiveTarinaiEntity(value) {
return Boolean(value && !value.dead && typeof value.relationTo === "function" && Number.isFinite(value.x) && Number.isFinite(value.y));
}
function relationFearSafe(holder, other) {
if (!holder || !other || typeof holder.relationTo !== "function") return 0;
return Number(holder.relationTo(other.id)?.fear || 0) || 0;
}
function nearestForcedFightTarget(tarinai, world, maxDist = 720) {
if (!tarinai || !world) return null;