====== Magic Missile - Code References ====== ===== Java Classes ===== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/effects/MagicMissile.java|MagicMissile.java]] - visual effect class only (a recycled ''Emitter'' that draws a magic bolt animation between two cells) **Note:** There is no castable spell named "Magic Missile" in Remixed Dungeon. The related game entities are: * The **[[mr:magic_arrow_spell|Magic Arrow]]** spell (Lua: ''scripts/spells/MagicArrow.lua'') — an Elf-affinity damage spell that fires a magic arrow effect and deals 1..casterMaxHP/2 damage. See [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/spells/MagicArrow.lua|MagicArrow.lua]] * The **Wand of Magic Missile** item, which uses the MagicMissile visual effect. See [[mr:wand_of_magic_missile_item|Wand of Magic Missile]] ===== JSON Configuration ===== This entity is implemented in Java, no JSON configuration exists ===== String Resources ===== No "MagicMissile_*" string resources exist. Related strings: Magic Arrow Good old magic arrow, the right choice when you run out of ammo. Wand of Magic Missile ===== Lua Scripts ===== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/lib/commonClasses.lua|commonClasses.lua]] binds the class for Lua use: ''MagicMissile = luajava.bindClass("com.watabou.pixeldungeon.effects.MagicMissile")''