mr:amok_buff
Table of Contents
Amok Buff - Code References
Java Classes
This entity was originally implemented in Java (`com.watabou.pixeldungeon.actors.buffs.Amok`) but has been migrated to a Lua script.
Lua Scripts
- scripts/buffs/Amok.lua - Current implementation
Key Implementation Details:
- Lua buff module using `scripts/lib/buff` library
- Icon: `9` (BuffIndicator.AMOK)
- Name string: `AmokBuff_Name`
- Info string: `AmokBuff_Info`
- Visual status: `CharSprite.NEGATIVE` (red text)
- Status text: `Char_StaAmok` string resource
Core Functions:
- `desc()` - Returns buff descriptor with icon, name, and info strings
- `attachVisual()` - Shows “AMOK� status text on target when buff is applied
JSON Configuration
This entity is implemented in Lua, no JSON configuration exists
String Resources
- Name: `AmokBuff_Name` - Buff name
- Info: `AmokBuff_Info` - Buff description
- Status text: `Char_StaAmok` - Displayed when buff is applied
Related mr Entities
- Wand of Amok - Wand that applies this buff
- Amok Arrow - Arrow that applies this buff
- Amok Dart - Dart that applies this buff
mr/amok_buff.txt · Last modified: by 127.0.0.1

