User Tools

Site Tools


rpd:potion_of_levitation_item

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
rpd:potion_of_levitation_item [2025/12/22 23:01] – Wiki maintenance: Update pages to follow naming conventions and verify content mikerpd:potion_of_levitation_item [2025/12/22 23:03] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Potion of Levitation ======
  
 +{{ rpd:images:item_PotionOfLevitation.png|Potion of Levitation }}
 +
 +==== Description ====
 +Drinking this curious liquid will cause you to hover in the air, able to drift effortlessly over traps. Flames and gases fill the air, however, and cannot be bypassed while airborne.
 +
 +==== Effects ====
 +  * **Levitation:** Allows the drinker to float over traps and certain terrain
 +  * **Duration:** 20 turns (Levitation.DURATION constant)
 +  * **Immunity:** Provides immunity to harm from chasms, fire traps, and other weight-based floor hazards
 +  * **Action Message:** "You float into the air!"
 +
 +==== Special Properties ====
 +  * Allows floating over chasms and other terrain hazards that would normally cause harm
 +  * Prevents triggering pressure plates and other weight-based traps
 +  * Does NOT protect against gases or flames (those fill the air and still affect levitating character)
 +  * Removes any existing Roots effect (Roots.detach) when applied
 +  * When the effect ends, triggers level.press() which can trigger any floor-based effects at the character's location
 +
 +==== Content Verification ====
 +  * **Information Source**: Java Class - PotionOfLevitation.java and Levitation.java
 +  * **Stats Verification**: Extracted directly from potion class properties and duration constant
 +  * **Effect Descriptions**: Based on code analysis and string resources
 +  * **Last Updated**: December 2025
 +  * **Source File**: com.watabou.pixeldungeon.items.potions.PotionOfLevitation.java
 +
 +==== Source Code ====
 +  * ''com.watabou.pixeldungeon.items.potions.PotionOfLevitation.java'' - Main potion implementation
 +  * ''com.watabou.pixeldungeon.actors.buffs.Levitation.java'' - Levitation buff implementation (DURATION = 20f)
 +  * ''com.watabou.pixeldungeon.items.potions.Potion.java'' - Base potion class
 +
 +==== Configuration Files ====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L2194-L2196|strings_all.xml]] - English string resources for potion name, description and application message
 +
 +==== String Resources ====
 +  * ''PotionOfLevitation_Name'' - "Potion of Levitation" (R.string.PotionOfLevitation_Name)
 +  * ''PotionOfLevitation_Info'' - Potion description text (R.string.PotionOfLevitation_Info)
 +  * ''PotionOfLevitation_Apply'' - "You float into the air!" (R.string.PotionOfLevitation_Apply)
 +
 +==== Notes ====
 +Potion of Levitation is particularly useful for navigating dangerous areas with traps or pits. However, it won't protect against all hazards while levitating - specifically gases and flames still cause damage since they fill the air. The effect lasts for 20 turns by default, and can be combined with other duration-affecting mechanics.
rpd/potion_of_levitation_item.txt · Last modified: by 127.0.0.1