====== Debuffs ====== Debuffs are negative status effects that impair characters in Remixed Dungeon. ==== Description ==== Debuffs are temporary harmful status effects that hinder a character's abilities for a limited duration. They can reduce combat effectiveness, limit movement, or cause damage over time. ==== Common Debuffs ==== * [[en:rpd:burning_buff|Burning]] - Causes ongoing fire damage * [[en:rpd:poison_buff|Poison]] - Causes ongoing damage over time * [[en:rpd:weakness_buff|Weakness]] - Reduces strength and damage * [[en:rpd:paralysis_buff|Paralysis]] - Prevents all actions * [[en:rpd:blindness_buff|Blindness]] - Reduces vision radius * [[en:rpd:charmed_buff|Charm]] - Makes enemies friendly temporarily * [[en:rpd:terror_buff|Terror]] - Forces character to flee * [[en:rpd:amok_buff|Amok]] - Makes character attack everything * [[en:rpd:corruption_buff|Corruption]] - Gradually turns the character into an enemy * [[en:rpd:bleeding_buff|Bleeding]] - Causes damage over time that increases * [[en:rpd:stun_buff|Stun]] - Briefly disables action * [[en:rpd:fear_buff|Fear]] - Causes fleeing behavior * [[en:rpd:drowsy_buff|Drowsy]] - Makes target fall asleep ==== Debuff Mechanics ==== * **Duration**: Most debuffs last for a specific number of turns * **Stacking**: Some debuffs can stack or refresh duration * **Application**: Debuffs can be applied by enemies, traps, or environmental hazards * **Removal**: Some items and abilities can remove negative status effects ==== Common Sources ==== * **Enemies**: Many mobs can apply debuffs through attacks * **Traps**: Various traps apply debuffs when triggered * **Potions**: Some potions apply harmful effects when thrown * **Wands**: Certain wands can apply debuffs to enemies * **Environmental Effects**: Hazards like gas and fire cause debuffs ==== Code References ==== * Debuff System: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Buff.java|Buff.java]] - Base implementation * Actor System: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/Char.java#L250-L275|How characters interact with debuffs]] * Duration System: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Buff.java#L25-L50|Buff duration code]] - How buff durations are calculated * Removal System: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Buff.java#L85-L110|Buff removal code]] - How debuffs are removed * String Resources: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml|strings_all.xml]] - All debuff names and descriptions * Common Debuff Implementations: * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Burning.java|Burning.java]] * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Poison.java|Poison.java]] * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Weakness.java|Weakness.java]] * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Paralysis.java|Paralysis.java]] * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Blindness.java|Blindness.java]] * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Charm.java|Charm.java]] * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Terror.java|Terror.java]] * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Amok.java|Amok.java]] * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Corruption.java|Corruption.java]] * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Bleeding.java|Bleeding.java]] ==== See Also ==== * [[en:rpd:buffs|Buffs]] * [[en:rpd:status_effects|Status Effects]] * [[en:rpd:mobs|Mobs]] * [[en:rpd:traps|Traps]] * [[en:rpd:potion_of_purity_item|Potion of Purity]] {{tag> rpd mechanics debuffs status_effects }}