# gojo_skills.js — cast_domain() (satır 948) [← gojo_skills.js](index.md) · [← Master](../../wiki.md) Parça 2/4 · [önceki](cast_domain.md) · [sonraki](cast_domain-3.md) ```javascript if (t < expandDur) { var R = maxR * (t / expandDur); domeShell(w, "endRod", cx, cy, cz, R, 7, t * 0.25); domeShell(w, "portal", cx, cy, cz, R, 6, -t * 0.20); flatRing(w, "enchantmenttable", cx, pPos.y + 0.1, cz, R, 24, t * 0.3); if (t % 3 === 0) { w.playSound("minecraft:block.portal.ambient", cx, cy, cz, 2.0, 0.4 + (t / expandDur)); } t++; ctx.scheduleScript(1, domainLoop); return; } var st = t - expandDur; // ---- Bitiş: alan çöker ---- if (st >= sustain) { w.playSound("minecraft:entity.enderdragon.growl", cx, cy, cz, 4.0, 0.6); w.playSound("minecraft:entity.generic.explode", cx, cy, cz, 3.0, 0.5); spawnFx(w, "hugeexplosion", cx, cy, cz, 6, 0, 0, 0, 0.1); spawnFx(w, "largesmoke", cx, cy, cz, 160, 3, 3, 3, 0.1); for (var r = 1; r <= 3; r++) { shockRing(w, basis, cx, pPos.y + 0.1, cz, maxR * (r / 3), lanM, 6, r); } return; } // ---- Sürdürme fazı: sonsuz boşluk ---- var twist = st * 0.12; domeShell(w, "endRod", cx, cy, cz, maxR, 7, twist); if (st % 2 === 0) domeShell(w, "portal", cx, cy, cz, maxR, 6, -twist); if (st % 3 === 0) domeShell(w, "enchantmenttable", cx, cy, cz, maxR * 0.96, 5, twist * 1.4); // Zemin halkaları (nabız gibi) flatRing(w, "endRod", cx, pPos.y + 0.05, cz, maxR, 28, twist); flatRing(w, "portal", cx, pPos.y + 0.05, cz, maxR * 0.6, 18, -twist); ```