====== 巫术亲和力 ====== 巫术是 Remixed Dungeon 中可用的魔法亲和力之一。它包含各种与控制、操控和召唤相关的法术和魔法能力。 ==== 相关法术 ==== 属于巫术亲和力的法术包括(定义于 [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/spells/CustomSpellsList.lua#L13|CustomSpellsList.lua:13]]): * [[cn:rpd:heal_spell|治疗]] - 治疗目标的法术 * 咆哮 - 使附近敌人恐惧的法术 * 命令 - 允许控制目标角色的法术 * 闪电 bolt - 造成电击伤害的法术 ==== 具有巫术亲和力的职业 ==== 自然拥有巫术亲和力法术访问权限的职业包括: * 豺狼人 - 豺狼人职业拥有巫术作为其主要魔法亲和力(定义于 [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/hero/initHeroes.json#L177|initHeroes.json:177]]) ==== 机制 ==== 巫术法术通常涉及: * 控制影响敌人行为的效果 * 召唤或操控能力 * 直接影响其他角色的目标机制 ==== 代码参考 ==== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/spells/CustomSpellsList.lua#L13|CustomSpellsList.lua:13]] - 巫术法术列表 * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mechanics/spells/SpellHelper.java#L40|SpellHelper.java:40]] - 巫术图标映射 * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/hero/initHeroes.json#L177|initHeroes.json:177]] - 豺狼人职业魔法亲和力 * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/spellsIcons/witchcraft.png|witchcraft.png]] - 巫术亲和力法术图标 ==== 参见 ==== * [[cn:rpd:healing_spell|法术]] * 法术亲和力 * 豺狼人职业 * 魔法 * 控制效果 {{tag> rpd magic witchcraft affinity }}