====== Speed Buff ====== ==== Description ==== The Speed buff increases movement speed, allowing the character to move more quickly through the dungeon. This can be useful for escaping dangerous situations or reaching destinations faster. ==== Effects ==== * Increases movement speed of the character * Allows faster traversal of dungeon levels * May improve ability to avoid certain attacks or hazards * Reduces the time needed to move between locations * **Speed Multiplier:** Speed multiplier is 7.27254 (based on hasteLevel() method returning 7.27254f) ==== Duration ==== * Base duration varies by source (not explicitly set in current Lua implementation) * The duration of the Speed buff varies depending on the source that applied it * When the buff expires, movement speed returns to normal ==== Sources ==== * Potions of Speed can grant this effect * Some equipment may provide this buff under certain conditions * Various spells or items that enhance mobility * Special circumstances or abilities that boost movement ==== Code Reference ==== * Implementation: [[https://github.com/NYRDS/remixed-dungeon/blob/master/scripts/buffs/Speed.lua|Speed.lua]] (migrated from Java) * Haste level: `hasteLevel()` returns 7.27254 * Movement integration: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/Char.java#L205|Char.moveTime() method]] uses hasteLevel() for movement speed calculation * Machine-readable data: [[mr:speed_buff|mr:speed_buff]] ==== Related ==== * Potion of Speed (common source) * [[en:rpd:hero|Hero]] - The character affected by this buff * Movement - Core mechanic affected by this buff * [[en:rpd:haste_spell|Haste]] - Similar effect that may also increase attack speed * [[en:rpd:buffs|Buffs]] - Other status effects {{tag> rpd buffs status_effects movement}}