====== Warlock (Mage Subclass) ====== {{ rpd:images:hero_mage_warlock.png|Warlock Subclass Sprite }} **Warlock** is a hero subclass for the [[en:rpd:mage_class|Mage]] class in Remixed Dungeon. After killing an enemy, the Warlock consumes its soul, which heals wounds and satisfies hunger. > **Note:** This page describes the **hero subclass** for the Mage class. For the enemy mob also called Warlock, see [[en:rpd:warlock_mob|Warlock (Mob)]]. ==== Description ==== After killing an enemy, the _Warlock_ consumes its soul. This heals his wounds and satisfies his hunger. This unique ability allows the Warlock to sustain themselves in the dungeon by defeating enemies, making them a self-sufficient subclass that can recover from battles. ==== Abilities ==== * **Soul Consumption:** After defeating an enemy, the Warlock consumes its soul (source: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L1008|strings_all.xml:1008]]) * **Healing Effect:** Soul consumption heals wounds sustained in combat * **Hunger Satisfaction:** Soul consumption satisfies the hero's hunger, reducing the need for food items * **Sustainable Combat:** The Warlock can potentially fight for longer periods without external resources ==== Playstyle ==== The Warlock playstyle focuses on: * **Aggressive Combat:** Actively seeking out enemies to consume their souls * **Self-Sufficiency:** Reducing reliance on healing items and food by using defeated enemies * **Sustained Battles:** Maintaining health and satiation during longer dungeon runs * **Resource Recycling:** Converting enemies into healing and satiation resources ==== Equipment Synergy ==== * Works well with weapons that can quickly defeat enemies for soul consumption * Benefits from items that increase damage output for faster kills * Effective with equipment that enhances survivability during combat * Class-specific armor: [[en:rpd:warlock_armor_item|Warlock Armor]] (obtained via [[en:rpd:armor_kit_item|Armor Kit]]) ==== Code References ==== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/hero/HeroSubClass.java|HeroSubClass.java]] - Warlock subclass definition (WARLOCK enum value) * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L1007-L1008|strings_all.xml:1007-1008]] - Warlock subclass name and description (English) * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ru/strings_all.xml#L993-L994|strings_all.xml (ru):993-994]] - Russian name and description * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/hero/HeroClass.java|HeroClass.java]] - Mage class definition (parent class) * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/hero/initHeroes.json|initHeroes.json]] - Hero starting equipment configuration * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/armor/WarlockArmor.java|WarlockArmor.java]] - Class-specific armor for Warlock subclass ==== Related ==== * [[en:rpd:mage_class|Mage Class]] - The parent class for Warlock subclass * [[en:rpd:hero_subclasses|Hero Subclasses]] - All subclasses in the game * [[en:rpd:battle_mage_subclass|Battle Mage]] - Another Mage subclass * [[en:rpd:warlock_mob|Warlock (Mob)]] - Enemy mob with the same name (distinct entity) * [[en:rpd:classes_mechanic|Playable Classes]] - All playable character classes * [[en:rpd:hunger_buff|Hunger]] - Detailed information about hunger mechanics {{tag> rpd classes subclass hero mage warlock soul_consumption healing}}