User Tools

Site Tools


rpd:shields

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
rpd:shields [2025/12/30 15:44] – Fix link to equipment slots in shields.txt mikerpd:shields [2025/12/30 15:48] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Shields ======
  
 +{{ rpd:images:item_WoodenShield.png|Shield }}
 +
 +**Shields** are defensive equipment items that can be equipped in the Left Hand slot in Remixed Pixel Dungeon.
 +
 +==== Overview ====
 +Shields provide defensive bonuses and blocking capabilities when equipped in the left hand. They can be used in combination with weapons in the main hand, offering protection at the cost of some offensive capability.
 +
 +==== Shield Mechanics ====
 +  * **Slot**: Left Hand equipment slot (can also be wielded as a weapon in main hand)
 +  * **Function**: Provides defensive bonuses and blocking capabilities
 +  * **Strategy**: Offers protection at the cost of some offensive capability
 +  * **Compatibility**: Can be used with one-handed weapons in the main hand, or as a weapon when placed in main hand
 +  * **Block Chance**: Varies by shield level and character strength (30%, 40%, 40%, 50% base chance for levels 1-4)
 +  * **Block Damage**: Reduces incoming damage by a fixed amount (4, 6, 8, 10 base values for levels 1-4, scales with item level)
 +  * **Block Formula**: Base damage reduction = blockForLevel[shieldLevel] * (1.3 ^ itemLevel)
 +  * **Recharge Time**: After blocking, shields require time to recharge before the next block (base 5 turns + strength penalty)
 +  * **Required Strength**: Each shield level requires a minimum strength (Wooden: 12, Tough: 14, Strong: 16, Royal: 18)
 +  * **Weight Penalty**: If character STR is below required STR, block chance is reduced by 10% per point deficit
 +  * **Recharge Formula**: Recharge time = 5 + max(required STR - effective STR, 0)
 +  * **Damage Mechanics**: When wielded as a weapon, damage is calculated as random value between damageMin and damageMax functions based on strength and shield level
 +
 +==== Types of Shields ====
 +  * Wooden Shield - Basic shield (Level 1)
 +  * Tough Shield - Reinforced shield (Level 2)
 +  * Strong Shield - Heavy shield (Level 3)
 +  * Royal Shield - Elite shield (Level 4)
 +  * [[rpd:chaos_shield_item|Chaos Shield]] - Special shield created by fusing a Chaos Crystal with a regular shield
 +
 +==== Combat Strategy ====
 +Using shields changes the combat approach significantly:
 +
 +  * **Defense**: Higher damage reduction and blocking capabilities
 +  * **Offense**: Reduced attack potential compared to dual-wielding
 +  * **Versatility**: Can use main hand for weapons while maintaining defense
 +  * **Tactics**: Best for defensive playstyles or when facing numerous dangerous enemies
 +  * **Block Timing**: Shields must recharge after each block, so timing is crucial
 +  * **Dual Usage**: Can be equipped as a weapon in main hand (with different damage mechanics)
 +
 +==== Content Verification ====
 +  * Information source: Lua Script Library (lib/shields.lua, stats/shields.lua)
 +  * Stats verified: Yes (from strForLevel, chanceForLevel, blockForLevel arrays)
 +  * Mechanics verified: Yes (from shield functions in shields.lua)
 +  * Last updated: December 15, 2025
 +  * Source code: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/lib/shields.lua|shields.lua]]
 +  * Stats source code: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/stats/shields.lua|shields stats]]
 +  * Related Java code: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/armor/GuardianArmor.java|GuardianArmor.java]] for Guardian subclass interaction with shields
 +
 +==== Modding Support ====
 +Remixed Dungeon's modding system supports custom shields with various special properties and effects, allowing for extensive equipment customization.
 +
 +==== See Also ====
 +  * [[rpd:equipment_slots_mechanic|Equipment Slots]]
 +  * [[rpd:mechanics|Game Mechanics]]
 +  * [[rpd:items|Items]]
 +  * [[rpd:dual_wielding|Dual Wielding]]
 +
 +{{tag> rpd shields equipment defensive}}
rpd/shields.txt · Last modified: by 127.0.0.1