mr:ring_of_elements_item
Table of Contents
Ring Of Elements Item - Code References
Java Classes
- Main Implementation: RingOfElements.java
- Base Class: Ring.java
- Item Registration: ItemFactory.java (line 304)
- Buff Factory: BuffFactory.java (line 103 - RING_OF_ELEMENTS constant)
Inner Classes
- Resistance: Inner class within RingOfElements.java that provides the ring's buff effect
- Provides resistance to: Burning, ToxicGas, Poison, LightningTrap.Electricity, Warlock, Eye, BurningFist, LiquidFlame
- Uses probabilistic resistance based on ring level (level + 3 chance)
- Duration factor formula: (2 + 0.5 * level) / (2 + level) for positive levels
JSON Configuration
- Treasury Spawns: Treasury.json (line 76)
- Spider's Treasury: SpidersTreasury.json (line 75)
String Resources
- English: strings_all.xml (RingOfElements_Name, RingOfElements_Info)
- Russian: strings_all.xml (Кольцо Стихий)
- Spanish: strings_all.xml (Anillo Elemental)
- French: strings_all.xml (Anneau des éléments)
- German: strings_all.xml (Ring der Elemente)
- Portuguese (BR): strings_all.xml (Anel dos Elementos)
- Italian: strings_all.xml (Anello degli Elementi)
- Japanese: strings_all.xml (元素のリング)
- Korean: strings_all.xml (원소의 반지)
- Chinese (Simplified): strings_all.xml (元素戒指)
- Chinese (Traditional): strings_all.xml (元素之戒)
- Polish: strings_all.xml (Pierścień Żywiołów)
- Ukrainian: strings_all.xml (Перстень стихій)
- Hungarian: strings_all.xml (Az Elemek Gyűrűje)
- Turkish: strings_all.xml (Elementler Yüzüğü)
- Greek: strings_all.xml (δαχτυλίδι των στοιχείων)
- Indonesian: strings_all.xml (Cincin Elemen)
- Malay: strings_all.xml (Cincin Unsur)
Lua Scripts
This entity is implemented in Java, no Lua script exists
Buffs Used By
The Resistance inner class is imported and used by multiple buff classes:
Game Mechanics
- Resistances Provided: Fire (Burning, LiquidFlame), Poison (ToxicGas, Poison), Electricity (LightningTrap), Dark Magic (Warlock, Eye, BurningFist)
- Resistance Chance: Random.Int(level + 3) >= 3 (increases with ring level)
- Duration Reduction: Formula (2 + 0.5 * level) / (2 + level) reduces negative effect duration
- Spawn Locations: Treasury, Spider's Treasury dungeon levels
mr/ring_of_elements_item.txt · Last modified: by 127.0.0.1
