====== Speed Buff ====== {{ rpd:images:buff_Speed.png|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: 10 turns (defined as Speed.DURATION = 10f) * 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/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Speed.java|Speed.java]] * Base duration: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Speed.java#L5|Speed.DURATION = 10f]] * Speed multiplier: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Speed.java#L7|hasteLevel() method returns 7.27254f]] * 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 ==== * [[en:rpd:potion_of_speed_item|Potion of Speed]] - Common source of the Speed buff * [[en:rpd:hero|Hero]] - The character affected by this buff * [[en:rpd:movement|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}}