====== King Mob - Code References ====== ===== Entity Name ===== king_mob ===== Java Classes ===== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/mobs/King.java|King.java]] - Main boss class for King of Dwarves ===== Class Implementation ===== package com.watabou.pixeldungeon.actors.mobs; import com.nyrds.Packable; import com.nyrds.pixeldungeon.ai.MobAi; import com.nyrds.pixeldungeon.ai.Wandering; import com.watabou.pixeldungeon.actors.Char; import com.watabou.pixeldungeon.actors.blobs.ToxicGas; import com.watabou.pixeldungeon.actors.buffs.Paralysis; import com.watabou.pixeldungeon.actors.buffs.Stun; import com.watabou.pixeldungeon.items.ArmorKit; import com.watabou.pixeldungeon.items.keys.SkeletonKey; public class King extends Boss { // HP: 300, EXP: 40 // Defense: 25, Attack: 32 // Damage: 20-38, DR: 14 // Immunities: Stun, Paralysis, ToxicGas // Drops: SkeletonKey, ArmorKit // Special ability: Summons Undead servants from pedestals } ===== JSON Configuration ===== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/mobsDesc/King.json|King.json]] - Mob configuration * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/spritesDesc/King.json|King.json]] - Sprite configuration ===== Special Abilities ===== * **Undead Summoning**: Summons Undead servants from pedestals in the boss arena * **Army Size**: Can summon up to 5 undead servants based on difficulty and HP * **Pedestal Teleportation**: Teleports to pedestals to summon minions * **Toxic Gas Resistance**: Immune to toxic gas damage * **Stun/Paralysis Immunity**: Cannot be stunned or paralyzed ===== Drops ===== * [[en:rpd:skeleton_key_item|Skeleton Key]] - Opens the door to the next level * [[en:rpd:armor_kit_item|Armor Kit]] - Used to upgrade class armor ===== String Resources ===== English (values/strings_all.xml): King of Dwarves King of Dwarves The last king of dwarves was known for his deep understanding of the processes of life and death. He had persuaded members of his court to participate in a ritual, that should have granted them eternal youthfulness. In the end he was the only one who got it - and an army of undead as a bonus. "%s, do you really think that you can defeat me?!" "My servants! Obey your king!" "Nobody can defeat me! I am eternal!" Russian (values-ru/strings_all.xml): король дварфов короля дварфов Последний король дварфов был известен своим глубоким пониманием процессов жизни и смерти. Он убедил членов своего двора участвовать в ритуале, который должен был даровать им вечную молодость. В конце концов, он был единственным, кто получил это - и армию нежити в придачу. "%s, ты действительно думаешь, что сможешь победить меня?!" "Слуги! Повинуйтесь своему королю!" "Никто не сможет победить меня! Я вечен!" ===== Lua Scripts ===== This entity is implemented in Java, no Lua script exists ===== Related mr Entities ===== * [[mr:undead_mob|Undead_Mob]] - Summoned servant mobs * [[mr:boss_mob|Boss_Mob]] - Parent boss class ===== Content Verification ===== * Information source: Java code (King.java) and string resources * Last updated: 2026-03-06 based on current codebase analysis * Verified against: RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/mobs/King.java * Boss stats: HP 300, EXP 40, Defense 25, Attack 32, Damage 20-38, DR 14 * Immunities: Stun, Paralysis, ToxicGas * Max army size: 5 Undead servants {{tag>mr mobs boss code_reference}}