mr:ring_of_accuracy_item
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| mr:ring_of_accuracy_item [2025/12/29 10:39] – Update ring_of_accuracy_item.txt with detailed code references and mechanics from Java source mike | mr:ring_of_accuracy_item [2026/04/10 05:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== RingOfAccuracy Item - Code References ====== | ||
| + | ===== Java Classes ===== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | ===== JSON Configuration ===== | ||
| + | There are no specific JSON configuration files for this ring in the current assets directory. The ring is defined through Java code. | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | ===== Lua Scripts ===== | ||
| + | This entity is implemented in Java, no Lua script exists. | ||
| + | |||
| + | ===== Item Mechanics ===== | ||
| + | * Provides attack skill bonus equal to ring level: level() bonus to attackSkill | ||
| + | * Implemented through the Accuracy nested buff class | ||
| + | * The buff returns level() as the attack skill bonus (line 19 in RingOfAccuracy.java) | ||
| + | * Description is shown only when the ring is identified (isKnown() check on line 15) | ||
| + | |||
| + | ===== Implementation Details ===== | ||
| + | * Extends Ring base class | ||
| + | * Contains nested Accuracy class that extends RingBuff | ||
| + | * Overrides buff() method to return Accuracy instance | ||
| + | * Overrides desc() method to provide conditional description | ||
| + | * Uses StringsManager for localization support | ||
