mr:shadow_lord_mob
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mr:shadow_lord_mob [2026/04/03 02:14] – Fix wiki page compliance issues and improve mr: namespace documentation Qwen Assistant | mr:shadow_lord_mob [2026/04/03 02:19] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Shadow Lord Mob - Code References ====== | ||
| + | |||
| + | ===== Java Classes ===== | ||
| + | * **Main Class:** [[https:// | ||
| + | - Package: com.nyrds.pixeldungeon.mobs.common | ||
| + | - Extends: Boss | ||
| + | - Implements: IZapper | ||
| + | - Author: DeadDie (created 13.02.2016) | ||
| + | * **Related Classes:** | ||
| + | - [[https:// | ||
| + | - [[https:// | ||
| + | - [[https:// | ||
| + | |||
| + | ===== JSON Configuration ===== | ||
| + | * **Sprite Config:** [[https:// | ||
| + | * **Bestiary: | ||
| + | * **Dungeon Config:** Referenced in [[https:// | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | ===== Lua Scripts ===== | ||
| + | This entity is implemented in Java, no Lua script exists | ||
| + | |||
| + | ===== Key Implementation Details ===== | ||
| + | * **HP/HT:** 260 (set in constructor: | ||
| + | * **Base Defense Skill:** 40 | ||
| + | * **Base Attack Skill:** 30 | ||
| + | * **Damage Range:** 30-40 | ||
| + | * **Damage Reduction: | ||
| + | * **EXP for Kill:** 60 | ||
| + | * **Drops:** Scroll of Weapon Upgrade (guaranteed) | ||
| + | * **Walking Type:** ABSOLUTE | ||
| + | |||
| + | ===== Special Abilities ===== | ||
| + | * **spawnShadow(): | ||
| + | * **spawnWraith(): | ||
| + | * **twistLevel(): | ||
| + | - Creating an empty level with LevelTools.makeEmptyLevel() | ||
| + | - Building a maze with LevelTools.buildShadowLordMaze() (6 iterations) | ||
| + | - Spawning a Crystal at a pedestal location | ||
| + | - Filling area with Darkness blob (5x5 area) | ||
| + | * **canAttack(): | ||
| + | * **fx():** Uses purpleLight magic missile with zap sound effect | ||
| + | * **damage(): | ||
| + | - Enters Fleeing state | ||
| + | - Blinks away from attacker using CharUtils.blinkAway() | ||
| + | - Calls twistLevel() to transform the arena | ||
| + | - Sets cooldown to 10 turns | ||
| + | * **act():** Per-turn behavior: | ||
| + | - Decrements cooldown | ||
| + | - When fleeing and cooldown < 0: returns to Wandering state, spawns minions (70% Wraith, 30% Shadow) | ||
| + | - Heals from Darkness blobs at current position | ||
| + | - Takes 1 damage from Foliage blobs (with bone particle effect) | ||
| + | * **die():** On death: | ||
| + | - Plays death dialogue | ||
| + | - Resets level with LevelTools.makeEmptyLevel() | ||
| + | - Unseals the level | ||
| + | - Validates SHADOW_LORD_SLAIN badge | ||
| + | |||
| + | ===== Immunities and Resistances ===== | ||
| + | * Inherits from Boss class | ||
| + | * Special interaction with Darkness (healing) and Foliage (damage) blobs | ||
| + | |||
| + | ===== Code References ===== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
