User Tools

Site Tools


rpd:armor_item

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
rpd:armor_item [2025/12/22 21:44] – Update wiki pages following naming conventions and fix redlinks mikerpd:armor_item [2025/12/22 21:47] (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_item|Cloth Armor]] - Basic armor (Tier 1)
 +    * [[rpd:leather_armor_item|Leather Armor]] - Mid-tier light armor (Tier 2)
 +  * **Medium Armor:** Balanced protection and mobility
 +    * [[rpd:mail_armor_item|Mail Armor]] - Balanced protection (Tier 3)
 +    * [[rpd:scale_armor_item|Scale Armor]] - Higher protection option (Tier 4)
 +  * **Heavy Armor:** Maximum protection but reduced mobility
 +    * [[rpd:plate_armor_item|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_item|Chaos Armor]] - Special variant
 +    * [[rpd:gothic_armor_item|Gothic Armor]] - Guts DLC armor
 +    * [[rpd:spider_armor_item|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_item|Armor Kit]] on any regular armor - grants special subclass abilities (e.g. [[rpd:gladiator_armor_item|Gladiator]], [[rpd:berserker_armor|Berserker]], [[rpd:warlock_armor_item|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_item|Cloth Armor]] (tier = 1)
 +  * **Tier 2:** [[rpd:leather_armor_item|Leather Armor]] (tier = 2)
 +  * **Tier 3:** [[rpd:mail_armor_item|Mail Armor]] (tier = 3)
 +  * **Tier 4:** [[rpd:scale_armor_item|Scale Armor]] (tier = 4)
 +  * **Tier 5:** [[rpd:plate_armor_item|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
 +
 +==== Code References ====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/armor/Armor.java|Armor.java]] - Base armor implementation
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/armor/ClothArmor.java|ClothArmor.java]] - Tier 1 armor
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/armor/LeatherArmor.java|LeatherArmor.java]] - Tier 2 armor
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/armor/MailArmor.java|MailArmor.java]] - Tier 3 armor
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/armor/ScaleArmor.java|ScaleArmor.java]] - Tier 4 armor
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/armor/PlateArmor.java|PlateArmor.java]] - Tier 5 armor
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/ArmorKit.java|ArmorKit.java]] - Class armor creation
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/arcane_stylus.java|ArcaneStylus.java]] - Glyph application
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/armor/ClassArmor.java|ClassArmor.java]] - Mastery armor system
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/armor/glyphs/|Glyphs directory]] - All armor glyph implementations
 +
 +==== Configuration Files ====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/spritesDesc/Armor.json|Armor.json]] - Sprite configuration for armor items
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/hero/initHeroes.json|initHeroes.json]] - Starting armor for hero classes
 +
 +==== String Resources ====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L1800-L1850|Armor-related strings]] - Armor names and descriptions
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L2400-L2405|ArmorKit strings]] - Armor Kit related strings
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ru/strings_all.xml#L1795-L1845|Russian armor strings]] - Russian localization for armor items
 +
 +==== 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_item|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}}