User Tools

Site Tools


en:rpd:levitation_buff

Differences

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

Link to this comparison view

en:rpd:levitation_buff [2026/01/01 19:45] – namespace move Mikeen:rpd:levitation_buff [2026/01/01 19:47] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Levitation ======
  
 +**Levitation** is a beneficial status effect in Remixed Dungeon that allows the affected character to float above the ground.
 +
 +==== Effect Description ====
 +  * **Type:** Beneficial Status Effect (Buff)
 +  * **Effect:** Allows floating above ground level
 +  * **Duration:** 20 turns (Levitation.DURATION = 20f)
 +  * **Source:** Primarily from drinking a [[en:rpd:potion_of_levitation_item|Potion of Levitation]]
 +
 +==== How to Obtain ====
 +  * From drinking a [[en:rpd:potion_of_levitation_item|Potion of Levitation]]
 +  * From certain spells or class abilities
 +  * From special items or environmental effects
 +
 +==== Mechanics ====
 +  * Allows movement over traps without triggering them
 +  * Enables passage over special terrain that would normally impede movement
 +  * Prevents certain ground-based effects from affecting the character
 +  * Blocks the Roots status effect (detaches any roots currently affecting the character via Roots.detach())
 +  * When effect ends, the game calls Dungeon.level.press() which may trigger floor effects at the character's position
 +  * Character sprite shows as CharSprite.State.LEVITATING
 +  * Uses BuffIndicator.LEVITATION for icon in UI
 +
 +==== Strategy ====
 +  * Excellent for safely crossing trap-filled areas
 +  * Allows bypassing certain obstacles or difficult terrain
 +  * Useful for avoiding ground-based harmful effects
 +  * Good for navigating dangerous floor tiles
 +  * Timing the end of the effect is important to avoid landing in dangerous areas
 +
 +==== Code Reference ====
 +  * Java Class: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Levitation.java|Levitation.java]]
 +  * Duration constant: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Levitation.java#L7|Levitation.DURATION = 20f]]
 +  * Related Classes: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Roots.java|Roots.java]] (detached when levitation starts)
 +  * Extension: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/FlavourBuff.java|FlavourBuff.java]]
 +  * UI Indicator: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/ui/BuffIndicator.java#L22|BuffIndicator.LEVITATION]]
 +  * Sprite State: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/sprites/CharSprite.java#L59|CharSprite.State.LEVITATING]]
 +
 +==== String Resources ====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L3020|Levitation_Name]]
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L3021|Levitation_Info]]
 +
 +==== Russian String Resources ====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ru/strings_all.xml#L3021|Levitation_Name]]
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ru/strings_all.xml#L3022|Levitation_Info]]
 +
 +==== See Also ====
 +  * [[en:rpd:status_effects|Status Effects]] - Other status changes
 +  * [[en:rpd:potion_of_levitation_item|Potion of Levitation]] - Primary source of levitation
 +  * [[en:rpd:roots_buff|Roots]] - Effect that Levitation counteracts
 +  * [[en:rpd:mechanics|Game Mechanics]] - Other core systems
 +  * [[en:rpd:traps|Traps]] - Traps that can be avoided with levitation
 +  * [[en:rpd:buffs|Buffs]] - Other helpful status effects
 +  * [[en:rpd:flavour_buff|Flavour Buff]] - Parent class for this buff
 +
 +{{tag> rpd mechanics status_effects buffs levitation}}