====== Potion of Frost ====== {{ rpd:images:potion_of_frost_item.png|Potion of Frost }} A Potion of Frost is a type of potion in Remixed Dungeon that creates a freezing effect when exposed to air. ==== Effect ==== When shattered, the potion creates a freezing cloud that affects all creatures within 2 tiles of the impact point: * **Freeze:** Creatures are frozen in place, unable to move or act * **Area of Effect:** The freezing cloud affects all creatures within 2 tiles of the impact point * **Duration:** Creatures remain frozen until the effect wears off or is cleared * **Mechanism:** Uses [[en:rpd:freezing|Freezing]] blob to apply the freeze effect ==== Properties ==== * **Rarity:** Common * **Weight:** 1 * **Price:** 50 gold coins (base price) * **Identification:** One use to identify (shatter to learn effect) * **Type:** Throwable Potion * **Upgrade Class:** UpgradablePotion * **Effect Radius:** (int)(DISTANCE * qualityFactor()) where DISTANCE is 2 ==== Mechanics ==== * When shattered at any location, creates an area of effect based on distance map * Uses PathFinder.buildDistanceMap to calculate affected area * Affects all cells within the calculated distance map * Freezing effect is applied to each affected tile using Freezing.affect() * According to string resources: "Upon exposure to open air, this chemical will evaporate into a freezing cloud, causing any creature that contacts it to be frozen in place, unable to act and move." ==== Function ==== * **Shatter:** When thrown at a target or ground, creates the freezing effect cloud * **Arrow Moistening:** Can be used to moisten arrows, turning them into [[en:rpd:frost_arrow_item|Frost Arrows]] * **Utility:** Effective for stopping dangerous enemies or creating temporary barriers * **Environmental interaction:** Can extinguish fires on impact ==== Strategy ==== * Use to temporarily disable dangerous enemies during combat * Particularly effective on single powerful enemies that are difficult to fight * Can be used to create temporary breathing room during difficult encounters * Be careful not to freeze yourself or important allies * Useful for crowd control when facing multiple enemies * Excellent for crowd control in corridors and enclosed spaces * Effective against fire-based enemies for extra damage * Can be used to interrupt enemy casting or special abilities * Combine with other crowd control items for maximum effect * Invaluable for creating Frost Arrows through the moistening process * Particularly effective against fire-based creatures ==== Obtaining ==== * Found as random drops in dungeon levels * Available in shops * Sometimes found in chests * Dropped by certain enemies ==== Content Verification ==== * Java Class: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/potions/PotionOfFrost.java|PotionOfFrost.java]] * Source Code Location: RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/potions/PotionOfFrost.java * String Resource: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L2186|PotionOfFrost_Name]] and [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L2187|PotionOfFrost_Info]] * Effects: Uses [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/blobs/Freezing.java|Freezing.java]] blob to apply freeze effect * Implementation: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/common/ItemFactory.java#L287|registerItemClass(PotionOfFrost.class)]] * Entity Kind: potion_of_frost (via getEntityKind()) * Machine-readable data: [[mr:potion_of_frost_item|mr:potion_of_frost_item]] ==== Related Items ==== * [[en:rpd:potion_item|Potions]] - Other potions in the game * [[en:rpd:frost_arrow_item|Frost Arrows]] - Arrows moistened with this potion * [[en:rpd:frost_buff|Frost Status Effect]] - The freezing effect applied to creatures * [[en:rpd:potion_of_liquid_flame_item|Potion of Liquid Flame]] - Opposite fire-based effect * [[en:rpd:potion_of_overhealing_item|Potion of Overhealing]] - Healing-based alternative {{tag> rpd items potions frost utility}}