DogTags: eigene Pfotenfarbe fliegt zur Faehrte (ab Jungwolf)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-28 03:32:51 +01:00
co-authored by Claude Opus 5.5
parent 7f22eda012
commit 01687423e5
51 changed files with 755 additions and 744 deletions
+9
View File
@@ -340,6 +340,15 @@
}
const g = groesse(0.18, 56, 120);
const f = figur(z.rang, z.name, rangText, g, { leitwolf: z.leitwolf });
/* DIE EIGENE PFOTENFARBE AUF DER FÄHRTE (PDF, ab Jungwolf): Zum
Auftritt fliegt ein Abdruck in der gewählten Farbe in die Fährte.
Ohne Siegel ruht die Farbe — dann ist es das Baby-Blau. */
if (z.rang !== 'alpha' && z.rang !== 'hasenwolf') {
const pf = el('div', 'dtb-abdruck');
if (z.farbe) pf.style.setProperty('--dtb-pfote', z.farbe);
pf.dataset.farbe = z.farbe || '';
fliegen(pf, { x: w * 0.5, y: h * 0.86 }, ziel, 1800, { skal: [1.2, 0.6] }).then(() => weg(pf, 500));
}
if (z.rang === 'jungwolf') {
/* Vorbeiflug: dreht sich und gleitet langsam durchs untere Drittel (6,5 s). */
await fliegen(f, { x: eckRand() - g, y: h * 0.74 }, { x: w - eckRand() + g, y: h * 0.7 }, 6000, { drehen: 360 });