mr:speed_buff
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mr:speed_buff [2026/03/11 10:15] – Fix wiki standards compliance issues on 5 random pages Qwen Assistant | mr:speed_buff [2026/03/14 22:26] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Speed Buff - Code References ====== | ||
| + | |||
| + | {{ rpd: | ||
| + | |||
| + | Machine-readable reference page for the Speed buff entity in Remixed Dungeon. | ||
| + | |||
| + | ===== Java Classes ===== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | ===== JSON Configuration ===== | ||
| + | This entity is implemented in Java, no JSON configuration exists | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | <code xml> | ||
| + | <!-- String resources would be defined in strings_all.xml --> | ||
| + | <!-- Name and description strings for the Speed buff --> | ||
| + | </ | ||
| + | |||
| + | ===== Lua Scripts ===== | ||
| + | This entity is implemented in Java, no Lua script exists | ||
| + | |||
| + | ===== Implementation Details ===== | ||
| + | * **Package**: | ||
| + | * **Extends**: | ||
| + | * **Duration Constant**: DURATION = 10f (10 seconds / 100 game ticks) | ||
| + | * **Haste Multiplier**: | ||
| + | * **Method Override**: hasteLevel(Char chr) returns 7.27254f | ||
| + | * **Buff Type**: Positive buff (FlavourBuff subclass) | ||
| + | * **Target**: Applied to Char (character/ | ||
| + | |||
| + | ===== Code Fragment ===== | ||
| + | <code java> | ||
| + | package com.watabou.pixeldungeon.actors.buffs; | ||
| + | |||
| + | import com.watabou.pixeldungeon.actors.Char; | ||
| + | |||
| + | public class Speed extends FlavourBuff { | ||
| + | |||
| + | public static final float DURATION = 10f; | ||
| + | |||
| + | @Override | ||
| + | public float hasteLevel(Char chr) { | ||
| + | return 7.27254f; | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | ===== Related Entities ===== | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | |||
| + | ===== Usage in Game ===== | ||
| + | * Applied by various sources (potions, spells, equipment) | ||
| + | * Increases movement and attack speed by 7.27x | ||
| + | * Lasts for 10 seconds (100 game ticks) | ||
| + | * No negative side effects (FlavourBuff) | ||
