Files

15 lines
739 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Hector_Tudors.js — boom() (satır 483)
[← Hector_Tudors.js](index.md) · [← Master](../../wiki.md)
```javascript
function boom(w, x, y, z, r) {
showHead(w, x, y, z, Math.max(2.5, r * 0.8), 4); // her patlamada Barış'ın yüzü belirir
fx(w, "hugeexplosion", x, y, z, Math.max(1, Math.round(r / 3)), 0.1 * r, 0.1 * r, 0.1 * r, 0.04);
fx(w, "largeexplode", x, y, z, Math.round(r * 2), 0.4 * r, 0.4 * r, 0.4 * r, 0.05);
fx(w, "largesmoke", x, y, z, Math.round(r * 12), 0.4 * r, 0.4 * r, 0.4 * r, 0.04);
fx(w, "flame", x, y, z, Math.round(r * 6), 0.3 * r, 0.3 * r, 0.3 * r, 0.05);
w.playSound("minecraft:entity.generic.explode", x, y, z, Math.min(4, 1 + r * 0.3), 0.9);
}
```