====== Burning Buff ====== {{ rpd:images:burning_buff.png|Burning }} Burning is a harmful status effect in Remixed Pixel Dungeon that causes continuous damage to affected characters. It's one of the most common damage-over-time effects in the game. ==== Overview ==== Burning causes continuous damage each turn and can ignite flammable terrain and items. It can be extinguished by entering water tiles or cured with a [[en:rpd:potion_of_purity_item|Potion of Purity]]. ==== Burning Mechanics ==== * **Damage Rate**: Takes damage each turn (1 + bonus damage based on depth, specifically Random.Int(1 + bonusDamage, 5 + bonusDamage) where bonusDamage = Dungeon.depth / 2) * **Duration**: Lasts for approximately 8 turns by default (can be modified by Ring of Elements Resistance) * **Spread**: Can spread to adjacent flammable terrain when on a flammable tile * **Item Damage**: Carried items can be burned and destroyed * **Light Effect**: Provides light to the player character (like [[en:rpd:torch_item|Torch]]) ==== Causes of Burning ==== * **Fire-based Attacks**: [[en:rpd:wand_of_firebolt_item|Wand of Firebolt]], [[en:rpd:fire_elemental_mob|Fire Elemental]] attacks * **Fire Traps**: Stepping on [[en:rpd:fire_trap_trap|Fire Trap]] * **Environmental Hazards**: [[en:rpd:fire|Fire]] terrain * **Enemy Abilities**: [[en:rpd:fire_elemental_mob|Fire Elementals]], [[en:rpd:fire_enchantment|Fire Enchantment]] on weapons * **[[en:rpd:weapon_enchantments|Weapon Enchantments]]**: [[en:rpd:fire_enchantment_enchantment|Fire Enchantment]] * **[[en:rpd:arrows|Arrows]]**: [[en:rpd:fire_arrow_item|Fire Arrows]] * **[[en:rpd:plants|Plants]]**: [[en:rpd:firebloom_plant|Firebloom]] * **Self-infliction**: [[en:rpd:mystery_meat_item|Mystery Meat]], using [[en:rpd:arcane_stylus_item|Arcane Stylus]] on armor ==== Burning Immunities and Resistances ==== * **[[en:rpd:immunities|Immunities]]**: [[en:rpd:fire_elemental_mob|Fire Elementals]], [[en:rpd:piranha|Piranhas]], [[en:rpd:spider_queen_mob|Spider Queen]], [[en:rpd:yogs_brain_mob|Yog's Brain]], [[en:rpd:yogs_heart_mob|Yog's Heart]], [[en:rpd:yogs_teeth_mob|Yog's Teeth]], [[en:rpd:burning_fist_mob|Burning Fist]], [[en:rpd:rotting_fist_mob|Rotting Fist]], [[en:rpd:earthen_guardian_mob|Earthen Guardian]], [[en:rpd:earth_elemental_mob|Earth Elementals]], [[en:rpd:yogsheart_mob|Yog's Heart]] (duplicate entry), [[en:rpd:mirror_image_npc|Mirror Images]] * **[[en:rpd:resistances|Resistances]]**: [[en:rpd:ring_of_elements_item|Ring of Elements]] can provide resistance * **[[en:rpd:cure_mechanics|Curing]]**: [[en:rpd:potion_of_purity_item|Potion of Purity]] removes the effect ==== Effects of Burning ==== * **Continuous Damage**: Takes 1 + (Dungeon.depth / 2) to 5 + (Dungeon.depth / 2) damage each turn * **Item Destruction**: Carried items have a chance to be burned and destroyed * **Terrain Ignition**: Can ignite flammable terrain at the character's position * **Fire Spread**: Spreads to adjacent flammable tiles if standing on flammable terrain * **[[en:rpd:light|Light Generation]]**: Provides light for the hero character * **[[en:rpd:haste_spell|Haste]]**: Extinguished when combined with haste effect * **[[en:rpd:frost_buff|Frost]]**: Frost immediately removes burning effect ==== Countering Burning ==== * **[[en:rpd:potion_of_purity_item|Potion of Purity]]**: Can cleanse status effects including burning * **Water Terrain**: Standing in water typically extinguishes burning (if not flying) * [[en:rpd:frost_buff|Frost]]: Removes burning immediately * **[[en:rpd:ring_of_elements_item|Ring of Elements]]**: Provides resistance reducing duration * **[[en:rpd:levitation_buff|Levitation]]**: Prevents contact with water (if you're burning and levitating, you can't put the fire out in water) ==== Extinguishing Conditions ==== Burning is removed when: * **Water Contact**: Entering water tile while not flying * **[[en:rpd:frost_buff|Frost]]**: Applied to character (frost removes burning) * **[[en:rpd:duration|Duration Expires]]**: Random chance based on 2 + (hp/ht) / 3 formula * **[[en:rpd:potion_of_purity_item|Potion of Purity]]**: Applied to character * **Death**: Character dies while burning ==== Special Mechanics ==== * **Hero Death**: Causes "Burned to death" failure message * **Terrain Interaction**: Can ignite flammable terrain at position * **Light Effect**: Activates Light buff for hero with 1.01f duration * **[[en:rpd:badges|Badge]]**: "Death from fire" badge is validated when hero dies from burning * **Item Burning**: Can burn carried items with visual effects at the character's position ==== Code References ==== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Burning.java|Burning.java]] - Primary implementation * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Burning.java#L32-L34|Burning.java#L32-L34]] - Duration constant (8f) * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Burning.java#L55-L65|Burning.java#L55-L65]] - Main action method with damage calculation (damage 1+bonus to 5+bonus where bonus = depth/2) * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Burning.java#L79-L86|Burning.java#L79-L86]] - Extinguishing conditions (water, duration probability) * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Burning.java#L40-L44|Burning.java#L40-L44]] - Reignite method to reset duration * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Burning.java#L88-L90|Burning.java#L88-L90]] - Duration calculation with Ring of Elements resistance factor * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Burning.java#L92-L98|Burning.java#L92-L98]] - Hero death handling and badge validation * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Burning.java#L100-L101|Burning.java#L100-L101]] - Death message and fail condition * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/Char.java#L1005-L1006|Char.java#L1005-L1006]] - List of buffs that prevent healing * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/hero/Hero.java#L526-L527|Hero.java#L526-L527]] - Special message when hero gets burning ("You catch fire!") * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/blobs/Fire.java#L54|Fire.java#L54]] - How fire terrain applies burning to characters * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/mobs/FireElemental.java#L36|FireElemental.java#L36]] - Fire elemental immunity to burning * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/sprites/CharSprite.java#L90|CharSprite.java#L90]] - Burning state for character sprites * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/rings/RingOfElements.java#L37|RingOfElements.java#L37]] - Ring of Elements resistance to burning * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L561-L564|Burning string resources (English)]] - Burning names and descriptions * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ru/strings_all.xml#L561-L564|Burning string resources (Russian)]] - Russian localization * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Buff.java|Buff.java]] - Base buff class implementation * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Light.java|Light.java]] - Light effect that burning provides to hero * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/rings/RingOfElements.Resistance.java|RingOfElements.Resistance.java]] - Resistance specific implementation * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/effects/Effects.java|Effects.java]] - Burning visual effects * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ru/strings_all.xml#L561-L564|BurningBuff_Name, BurningBuff_Info, Burning_Burns, Burning_Death]] - Russian string resources (name, info, burns message, and death message) * **mr: namespace:** Check [[mr:burning_buff]] for machine-readable data ==== Configuration Files ==== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L561-L564|strings_all.xml]] - English string resources for burning * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ru/strings_all.xml#L561-L564|strings_all.xml (Russian)]] - Russian string resources for burning * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mechanics/buffs/BuffFactory.java#L122|BuffFactory.java#L122]] - Factory registration of burning buff ==== String Resources ==== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L561|BurningBuff_Name]] - "Burning" * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L562|BurningBuff_Info]] - "The body is engulfed in raging flames!" * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L563|Burning_Burns]] - "%s burns up!" * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L564|Burning_Death]] - "You burned to death..." * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L971|Hero_StaBurning]] - "You catch fire!" * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ru/strings_all.xml#L561-L564|Burning strings (Russian)]] - Russian localization ==== Related ==== * [[en:rpd:fire|Fire]] * [[en:rpd:potion_of_purity_item|Potion of Purity]] * [[en:rpd:fire_enchantment|Fire Enchantment]] * [[en:rpd:debuffs|Debuffs]] * [[en:rpd:elemental_damage|Elemental Damage]] * [[en:rpd:resistances|Resistances]] * [[en:rpd:immunities|Immunities]] * [[en:rpd:ring_of_elements_item|Ring of Elements]] * [[en:rpd:status_effects|Status Effects]] * [[en:rpd:frost_buff|Frost]] * [[en:rpd:light|Light]] {{tag> rpd status_effects fire debuffs burning }}