====== Town Portal Spell ====== {{ rpd:images:town_portal_spell_icon.png|Town Portal Spell Icon }} **Town Portal** is a spell in Remixed Pixel Dungeon (Common Affinity) that allows you to instantly return to the town area. ==== Description ==== This spell allows you to instantly return to safety, teleporting the caster directly to the town level. However, it cannot be used on boss levels. ==== Stats ==== * **Magic Affinity:** Common * **Targeting:** self * **Level:** 2 * **Mana Cost:** 3 * **Cast Time:** 2 turns * **Special Effects:** teleports the caster to town (coordinates 15,11 on town_2 level) ==== Mechanics ==== * When cast, the spell sets your portal level coordinates to your current position * Then teleports you to the town_2 level at coordinates (15,11) * If the spell is cast on a boss level, it will fail with the message "No teleportation on boss levels" * This allows for safe retreat from dangerous situations ==== Classes ==== Classes with Common magic affinity can use this spell. ==== Strategy ==== * Use this spell to escape dangerous situations and return to town safely * It's particularly useful after completing a level when you want to return to vendor services * Good for escaping when low on health or resources * Cannot be used during boss fights ==== Code References ==== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/spells/TownPortal.lua|TownPortal.lua in code]] ==== See Also ==== * [[en:rpd:spells|Spells]] * [[en:rpd:mechanics|Game Mechanics]] * [[en:rpd:common|Common Affinity]] {{tag> rpd spells common }}