====== Magic Arrow Spell - Code References ====== {{ rpd:images:magic_arrow_spell.png|Magic Arrow Spell }} **Magic Arrow** is a spell in Remixed Dungeon described as "Good old magic arrow, the right choice when you run out of ammo." This is an Elf affinity spell available to Elf class heroes. ===== Java Classes ===== * This spell is referenced in hero initialization files, implementation details are in Lua scripts * Spell system: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/lua/Spells.java|Spells.java]] (Lua spell integration) * Hero initialization: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/hero/initHeroes.json|initHeroes.json]] (spell registration) ===== JSON Configuration ===== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/hero/initHeroes.json|initHeroes.json]] - Registered as Elf spell (line 127) * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/hero/initHeroesDebug.json|initHeroesDebug.json]] - Debug version registration (line 127) ===== String Resources ===== Magic Arrow Good old magic arrow, the right choice when you run out of ammo. Волшебная стрела Старая добрая волшебная стрела, отличный выбор когда закончились боеприпасы. Flecha mágica La buena y vieja flecha mágica, la elección correcta cuando te quedas sin munición. Flecha Mágica Boa e velha flecha mágica, a escolha certa se você estiver sem munição Flèche magique La bonne vieille flèche magique, le bon choix quand on est à court de munitions. Magischer Pfeil Der gute alte Magische Pfeil, die richtige Entscheidung wenn dir die Munition ausgeht. 魔法箭 很好的古老魔法箭,弹尽粮绝时的正确选择。 魔法箭 很好的古老魔法箭,彈盡糧絕時的正確選擇。 マジックアロー 古き良き魔法の矢、弾薬を使い果たしたときの正しい選択だ。 매직 애로 오래된 마법 화살. 탄약이 떨어졌을 때의 좋은 선택이다. Freccia Magica Vecchia e buona freccia magica, la scelta giusta quando rimani senza munizioni. Magiczna Strzała Stara dobra magiczna strzała. idealna kiedy nie masz już amunicji. Чарівна стріла Стара добра чарівна стріла, правильний вибір, коли у вас закінчилися боєприпаси. Varázslövés Büyülü Ok Eski güzel sihirli ok, cephaneniz bittiğinde doğru seçim. μαγικό βέλος Ένα παλιό καλό μαγικό βέλος. Η σωστή επιλογή όταν σου τελειώσουν τα υπόλοιπα. Anak panah Ajaib Anak Panah tua yang bagus, pilihan yang tepat ketika Anda kehabisan amunisi. Panah Ajaib Panah ajaib lama yang baik, pilihan tepat apabila anda kehabisan peluru. ===== Lua Scripts ===== Note: Lua script files for this spell are not present in the current codebase. The spell is registered in hero initialization files and uses the Lua spell system. * Spell registration: Referenced in [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/hero/initHeroes.json|initHeroes.json]] as "MagicArrow" * Spell category: Elf spells ===== Spell Configuration (from Hero Init) ===== * **Magic Affinity**: Elf * **Spell Category**: Elf spells (CustomSpellsList) * **Usage**: Available to Elf class heroes ===== Implementation Details ===== * **Location**: Referenced in hero/initHeroes.json * **Dependencies**: Lua spell system (Spells.java) * **Spell Type**: Ranged damage spell (arrow-based) ===== Related mr Entities ===== * [[mr:elf_class|Elf Class]] * [[mr:elf_affinity|Elf Affinity]] * [[mr:witchcraft_affinity|Witchcraft Affinity]] * [[mr:magic_arrow_item|Magic Arrow (Item)]]