Files

49 lines
1.8 KiB
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.
# pirt2.js — üst seviye kod
[← pirt2.js](index.md) · [← Master](../../wiki.md)
Parça 1/2 · [sonraki](_ust-seviye-2.md)
```javascript
// ============================================================================
// Mappet 1.12.2 - Black Smoke Morph Shatter Spell (Gelişmiş Büyü Scripti)
// Dosya Yolu: c:/Users/jasb/Desktop/mappet-arsiv/white_particle_spell.js
// ============================================================================
// --- GENEL BÜYÜ YAPILANDIRMASI ---
var SPELL_CONFIG = {
// Patlama Parametreleri
CRATER_RADIUS: 15, // 15 blok yarıçap = 30 blok genişliğinde/çapında krater
DAMAGE_RADIUS: 15, // Hasar yarıçapı
DAMAGE_AMOUNT: 450.0, // Hasar miktarı (600 kalp!)
// Projecktif / Lazer Hızı
PROJECTILE_SPEED: 20.00, // Ballistik füze hızı (Ultra hiper-sonik - 20.0 blok/tick!)
PROJECTILE_MAX_TICKS: 45, // Maksimum lazer menzil süresi
// Şarj Aşaması (Aura)
ORBIT_TICKS: 8, // 0.4 saniye şarj süresi (8 tick!)
ORBIT_ROTATION_SPEED: 45.0, // Kasırga dönüş hızı (45.0x ultra hızlı sarmal!)
// Fallingdust Blok Durumu (Siyah fallingdust için)
FALLINGDUST_BLOCK_STATE: 173, // 173 = Kömür Bloğu (Siyah toz), 49 = Obsidyen (Koyu mor/siyah toz)
// Partiküller (Siyah fallingdust ve mor portal)
PARTICLE_AURA_1: "fallingdust", // Siyah toz partikülü
PARTICLE_AURA_2: "fallingdust", // Siyah toz partikülü
PARTICLE_AURA_3: "portal", // Mor/Karanlık kıvılcımlar
PARTICLE_LASER_1: "smoke",
PARTICLE_LASER_2: "fallingdust",
PARTICLE_LASER_3: "portal",
PARTICLE_EXPLODE_1: "smoke",
PARTICLE_EXPLODE_2: "fallingdust",
PARTICLE_EXPLODE_3: "portal"
};
/**
* Giriş fonksiyonu: Büyüyü başlatır.
```