mr:roar_spell
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mr:roar_spell [2026/01/30 08:30] – Fix issues in random wiki pages: update image references, correct code references, and remove broken links mike | mr:roar_spell [2026/03/21 21:28] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Roar Spell - Code References ====== | ||
| + | |||
| + | {{ rpd: | ||
| + | |||
| + | ===== Java Classes ===== | ||
| + | * [[https:// | ||
| + | |||
| + | ===== JSON Configuration ===== | ||
| + | This entity is implemented in Lua, no JSON configuration exists | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | ===== Lua Scripts ===== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | ===== Full Lua Script Content ===== | ||
| + | <code lua> | ||
| + | --- | ||
| + | --- Generated by EmmyLua(https:// | ||
| + | --- Created by mike. | ||
| + | --- DateTime: 1/6/21 1:43 AM | ||
| + | --- | ||
| + | |||
| + | |||
| + | local RPD = require " | ||
| + | |||
| + | local spell = require " | ||
| + | |||
| + | |||
| + | return spell.init{ | ||
| + | desc = function () | ||
| + | return { | ||
| + | image = 0, | ||
| + | imageFile | ||
| + | name = " | ||
| + | info = " | ||
| + | magicAffinity = " | ||
| + | targetingType = " | ||
| + | level = 1, | ||
| + | castTime | ||
| + | spellCost | ||
| + | } | ||
| + | end, | ||
| + | |||
| + | cast = function(self, | ||
| + | RPD.Sfx.Flare: | ||
| + | RPD.playSound(" | ||
| + | |||
| + | local duration = caster: | ||
| + | for _ = 1, caster: | ||
| + | local tgt = caster: | ||
| + | |||
| + | if tgt:valid() then | ||
| + | RPD.Sfx.Flare: | ||
| + | RPD.affectBuff(tgt, | ||
| + | end | ||
| + | end | ||
| + | |||
| + | return true | ||
| + | end | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | ===== Entity Usage Analysis ===== | ||
| + | Using find_entity_usage.py: | ||
| + | * Lua file: ./ | ||
| + | * Lua file: ./ | ||
| + | * String resources: Roar_Name, Roar_Info | ||
| + | * No Java class implementation (Lua-based spell) | ||
| + | * No JSON configuration (Lua-based spell) | ||
| + | |||
| + | ===== Related mr Entities ===== | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
