1.9 KiB
1.9 KiB
gojo_skills.js — cast_purple() (satır 463)
world.playSound("projectjjk:laser_blast", cx, cy, cz, VOL_BIG, 1.0);
world.playSound("projectjjk:deep_explosion", cx, cy, cz, VOL_BIG, 0.9);
drawSphere(cx, cy, cz, 5.0, morphGlow, 6, 0, 0, 0);
blastDebris(ctx, cx, cy, cz, 40, 1.2, 16);
shockwaveRing(ctx, cx, cy, cz, morphRing, 12.0, 10);
shockwaveRing(ctx, cx, cy, cz, morphPurpur, 16.0, 14);
spawnFx("hugeexplosion", cx, cy, cz, 12, 0.0, 0.0, 0.0, 0.1);
spawnFx("largeexplode", cx, cy, cz, 20, 2.0, 2.0, 2.0, 0.0);
spawnFx("endRod", cx, cy, cz, 150, 3.0, 3.0, 3.0, 0.6);
spawnFx("dragonbreath", cx, cy, cz, 200, 3.5, 3.5, 3.5, 0.06);
ctx.scheduleScript(1, purpleLoop);
return;
}
var angle = t * 0.5;
var progress = t / CHARGE_TICKS;
var radius = 8.0 * (1.0 - progress * 0.7); // DEV sarmal
// === MAVİ SARMAL (custom tekstür orb, 3 strand) ===
for (var sb = 0; sb < 3; sb++) {
var offB = sb * (Math.PI * 2 / 3);
var bxp = cx + Math.cos(angle + offB) * radius;
var byp = cy + Math.sin(t * 0.25 + offB) * (radius * 0.4);
var bzp = cz + Math.sin(angle + offB) * radius;
orbSprite(morphBlue, bxp, byp, bzp, 3, angle * 57.3);
spawnFx("portal", bxp, cy, bzp, 4, 0.1, 0.1, 0.1, 0.02);
}
// === KIRMIZI SARMAL (custom tekstür orb, 3 strand, zıt) ===
for (var sr = 0; sr < 3; sr++) {
var offR = sr * (Math.PI * 2 / 3) + Math.PI / 3;
var rxp = cx + Math.cos(angle + offR) * radius;