User Tools

Site Tools


rpd:armor

Differences

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

Link to this comparison view

rpd:armor [2025/12/19 12:48] – Fix incorrect links in armor page (glyphs and related pages) mikerpd:armor [2025/12/19 12:50] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Armor ======
  
 +{{ rpd:images:armor_sprite.png|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
 +    * [[rpd:cloth_armor|Cloth Armor]] - Basic armor (Tier 1)
 +    * [[rpd:leather_armor|Leather Armor]] - Mid-tier light armor (Tier 2)
 +  * **Medium Armor:** Balanced protection and mobility
 +    * [[rpd:mail_armor|Mail Armor]] - Balanced protection (Tier 3)
 +    * [[rpd:scale_armor|Scale Armor]] - Higher protection option (Tier 4)
 +  * **Heavy Armor:** Maximum protection but reduced mobility
 +    * [[rpd:plate_armor|Plate Armor]] - Maximum protection (Tier 5)
 +  * **Specialty Armor:** Class-specific or unique armor
 +    * [[rpd:class_armor|Class Armor]] - Mastery armors (GladiatorArmor, BerserkArmor, etc.)
 +    * [[rpd:chaos_armor|Chaos Armor]] - Special variant
 +    * [[rpd:gothic_armor|Gothic Armor]] - Guts DLC armor
 +    * [[rpd:spider_armor|Spider Armor]] - Special variant
 +    * [[rpd:rat_armor|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 [[rpd:arcane_stylus|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
 +  * **Class Armors:** Special armor obtained via [[rpd:armor_kit|Armor Kit]] on any regular armor - grants special subclass abilities (e.g. [[rpd:gladiator_armor|Gladiator]], [[rpd:berserker_armor|Berserker]], [[rpd:warlock_armor|Warlock]], etc.)
 +  * **Defence Processing:** Each armor has a ''defenceProc'' method that can modify incoming damage based on its glyph
 +
 +==== Base Armor Tiers ====
 +  * **Tier 1:** [[rpd:cloth_armor|Cloth Armor]] (tier = 1)
 +  * **Tier 2:** [[rpd:leather_armor|Leather Armor]] (tier = 2)
 +  * **Tier 3:** [[rpd:mail_armor|Mail Armor]] (tier = 3)
 +  * **Tier 4:** [[rpd:scale_armor|Scale Armor]] (tier = 4)
 +  * **Tier 5:** [[rpd:plate_armor|Plate Armor]] (tier = 5)
 +
 +==== Available Glyphs ====
 +  * [[rpd:glyph_of_bounce|Bounce]] - Counter-attacks when hit
 +  * [[rpd:glyph_of_affection|Affection]] - Charms attackers
 +  * [[rpd:glyph_of_anti_entropy|Anti-Entropy]] - Buffs from cold, debuffs from fire
 +  * [[rpd:glyph_of_multiplicity|Multiplicity]] - Occasional duplication of attacks
 +  * [[rpd:glyph_of_potential|Potential]] - Generates energy when hit
 +  * [[rpd:glyph_of_metabolism|Metabolism]] - Heals from damage dealt
 +  * [[rpd:glyph_of_stench|Stench]] - Releases toxic gas
 +  * [[rpd:glyph_of_viscosity|Viscosity]] - Delays damage until next turn
 +  * [[rpd:glyph_of_displacement|Displacement]] - Teleports when hit
 +  * [[rpd:glyph_of_entanglement|Entanglement]] - Creates earthroot armor when hit
 +
 +==== Technical Details ====
 +  * **Base Class:** ''Armor'' extends ''EquipableItem'' and implements armor-specific mechanics
 +  * **Class Armor Creation:** ''ArmorKit'' transforms 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)'' where ''typicalSTR = 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.java'' transforms regular armor to class armor
 +  * **Glyph Mechanics**: Handled by armor's ''inscribe'' method in base Armor class and ''Glyph'' subclass implementations
 +
 +==== Class Implementation ====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/armor/Armor.java|Armor.java]] - Base armor class
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/ArcaneStylus.java|Arcane Stylus]] - Glyph application
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/ArmorKit.java|Armor Kit]] - Class armor creation
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/armor/ClassArmor.java|ClassArmor.java]] - Mastery armor system
 +
 +==== Related ====
 +  * [[rpd:weapons|Weapons]] - Offensive equipment
 +  * [[rpd:glyphs|Glyphs]] - Magical properties for armor
 +  * [[rpd:combat|Combat]] - General combat mechanics
 +  * [[rpd:shields|Shields]] - Additional protection options
 +  * [[rpd:armor_kit|Armor Kit]] - Creates class-specific armor
 +  * [[rpd:arcane_stylus|Arcane Stylus]] - For adding glyphs
 +  * [[rpd:class_armor|Class Armor]] - Mastery armor types
 +  * [[rpd:equipment|Equipment]] - General equipment mechanics
 +  * [[rpd:belongings|Belongings]] - Hero equipment system
 +
 +{{tag> rpd items equipment armor}}
rpd/armor.txt · Last modified: by 127.0.0.1