Table of Contents

Speed Buff - Code References

Speed Buff

Machine-readable reference page for the Speed buff entity in Remixed Dungeon.

Java Classes

JSON Configuration

This entity is implemented in Java, no JSON configuration exists

String Resources

<!-- 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

Code Fragment

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;
	}
}

Usage in Game