====== Witchcraft Affinity - Code References ====== ===== Java Classes ===== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mechanics/spells/SpellHelper.java#L40|SpellHelper.java]] - Maps Witchcraft affinity to icon ID 17 ===== JSON Configuration ===== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/hero/initHeroes.json#L177|initHeroes.json]] - Sets Witchcraft as magic affinity for certain heroes * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/hero/initHeroesDebug.json#L210|initHeroesDebug.json]] - Debug hero initialization with Witchcraft affinity ===== Lua Scripts ===== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/spells/CustomSpellsList.lua#L13|CustomSpellsList.lua]] - Defines spells associated with Witchcraft affinity: Roar, LightningBolt, Heal, Order * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/spells/Roar.lua#L20|Roar.lua]] - Roar spell with Witchcraft affinity * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/spells/LightningBolt.lua#L20|LightningBolt.lua]] - LightningBolt spell with Witchcraft affinity * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/spells/Order.lua#L20|Order.lua]] - Order spell with Witchcraft affinity * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/spells/Heal.lua#L20|Heal.lua]] - Heal spell with Witchcraft affinity ===== Image Resources ===== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/spellsIcons/witchcraft.png|witchcraft.png]] - Icon for Witchcraft affinity spells ===== Related Entities ===== * [[mr:roar_spell]] - Roar spell (Witchcraft affinity) * [[mr:lightning_bolt_spell]] - Lightning Bolt spell (Witchcraft affinity) * [[mr:order_spell]] - Order spell (Witchcraft affinity) * [[mr:heal_spell]] - Heal spell (Witchcraft affinity) * [[mr:gnoll_class]] - Gnoll class (has Witchcraft affinity)