mr:dark_sacrifice_spell
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mr:dark_sacrifice_spell [2026/02/28 13:38] – Wiki standards compliance: Fix broken links, add images, improve mr: namespace page Qwen Assistant | mr:dark_sacrifice_spell [2026/02/28 13:40] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Dark Sacrifice Spell - Code References ====== | ||
| + | |||
| + | {{ rpd: | ||
| + | |||
| + | ===== Lua Script Implementation ===== | ||
| + | * [[https:// | ||
| + | |||
| + | **Script Details:** | ||
| + | * File: '' | ||
| + | * Type: Spell (Necromancy affinity) | ||
| + | * Targeting: Character targeting | ||
| + | * Level requirement: | ||
| + | * Mana cost: 3 | ||
| + | * Cast time: 0.5 seconds | ||
| + | |||
| + | **Spell Mechanics (from Lua code):** | ||
| + | <code lua> | ||
| + | return spell.init{ | ||
| + | desc = function () | ||
| + | return { | ||
| + | image = 1, | ||
| + | imageFile | ||
| + | name = " | ||
| + | info = " | ||
| + | magicAffinity = " | ||
| + | targetingType = " | ||
| + | level = 3, | ||
| + | spellCost | ||
| + | castTime | ||
| + | } | ||
| + | end, | ||
| + | castOnChar = function(self, | ||
| + | -- Sacrifices a owned minion to create liquid flame explosion | ||
| + | -- Explosion damage based on minion HP and caster skill level | ||
| + | end | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | **Behavior: | ||
| + | * Targets a character (must be owned by the caster) | ||
| + | * Sacrifices the targeted minion | ||
| + | * Creates a Liquid Flame blob at the sacrifice location | ||
| + | * Explosion damage scales with: '' | ||
| + | * Plays cursed sound effect on successful sacrifice | ||
| + | * Shows shadow particle curse effect on sacrifice sprite | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | **English (values/ | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | **Russian (values-ru/ | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | **Other Languages: | ||
| + | * German (values-de): | ||
| + | * Ukrainian (values-uk): | ||
| + | * Greek (values-el): | ||
| + | * Indonesian (values-in): | ||
| + | |||
| + | ===== Related Code References ===== | ||
| + | * Spell base class: [[https:// | ||
| + | * Common classes: [[https:// | ||
| + | * Liquid Flame blob: Used for explosion effect | ||
| + | * Sound effect: '' | ||
| + | * Particle effect: '' | ||
| + | |||
| + | ===== Game Mechanics References ===== | ||
| + | * Magic Affinity: [[en: | ||
| + | * Spell system: [[en: | ||
| + | * Spells overview: [[en: | ||
| + | |||
| + | {{tag> mr spell necromancy code-reference lua}} | ||
mr/dark_sacrifice_spell.txt · Last modified: by 127.0.0.1
