mr:lightning_bolt_spell
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mr:lightning_bolt_spell [2026/03/01 00:04] – Wiki maintenance: Fix issues found in random page audit Qwen Assistant | mr:lightning_bolt_spell [2026/03/01 00:05] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Lightning Bolt Spell - Machine Readable References ====== | ||
| + | |||
| + | This page contains machine-readable references for the Lightning Bolt spell entity in Remixed Dungeon. | ||
| + | |||
| + | ===== Entity Identification ===== | ||
| + | |||
| + | * **Entity Name**: LightningBolt | ||
| + | * **Entity Type**: Spell | ||
| + | * **Magic Affinity**: Witchcraft | ||
| + | * **Implementation**: | ||
| + | * **getEntityKind()**: | ||
| + | |||
| + | ===== Java Classes ===== | ||
| + | |||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | ===== Lua Script Implementation ===== | ||
| + | |||
| + | **File**: [[https:// | ||
| + | |||
| + | <code lua> | ||
| + | local RPD = require " | ||
| + | local spell = require " | ||
| + | |||
| + | return spell.init{ | ||
| + | desc = function () | ||
| + | return { | ||
| + | image = 1, | ||
| + | imageFile | ||
| + | name = " | ||
| + | info = " | ||
| + | magicAffinity = " | ||
| + | targetingType = " | ||
| + | level = 2, | ||
| + | castTime | ||
| + | spellCost | ||
| + | cooldown | ||
| + | } | ||
| + | end, | ||
| + | |||
| + | castOnChar = function(self, | ||
| + | local lvl = caster: | ||
| + | local damage = math.random(lvl, | ||
| + | RPD.CharUtils: | ||
| + | return true | ||
| + | end | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | **Spell Properties from Lua**: | ||
| + | * **image**: 1 (icon index) | ||
| + | * **imageFile**: | ||
| + | * **name**: LightningBolt_Name (string resource key) | ||
| + | * **info**: LightningBolt_Info (string resource key) | ||
| + | * **magicAffinity**: | ||
| + | * **targetingType**: | ||
| + | * **level**: 2 | ||
| + | * **castTime**: | ||
| + | * **spellCost**: | ||
| + | * **cooldown**: | ||
| + | |||
| + | **Damage Formula**: | ||
| + | <code lua> | ||
| + | damage = math.random(lvl, | ||
| + | </ | ||
| + | |||
| + | ===== JSON Configuration ===== | ||
| + | |||
| + | This entity is implemented entirely in Lua. No JSON configuration file exists for this spell. | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | |||
| + | **English** ([[https:// | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | **Russian** ([[https:// | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | **Spanish** ([[https:// | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | **French** ([[https:// | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | **German** ([[https:// | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | **Portuguese (Brazilian)** ([[https:// | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | **Polish** ([[https:// | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | **Japanese** ([[https:// | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | **Korean** ([[https:// | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | **Chinese (Simplified)** ([[https:// | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | **Ukrainian** ([[https:// | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | **Turkish** ([[https:// | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | **Greek** ([[https:// | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | **Hungarian** ([[https:// | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | **Indonesian** ([[https:// | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | **Malay** ([[https:// | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | ===== Spell Registration ===== | ||
| + | |||
| + | **File**: [[https:// | ||
| + | |||
| + | <code lua> | ||
| + | spells[" | ||
| + | </ | ||
| + | |||
| + | The spell is registered under the Witchcraft magic affinity category. | ||
| + | |||
| + | ===== Related Entities ===== | ||
| + | |||
| + | * **Witchcraft Spells**: Roar, Heal, Order (same magic affinity) | ||
| + | * **Lightning Effects**: [[https:// | ||
| + | * **Spell System**: [[https:// | ||
| + | |||
| + | ===== Images ===== | ||
| + | |||
| + | * **Spell Icon**: lightning_bolt_spell.png (processed for wiki) | ||
| + | * **Generic Icon**: spellsIcons/ | ||
| + | * **Wiki Image Reference**: | ||
| + | |||
| + | ===== Code References Summary ===== | ||
| + | |||
| + | * **Lua Script**: RemixedDungeon/ | ||
| + | * **Spell Registration**: | ||
| + | * **Base Spell Class**: RemixedDungeon/ | ||
| + | * **Lightning Effect**: RemixedDungeon/ | ||
| + | * **String Resources**: | ||
| + | |||
| + | {{tag> mr spell witchcraft lightning lua}} | ||
mr/lightning_bolt_spell.txt · Last modified: by 127.0.0.1
