User Tools

Site Tools


mr:king_mob

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
mr:king_mob [2026/03/06 22:38] – Wiki maintenance: Fix broken links and enhance mr: namespace page Qwen Assistantmr:king_mob [2026/03/06 22:38] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== 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 =====
 +<code java>
 +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
 +}
 +</code>
 +
 +===== 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):
 +<code 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>
 +</code>
 +
 +Russian (values-ru/strings_all.xml):
 +<code 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>
 +</code>
 +
 +===== 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}}
  
mr/king_mob.txt · Last modified: by 127.0.0.1