====== Buffs ====== Buffs are positive status effects that provide beneficial conditions to characters in Remixed Dungeon. ==== Description ==== Buffs are temporary beneficial status effects that enhance a character's capabilities for a limited duration. They can increase combat effectiveness, provide protection, or enable special abilities. ==== Common Buffs ==== * [[en:rpd:invisibility_buff|Invisibility]] - Makes the character invisible to enemies * [[en:rpd:regeneration_buff|Regeneration]] - Gradually restores health * [[en:rpd:heroism_buff|Heroism]] - Increases damage and health * [[en:rpd:levitation_buff|Levitation]] - Allows flying over terrain and traps * [[en:rpd:shadows_buff|Shadows]] - Provides stealth and protection * [[en:rpd:freerunning_buff|Freerunning]] - Increases movement speed * [[en:rpd:shield_buff|Shield]] - Provides temporary damage reduction * [[en:rpd:haste_buff|Haste]] - Increases action speed * [[en:rpd:light_buff|Light]] - Increases vision radius * [[en:rpd:barrier_buff|Barrier]] - Provides damage absorption ==== Buff Mechanics ==== * **Duration**: Most buffs last for a specific number of turns * **Stacking**: Some buffs can stack, others have their duration refreshed * **Application**: Buffs can be self-applied or applied by allies * **Removal**: Buffs naturally expire after their duration ==== Common Sources ==== * **Potions**: Many potions provide beneficial buffs when consumed * **Wands**: Some wands can apply buffs to allies * **Rings**: Certain rings provide permanent or temporary buffs * **Food**: Some food items provide temporary effects * **Artifacts**: Special items that provide various buffs ==== Code References ==== * Buff 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|Char.java]] - How characters interact with buffs * 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 * Application System: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Buff.java#L55-L80|Buff application code]] - How buffs are applied * String Resources: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml|strings_all.xml]] - All buff names and descriptions ==== See Also ==== * [[en:rpd:debuffs|Debuffs]] * [[en:rpd:status_effects|Status Effects]] * [[en:rpd:potions|Potions]] * [[en:rpd:wands|Wands]] * [[en:rpd:rings|Rings]] {{tag> rpd mechanics buffs status_effects }}