====== TownPortal ====== {{ rpd:images:town_portal_spell_icon.png|TownPortal Spell Icon }} **TownPortal** is a spell in Remixed Pixel Dungeon (Common Affinity). ==== Description ==== This spell allows you to instantly return to safety. However, powerful magic sources nearby may prevent it from working as intended. ==== Stats ==== * **Magic Affinity:** Common * **Targeting:** self * **Level:** 2 * **Mana Cost:** 3 * **Special Effects:** teleports the caster ==== Usage ==== The TownPortal spell can be used for: * Escape and repositioning applications * Strategic applications in combat * Utility purposes based on its mechanics ==== Classes ==== Classes that can use this spell include: * Classes with Common affinity (e.g., [[rpd:common|Common class]]) * Other classes that gain access through special means ==== Strategy ==== How to effectively use the TownPortal spell: * Best situations to use the spell * Synergies with other abilities * Timing considerations ==== Data Validation ==== This information is extracted directly from the game code and validated against the source implementation. The details are accurate as of the referenced source files and provide reliable information about the spell mechanics. ==== Content Verification ==== * Information source: Lua Script in Remixed Dungeon codebase * Stats verified: Yes, extracted directly from spell class properties * Effect descriptions: Generated from code analysis and string resources * Last updated: 2025-12-07 based on TownPortal.lua ==== Source Code ==== This page content is based on the Lua Script: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/spells/TownPortal.lua|TownPortal]] ==== See Also ==== * [[rpd:spells|Spells]] * [[rpd:mechanics|Game Mechanics]] * [[rpd:common|Common Affinity]] {{tag> rpd spells common }}