mr:sniper_armor_item
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mr:sniper_armor_item [2026/08/01 02:26] – Wiki maintenance: Fix 5 random pages for compliance Bot | mr:sniper_armor_item [2026/08/01 02:29] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Sniper Armor Item - Code References ====== | ||
| + | ===== Java Classes ===== | ||
| + | * **Primary Class:** [[https:// | ||
| + | * **Package: | ||
| + | * **Extends: | ||
| + | * **Key Methods:** | ||
| + | * Constructor: | ||
| + | * doEquip(Char hero): Checks if hero.getSubClass() == HeroSubClass.SNIPER, | ||
| + | |||
| + | ===== Hero Subclass Integration ===== | ||
| + | * **HeroSubClass.java: | ||
| + | * **SNIPER Subclass:** Defined with SniperArmor as its class armor | ||
| + | * **ItemFactory.java: | ||
| + | |||
| + | ===== JSON Configuration ===== | ||
| + | * No dedicated JSON configuration file (created via Armor Kit + Sniper subclass) | ||
| + | * Base armor configuration in spritesDesc/ | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | * **English (values/ | ||
| + | * HuntressArmor_Name (line 1075): " | ||
| + | * HuntressArmor_Desc (line 1074): "A huntress in such cloak can create a fan of spectral blades..." | ||
| + | * HuntressArmor_NotHuntress (line 1077): "Only huntresses can use this armor!" | ||
| + | * HuntressArmor_ACSpecial (line 1073): " | ||
| + | * HuntressArmor_NoEnemies (line 1076): "No enemies in sight" | ||
| + | * **Russian (values-ru/ | ||
| + | * HuntressArmor_Name (line 1074): " | ||
| + | * HuntressArmor_Desc (line 1073): " | ||
| + | * HuntressArmor_NotHuntress (line 1076): " | ||
| + | * HuntressArmor_ACSpecial (line 1072): " | ||
| + | * HuntressArmor_NoEnemies (line 1075): " | ||
| + | * **Note:** SniperArmor uses HuntressArmor string resources (inherited from parent class) | ||
| + | |||
| + | ===== Lua Scripts ===== | ||
| + | * No dedicated Lua script (implemented entirely in Java) | ||
| + | |||
| + | ===== Sprite Reference ===== | ||
| + | * **Wiki Image:** wiki-data/ | ||
| + | * **Game Sprite:** RemixedDungeon/ | ||
| + | * **Note:** Uses HuntressArmor sprite sheet | ||
| + | |||
| + | ===== Usage in Code ===== | ||
| + | * **Acquisition: | ||
| + | * **Restriction: | ||
| + | * **Sprite:** Uses HuntressArmor visual appearance (image index 15, hasHelmet = true) | ||
| + | * **Special Ability:** Inherits HuntressArmor' | ||
| + | |||
| + | ===== Related Entities ===== | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | |||
| + | ===== Notes ===== | ||
| + | SniperArmor is a class-specific armor for the Sniper subclass (a Huntress subclass). It is not found as loot but created by applying an Armor Kit to any armor while playing as Sniper. The armor uses the same visual appearance and string resources as HuntressArmor but restricts equipping to the Sniper subclass only. | ||
| + | |||
| + | {{tag> mr items armor class_armor }} | ||
mr/sniper_armor_item.txt · Last modified: by 127.0.0.1
