====== Hero ====== {{ rpd:images:hero_warrior.png|Hero Sprite }} The **Hero** is the main playable character in Remixed Pixel Dungeon. Players control the hero as they explore the dungeon, fight enemies, collect items, and ultimately seek the Amulet of Yendor. ==== Basic Stats ==== * **[[en:rpd:health_mechanic|Starting HP]]:** Varies by class (typically 20-25) * **[[en:rpd:strength|Starting Strength]]:** 10 (varies by class) * **[[en:rpd:armor_class|Starting Armor]]:** Cloth armor * **[[en:rpd:weapon|Starting Weapon]]:** Class-specific weapon * **[[en:rpd:armor|Starting Defense]]:** 0 base [[en:rpd:armor_class|Armor Class]] * **[[en:rpd:experience_system|Starting Level]]:** 1 ==== Hero Classes ==== The hero can choose from several classes, each with unique abilities and characteristics: * [[en:rpd:warrior_class|Warrior]] - High strength and health, focused on melee combat * [[en:rpd:mage_class|Mage]] - Powerful magic abilities and spellcasting * [[en:rpd:rogue_class|Rogue]] - Stealth and mobility specialist with high evasion * [[en:rpd:elf_class|Elf]] - Balanced class with bonus to magic and ranged combat * [[en:rpd:necromancer_class|Necromancer]] - Summons undead minions and uses dark magic * [[en:rpd:gnoll_class|Gnoll]] - Bestial warrior with unique mechanics and high damage * [[en:rpd:priest_class|Priest]] - Divine magic and healing focused class * [[en:rpd:doctor_class|Doctor]] - Support and healing class with medical expertise ==== Attributes ==== The hero has several core attributes that affect gameplay: * **[[en:rpd:health_mechanic|Health (HP)]]** - Determines how much damage the hero can take before dying * **[[en:rpd:strength|Strength]]** - Affects ability to use heavy armor and weapons * **[[en:rpd:dexterity|Dexterity]]** - Influences accuracy and evasion * **[[en:rpd:mana_mechanic|Mana]]** - Used to cast spells (not all classes use mana) * **[[en:rpd:experience_system|Experience]]** - Points gained by defeating enemies and completing quests ==== Equipment ==== The hero can equip various items: * **[[en:rpd:weapon|Weapons]]** - For combat (melee or ranged) * **[[en:rpd:armor|Armor]]** - Provides protection and defense * **[[en:rpd:rings|Rings]]** - Passive bonuses when worn * **[[en:rpd:accessories|Accessories]]** - Unique items with special abilities ==== Mechanics ==== Important mechanics that affect the hero: * [[en:rpd:experience_system|Experience and Leveling]] - Gaining levels and stats * [[en:rpd:belongings|Inventory]] - Managing carried items * [[en:rpd:hunger|Hunger]] - Food requirement system * [[en:rpd:status_effects|Status Effects]] - Temporary buffs and debuffs * [[en:rpd:quickslots|Quickslots]] - Fast access to important items * [[en:rpd:talents|Talents]] - Passive abilities and enhancements ==== Special Abilities ==== Each hero class has unique abilities: * **[[en:rpd:talents|Talents]]** - Passive abilities that evolve as the hero levels up * **[[en:rpd:subclass|Subclasses]]** - Advanced specialization paths after completing boss challenges * **[[en:rpd:hero_subclasses|Subclass Abilities]]** - Enhanced powers granted by subclass selection ==== Hero Progression ==== The hero progresses through the dungeon levels, gaining experience and equipment: * Starting from the [[en:rpd:sewers_level|Sewers]] * Progressing through [[en:rpd:prison_level|Prison]], [[en:rpd:caves_level|Caves]], [[en:rpd:necropolis_level|Necropolis]], [[en:rpd:city_level|City]], to the [[en:rpd:halls_level|Demon Halls]] * Challenging increasingly difficult enemies and bosses * Finding better equipment and consumables * Eventually seeking the [[en:rpd:amulet_item|Amulet of Yendor]] in the deepest reaches ==== Hero Death ==== When the hero's health reaches 0, they die and the game is over: * The hero can be revived with an [[en:rpd:ankh_item|Ankh]] if one is available * Otherwise, the game ends and the player must start again * Some classes have special resurrection abilities ==== Code References ==== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/hero/Hero.java|Hero.java]] - Main hero class implementation * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/hero/HeroClass.java|HeroClass.java]] - Hero class definitions and mechanics * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/hero/HeroSubClass.java|HeroSubClass.java]] - Subclass definitions * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/hero/Belongings.java|Belongings.java]] - Inventory management * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/hero/HeroAction.java|HeroAction.java]] - Hero action system * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L2049-L2057|Hero Strings]] - String resources for hero names and descriptions * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/spritesDesc/Hero.json|Hero.json]] - Sprite configuration for hero classes ==== See Also ==== * [[en:rpd:hero_classes|Hero Classes]] - Detailed information about each class * [[en:rpd:hero_subclasses|Hero Subclasses]] - Mastery paths and advanced classes * [[en:rpd:combat_mechanics|Combat Mechanics]] - How the hero fights enemies * [[en:rpd:talents|Talents]] - Hero progression and abilities * [[en:rpd:belongings|Inventory]] - Managing the hero's equipment and items * [[en:rpd:hero_leveling|Leveling System]] - Experience and character advancement * [[en:rpd:amulet_item|Amulet of Yendor]] - The ultimate goal of the hero's journey {{tag> rpd hero character player}}