User Tools

Site Tools


mr:potion_of_levitation_item

Potion Of Levitation Item - Code References

Java Classes

JSON Configuration

This entity is implemented in Java, no JSON configuration exists

String Resources

<string name="PotionOfLevitation_Name">Potion of Levitation</string>
<string name="PotionOfLevitation_Info">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.</string>
<string name="PotionOfLevitation_Apply">You float into the air!</string>
<string name="Potion_ItemFliesAway">Used when moistening other items</string>

Lua Scripts

This entity is implemented in Java, no Lua script exists

Implementation Details

  • Base Price: 35 gold
  • Label Index: 2 (used for potion identification)
  • Extends: UpgradablePotion (can be upgraded to improve effects)
  • Primary Effect: Applies Levitation buff with duration based on quality: `Levitation.DURATION * qualityFactor()`
  • Moisten Effects:
    1. Arrows: Detaches 10 * qualityFactor items, makes them fly away
    2. Scrolls: Detaches 3 * qualityFactor items, makes them fly away
    3. Rotten Food: Detaches 1 * qualityFactor items, makes them fly away
  • Drop Source: Air Elemental has 10% chance to drop this potion
  • Spawn Location: Generated in trap rooms by TrapsPainter
mr/potion_of_levitation_item.txt · Last modified: by 127.0.0.1