mr:stun_buff
Table of Contents
Stun Buff - Machine Readable Reference
Java Classes
- Stun.lua - Main stun buff implementation
- Implements via Lua: `scripts/lib/buff` library
- Extends: `FlavourBuff`
- Key methods:
- `attachTo(Char target)` - Paralyzes the target when attached
- `detach()` - Removes paralysis when buff expires
- `icon()` - Returns `BuffIndicator.PARALYSIS` icon
- `charSpriteStatus()` - Returns `CharSprite.State.PARALYSED`
- `attachVisual()` - Shows “stunned� status and adds paralyzed sprite effect
- Default duration: 10 seconds (modified by `RingOfElements.Resistance`)
JSON Configuration
This entity is implemented in Lua, no JSON configuration exists
String Resources
<string name="Char_StaStunned">stunned</string> <string name="StunBuff_Info">Stunned!</string> <string name="StunBuff_Name">Stunned</string>
Lua Scripts
- Stun.lua - Main implementation
Related mr Entities
- Nightmare (Mob) - Can inflict stun
- Spider Guard (Mob) - Can inflict stun
- Paralysis Enchantment (Item) - Related paralysis effect
- Paralysis Arrow (Item) - Related paralysis effect
mr/stun_buff.txt · Last modified: by 127.0.0.1

