mr:ignite_spell
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mr:ignite_spell [2026/03/28 08:17] – Wiki maintenance: Fix duplicate page and update mr: namespace pages Qwen Assistant | mr:ignite_spell [2026/03/28 08:20] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== ignite_spell - Code References ====== | ||
| + | {{ rpd: | ||
| + | |||
| + | ===== Java Classes ===== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | **Key Implementation Details:** | ||
| + | * **Package**: | ||
| + | * **Constructor**: | ||
| + | * **targetingType**: | ||
| + | * **magicAffinity**: | ||
| + | * **level**: 2 (spell level) | ||
| + | * **image**: 1 (sprite index) | ||
| + | * **spellCost**: | ||
| + | * **texture()**: | ||
| + | * **cast()**: Main casting method that: | ||
| + | - Validates target cell is valid | ||
| + | - Uses Ballistica.cast() for ray tracing | ||
| + | - Creates FlameParticle burst at target | ||
| + | - Spawns Fire blob with strength 5 | ||
| + | - Calls castCallback() after effect | ||
| + | |||
| + | ===== JSON Configuration ===== | ||
| + | This entity is implemented in Java, no JSON configuration exists | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | ===== Lua Scripts ===== | ||
| + | This entity is implemented in Java, no Lua script exists | ||
| + | |||
| + | ===== Implementation Details ===== | ||
| + | * **Package**: | ||
| + | * **Targeting Type**: TARGET_CELL (targets a specific cell) | ||
| + | * **Magic Affinity**: ELEMENTAL | ||
| + | * **Spell Level**: 2 | ||
| + | * **Image ID**: 1 | ||
| + | * **Spell Cost**: 2 magic points | ||
| + | * **Texture**: | ||
| + | |||
| + | ===== Effects ===== | ||
| + | * Creates flame particles at target location using CellEmitter.center().burst() | ||
| + | * Spawns Fire blob (5 strength) at target cell via GameScene.add() | ||
| + | * Uses Ballistica for targeting validation | ||
| + | * Flame particle count scales with caster' | ||
| + | |||
| + | ===== Related mr Entities ===== | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
mr/ignite_spell.txt · Last modified: by 127.0.0.1
