====== Stats ====== {{ rpd:images:stats_example.png|Stats Interface }} Stats in Remixed Dungeon represent the core numerical attributes that affect your character's performance throughout the dungeon. Understanding your stats is crucial for survival and success. ==== Primary Stats ==== ==== Strength ==== * **Base Value**: 10 for most classes (12 for Warrior) * **Function**: Affects carrying capacity, ability to wear heavy armor, and melee damage with weapons * **Requirements**: Heavy armor requires strength equal to or greater than its strength requirement * **Carrying Capacity**: Higher strength allows carrying more items without weight penalties * **Damage**: Strength above the weapon's requirement provides a damage bonus * **Code Reference**: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/hero/Hero.java|Hero.java]] * **String Resource**: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L1701-L1703|Strength strings]] ==== Health Points (HP) ==== * **Starting HP**: Varies by class, typically 20 for most classes * **HP Growth**: Increases with levels, typically 1-2 HP per level * **Max HP**: Affected by items like Ring of Might, Potions of Might, etc. * **Mechanics**: When HP reaches 0, the hero dies ==== Magic Power ==== * **Affects**: Spell damage and effectiveness * **Growth**: Increases with levels and specific items * **Related**: Affected by various items and enchantments ==== Secondary Stats ==== ==== Attack Skill ==== * **Function**: Affects hit chance in melee and ranged combat * **Calculation**: Base value + strength bonus + equipment + buffs * **Formula**: Hit chance = Attack Skill / (Attack Skill + Defense Skill of target) ==== Defense Skill ==== * **Function**: Affects dodge chance in melee and ranged combat * **Calculation**: Base value + dexterity bonus + equipment + buffs * **Formula**: Dodge chance = Defense Skill / (Attack Skill of attacker + Defense Skill) ==== Accuracy ==== * **Function**: Affects hit chance with ranged weapons * **Related to**: Attack Skill and specific weapon mechanics * **[[en:rpd:accuracy|Accuracy]]**: See dedicated page for details ==== Magic Power ==== * **Function**: Affects spell damage and effectiveness * **Growth**: Increases with levels and specific items ==== Tertiary Stats ==== ==== Speed ==== * **Function**: Affects movement speed and initiative in combat * **Formula**: Actual speed is modified by equipment, terrain, and status effects * **Equipment Impact**: Heavier armor typically reduces speed ==== Carry Weight ==== * **Function**: Determines how much equipment and items can be carried * **Based on**: Strength stat with possible equipment bonuses * **Penalty**: Exceeding carry weight reduces movement speed ==== Equipment and Stats ==== ==== Strength Requirement ==== * **Equipment**: Each armor and weapon has a strength requirement * **Penalty**: Using equipment below your strength requirement causes penalties * **Failure**: Cannot equip items with strength requirement higher than current strength * **Benefits**: Equipping items matching or below requirement provides bonuses ==== Class-Specific Stats ==== * [[en:rpd:warrior_class|Warrior]]: Higher base strength, starting HP * [[en:rpd:mage_class|Mage]]: Enhanced magic power growth * [[en:rpd:rogue_class|Rogue]]: Higher accuracy and dodging * [[en:rpd:huntress_class|Huntress]]: Enhanced ranged combat capabilities * [[en:rpd:elf_class|Elf]]: Balanced stats with unique spell affinity ==== Stat Improvement ==== ==== Leveling Up ==== * **Primary Stats**: HP increases with each level * **Secondary Stats**: Attack and Defense Skill improve with levels * **Growth Rate**: Varies by class and current stats ==== Items Affecting Stats ==== * **Potions**: Potions of Might increase strength * **Rings**: Various rings provide stat bonuses * **Armor**: Class armors provide various stat bonuses * **Artifacts**: Some artifacts enhance specific stats ==== Code References ==== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/hero/Hero.java|Hero.java]] - Main stat implementation * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/hero/Belongings.java|Belongings.java]] - Equipment stat calculations * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/Char.java|Char.java]] - Base character stats and mechanics ==== See Also ==== * [[en:rpd:hero|Hero]] * [[en:rpd:classes|Classes]] * [[en:rpd:upgrading|Upgrading]] * [[en:rpd:equipment|Equipment]] * [[en:rpd:strength|Strength]] {{tag> rpd stats hero mechanics}}