mr:cripple_buff
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mr:cripple_buff [2026/02/19 05:37] – Fix wiki pages: update mr: namespace pages with accurate code refs, remove duplicate levitation.txt, fix broken Gnoll King link in bossmobs.txt, add missing images Qwen Assistant | mr:cripple_buff [2026/02/19 05:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Cripple Buff - Code References ====== | ||
| + | |||
| + | ===== Java Classes ===== | ||
| + | * '' | ||
| + | * Extends: [[https:// | ||
| + | * Registered in: [[https:// | ||
| + | |||
| + | ===== Java Class Content ===== | ||
| + | <code java> | ||
| + | package com.watabou.pixeldungeon.actors.buffs; | ||
| + | |||
| + | import com.nyrds.pixeldungeon.ml.R; | ||
| + | import com.nyrds.platform.util.StringsManager; | ||
| + | import com.watabou.pixeldungeon.actors.Char; | ||
| + | import com.watabou.pixeldungeon.sprites.CharSprite; | ||
| + | import com.watabou.pixeldungeon.ui.BuffIndicator; | ||
| + | |||
| + | public class Cripple extends FlavourBuff { | ||
| + | |||
| + | public static final float DURATION = 10f; | ||
| + | |||
| + | @Override | ||
| + | public int icon() { | ||
| + | return BuffIndicator.CRIPPLE; | ||
| + | } | ||
| + | |||
| + | @Override | ||
| + | public float speedMultiplier(Char chr) { | ||
| + | return 0.5f; | ||
| + | } | ||
| + | |||
| + | @Override | ||
| + | public void attachVisual() { | ||
| + | target.showStatus(CharSprite.NEGATIVE, | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | ===== Key Constants ===== | ||
| + | * Duration: '' | ||
| + | * Speed Multiplier: '' | ||
| + | * Buff Indicator: '' | ||
| + | |||
| + | ===== JSON Configuration ===== | ||
| + | No dedicated JSON configuration file found. Buff is implemented entirely in Java. | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | English ('' | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | Russian ('' | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | ===== Lua Scripts ===== | ||
| + | No Lua script implementation. This buff is implemented entirely in Java. | ||
| + | |||
| + | ===== Usage in Code ===== | ||
| + | Applied by: | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | Removed by: | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | ===== Related Buffs ===== | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | |||
| + | ===== See Also ===== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
mr/cripple_buff.txt · Last modified: by 127.0.0.1
