mr:shield_class
Differences
This shows you the differences between two versions of the page.
| mr:shield_class [2026/09/05 01:04] – Wiki maintenance: Fix Chinese gnoll_shaman_mob image reference, add 7 missing mr: namespace pages Wiki Maintenance | mr:shield_class [2026/09/05 01:05] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Shield Class - Machine Reference ====== | ||
| + | This page contains machine-readable reference information about the Shield base class and mechanics for automated tools and AI assistants. | ||
| + | |||
| + | ==== Entity Information ==== | ||
| + | * **Entity Type:** Armor (Off-hand/ | ||
| + | * **Base Class:** Shield (abstract) | ||
| + | * **Parent Class:** Armor | ||
| + | * **Equip Slot:** left_hand (Belongings.Slot.LEFT_HAND) | ||
| + | * **Package: | ||
| + | |||
| + | ==== Java Implementation ==== | ||
| + | * **Base Class:** [[https:// | ||
| + | * **Extends: | ||
| + | * **Implements: | ||
| + | * **Slot:** Belongings.Slot.LEFT_HAND | ||
| + | |||
| + | ==== Shield Mechanics ==== | ||
| + | * **Block Chance:** Based on shield level and hero's STR | ||
| + | * **Block Amount:** Based on shield level and item level | ||
| + | * **Recharge Time:** Time between blocks, affected by STR penalty | ||
| + | * **Wait After Block:** Additional delay after blocking | ||
| + | * **Upgradeable: | ||
| + | * **Tier/ | ||
| + | |||
| + | ==== Known Shield Implementations ==== | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | |||
| + | ==== Shield Buff System ==== | ||
| + | * When equipped in left_hand, applies ShieldLeft buff | ||
| + | * When equipped as weapon (two-handed), | ||
| + | * Buff level matches shield level | ||
| + | * Buff source is the shield item | ||
| + | |||
| + | ==== Lua Implementation Pattern ==== | ||
| + | Most shields are implemented in Lua using the shields library: | ||
| + | * Library: [[https:// | ||
| + | * makeShield(shieldLevel, | ||
| + | * Typical shieldLevel: | ||
| + | * Price formula: 40 * shieldLevel | ||
| + | |||
| + | ==== Drop Configuration ==== | ||
| + | * **Treasury.json: | ||
| + | * **SpidersTreasury.json: | ||
| + | |||
| + | ==== Code References ==== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | ==== String Resources ==== | ||
| + | * **Name pattern:** [ShieldName]_Name (e.g., WoodenShield_Name, | ||
| + | * **Description pattern:** [ShieldName]_Desc (e.g., WoodenShield_Desc, | ||
| + | * **English: | ||
| + | * **Russian: | ||
| + | |||
| + | ==== Related Pages ==== | ||
| + | * [[en: | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | |||
| + | {{tag> mr shield armor reference}} | ||
mr/shield_class.txt · Last modified: by 127.0.0.1
