42 lines
1.8 KiB
Markdown
42 lines
1.8 KiB
Markdown
# hollow_purple.js — main() (satır 9)
|
||
|
||
[← hollow_purple.js](index.md) · [← Master](../../wiki.md)
|
||
|
||
Parça 8/13 · [önceki](main-7.md) · [sonraki](main-9.md)
|
||
|
||
```javascript
|
||
if (weak) target.applyPotion(weak, 80, 10, false);
|
||
} catch (e) {}
|
||
}
|
||
|
||
// ---------- Başlık ----------
|
||
player.sendTitleDurations(2, 30, 10);
|
||
player.sendTitle("§5§lH O L L O W");
|
||
|
||
// =================================================================
|
||
// AŞAMA 1 — ŞARJ: Dev mavi & kırmızı sarmallar birleşir
|
||
// =================================================================
|
||
var t = 0;
|
||
function chargeLoop(ctx) {
|
||
|
||
if (t === 0) {
|
||
world.playSound("minecraft:entity.elder_guardian.curse", cx, cy, cz, VOL_AMB, 0.5);
|
||
world.playSound("minecraft:block.portal.trigger", cx, cy, cz, VOL_AMB, 0.7);
|
||
world.playSound("gojo:ao", cx, cy, cz, 4.0, 1.0);
|
||
world.playSound("gojo:aka", cx, cy, cz, 4.0, 1.0);
|
||
world.playSound("jujutsucraft:ao", cx, cy, cz, 4.0, 1.0);
|
||
}
|
||
|
||
// ---------------- ATEŞLEME ----------------
|
||
if (t >= CHARGE_TICKS) {
|
||
player.sendTitleDurations(0, 25, 15);
|
||
player.sendTitle("§5§lH O L L O W");
|
||
player.sendSubtitle("§d§lP U R P L E");
|
||
|
||
world.playSound("minecraft:entity.lightning.thunder", cx, cy, cz, VOL_BIG, 0.7);
|
||
world.playSound("minecraft:entity.wither.spawn", cx, cy, cz, VOL_BIG, 0.5);
|
||
world.playSound("minecraft:entity.enderdragon_fireball.explode", cx, cy, cz, VOL_BIG, 0.6);
|
||
world.playSound("gojo:hollow_purple", cx, cy, cz, 5.0, 1.0);
|
||
world.playSound("jujutsucraft:gokujo_murasaki", cx, cy, cz, 5.0, 1.0);
|
||
```
|