rpd:armor_item
Table of Contents
Armor
Armor in Remixed Dungeon is protective equipment that reduces damage from enemy attacks. Different types of armor offer different levels of protection and special properties.
Armor Categories
- Light Armor: Higher mobility but less protection
- Cloth Armor - Basic armor (Tier 1)
- Leather Armor - Mid-tier light armor (Tier 2)
- Medium Armor: Balanced protection and mobility
- Mail Armor - Balanced protection (Tier 3)
- Scale Armor - Higher protection option (Tier 4)
- Heavy Armor: Maximum protection but reduced mobility
- Plate Armor - Maximum protection (Tier 5)
- Specialty Armor: Class-specific or unique armor
- Class Armor - Mastery armors (GladiatorArmor, BerserkArmor, etc.)
- Chaos Armor - Special variant
- Gothic Armor - Guts DLC armor
- Spider Armor - Special variant
- Rat Armor - Special variant
Base Properties
- Defense Rating: How much damage is reduced from attacks, calculated as:
effectiveDR = tier * 2 + level() * tier + (glyph ? tier : 0) - Durability: How much damage the armor can take before breaking (related to level)
- Strength Requirement: Minimum strength needed to wear effectively (decreases as armor is upgraded)
- Speed Penalty: How much armor may slow you down (based on weight vs strength)
- Tier: Armor classifies from 1-5 based on protection (Cloth to Plate)
- Default Price:
10 * (1 « (tier - 1)), with 50% bonus if glyphed
Special Mechanics
- Glyphs: Armor can have special magical properties added via Arcane Stylus
- Upgrading: Armor can be upgraded with Scrolls of Upgrade to improve defense rating and potentially add enhancement bonuses
- Class Specialization: Some classes get special benefits from specific armor types
- Weight vs. Strength: Heavier armor slows you down if insufficient strength
- Defence Processing: Each armor has a
defenceProcmethod that can modify incoming damage based on its glyph
Base Armor Tiers
- Tier 1: Cloth Armor (tier = 1)
- Tier 2: Leather Armor (tier = 2)
- Tier 3: Mail Armor (tier = 3)
- Tier 4: Scale Armor (tier = 4)
- Tier 5: Plate Armor (tier = 5)
Available Glyphs
- Bounce - Counter-attacks when hit
- Affection - Charms attackers
- Anti-Entropy - Buffs from cold, debuffs from fire
- Multiplicity - Occasional duplication of attacks
- Potential - Generates energy when hit
- Metabolism - Heals from damage dealt
- Stench - Releases toxic gas
- Viscosity - Delays damage until next turn
- Displacement - Teleports when hit
- Entanglement - Creates earthroot armor when hit
Technical Details
- Base Class:
ArmorextendsEquipableItemand implements armor-specific mechanics - Class Armor Creation:
ArmorKittransforms any regular armor into class-specific armor with stats matching the original equipment - Glyph System: Glyphs are selected randomly when armor is generated, or can be applied using Arcane Stylus
- Strength Calculation:
requiredSTR = Math.max(typicalSTR() - level(), 2)wheretypicalSTR = 7 + tier * 2 - Defense Calculation:
effectiveDR = tier * 2 + level() * tier + (glyph ? tier : 0) - Upgrade Behavior: When upgrading glyphed armor, there's a chance to lose the glyph (higher level = higher chance of loss)
Content Verification
- Information Source:
com.watabou.pixeldungeon.items.armor.Armor.java(base class) - Armor Tiers: Defined by 'tier' property in each armor class constructor
- Class Armors:
com.watabou.pixeldungeon.items.ArmorKit.javatransforms regular armor to class armor - Glyph Mechanics: Handled by armor's
inscribemethod in base Armor class andGlyphsubclass implementations
Code References
- Armor.java - Base armor implementation
- ClothArmor.java - Tier 1 armor
- LeatherArmor.java - Tier 2 armor
- MailArmor.java - Tier 3 armor
- ScaleArmor.java - Tier 4 armor
- PlateArmor.java - Tier 5 armor
- ArmorKit.java - Class armor creation
- ArcaneStylus.java - Glyph application
- ClassArmor.java - Mastery armor system
- Glyphs directory - All armor glyph implementations
Configuration Files
- Armor.json - Sprite configuration for armor items
- initHeroes.json - Starting armor for hero classes
String Resources
- Armor-related strings - Armor names and descriptions
- ArmorKit strings - Armor Kit related strings
- Russian armor strings - Russian localization for armor items
Related
- Weapons - Offensive equipment
- Glyphs - Magical properties for armor
- Combat - General combat mechanics
- Shields - Additional protection options
- Armor Kit - Creates class-specific armor
- Arcane Stylus - For adding glyphs
- Class Armor - Mastery armor types
- Equipment - General equipment mechanics
- Belongings - Hero equipment system
rpd/armor_item.txt · Last modified: by 127.0.0.1
