# ezoic_viltrumite.js — doPunch() (satır 217) [← ezoic_viltrumite.js](index.md) · [← Master](../../wiki.md) Parça 2/2 · [önceki](doPunch.md) ```javascript w.playSound("minecraft:entity.generic.explode", tx, ty, tz, 2.5, 0.7); w.playSound("minecraft:entity.player.attack.knockback", tx, ty, tz, 3.0, 0.5); w.playSound("minecraft:entity.lightning.thunder", tx, ty, tz, 1.5, 1.2); spawnFx(w, "largeexplode", tx, ty + 1, tz, 2, 0.3, 0.3, 0.3, 0); spawnFx(w, "cloud", tx, ty + 1, tz, 8, 0.4, 0.4, 0.4, 0.08); spawnFx(w, "fireworksSpark", tx, ty + 1, tz, 6, 0.3, 0.3, 0.3, 0.05); destroyCrater(c, tx, ty, tz, 2); // Yumruk iz çizgisi c.scheduleScript(1, function(c2) { var w2 = c2.getWorld(); for (var k = 1; k <= 4; k++) { spawnFx(w2, "cloud", sx + look.x*k, sy + look.y*k - 0.3, sz + look.z*k, 2, 0.1, 0.1, 0.1, 0.02); } }); } else { // === HAVAYA YUMRUK — sweep efekti === w.playSound("minecraft:entity.player.attack.sweep", pos.x, pos.y, pos.z, 2.0, 0.7); for (var d = 1; d <= 5; d++) { var fx = sx + look.x * d; var fy = sy + look.y * d - 0.3; var fz = sz + look.z * d; spawnFx(w, "sweepAttack", fx, fy, fz, 1, 0, 0, 0, 0); spawnFx(w, "cloud", fx, fy, fz, 2, 0.1, 0.1, 0.1, 0.01); } } } ```