User Tools

Site Tools


mr:king_mob

King Mob - Code References

Entity Name

king_mob

Java Classes

  • 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

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

String Resources

English (values/strings_all.xml):

<string name="King_Name">King of Dwarves</string>
<string name="King_Name_Objective">King of Dwarves</string>
<string name="King_Desc">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.</string>
<string name="King_Info1">"%s, do you really think that you can defeat me?!"</string>
<string name="King_Info2">"My servants! Obey your king!"</string>
<string name="King_Info3">"Nobody can defeat me! I am eternal!"</string>

Russian (values-ru/strings_all.xml):

<string name="King_Name">король дварфов</string>
<string name="King_Name_Objective">короля дварфов</string>
<string name="King_Desc">Последний король дварфов был известен своим глубоким пониманием процессов жизни и смерти. Он убедил членов своего двора участвовать в ритуале, который должен был даровать им вечную молодость. В конце концов, он был единственным, кто получил это - и армию нежити в придачу.</string>
<string name="King_Info1">"%s, ты действительно думаешь, что сможешь победить меня?!"</string>
<string name="King_Info2">"Слуги! Повинуйтесь своему королю!"</string>
<string name="King_Info3">"Никто не сможет победить меня! Я вечен!"</string>

Lua Scripts

This entity is implemented in Java, no Lua script exists

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
mr/king_mob.txt · Last modified: by 127.0.0.1