mr:succubus_mob
Table of Contents
Succubus Mob - Code References
Succubus is a mob entity in Remixed Dungeon, a demon that can charm heroes and blink around the battlefield.
Java Classes
- Succubus.java - Main mob class extending Mob
Code Behavior
- HP: 80 (set via `hp(ht(80))` in constructor)
- Attack: 15-25 damage (`dmgMin = 15`, `dmgMax = 25`) with 40 attack skill (`baseAttackSkill = 40`)
- Defense: 10 DR (`dr = 10`) with 25 defense skill (`baseDefenseSkill = 25`)
- Special Ability: 33% chance to apply Charm buff for 2-5 turns on attack (see `attackProc()` method)
- Blink Ability: Can blink to target every 5 turns (`BLINK_DELAY = 5`) if target is visible and more than 2 cells away (see `getCloser()` method)
- View Distance: Increased by 1 compared to normal mobs (set in `onSpawn()` method)
- Immunities: Immune to Sleep and Leech enchantment (`addImmunity(Sleep.class)`, `addResistance(Leech.class)`)
- Loot: 5% chance to drop Scroll of Lullaby (`loot(new ScrollOfLullaby(), 0.05f)`)
- Experience: 12 EXP (`expForKill = 12`), max level 25 (`maxLvl = 25`)
- Carcass Chance: 0% (no corpse left, `carcassChance = 0`)
Key Methods
- `attackProc(Char enemy, int damage)` - Applies Charm buff with 33% chance on attack
- `getCloser(int target, boolean ignorePets)` - Handles blinking movement every 5 turns
- `onSpawn(Level level)` - Increases view distance by 1 when spawned
JSON Configuration
This entity is implemented in Java, no JSON configuration exists
String Resources
<string name="Succubus_Name">succubus</string> <string name="Succubus_Name_Objective">succubus</string>
Lua Scripts
This entity is implemented in Java, no Lua script exists
Related mr Entities
Wiki Pages
mr/succubus_mob.txt · Last modified: by 127.0.0.1

