mr:ring_of_frost_item
Table of Contents
Ring of Frost Item
Entity Kind
ring_of_frost
Java Class
JSON Configuration
(No specific JSON config for this item)
Lua Script
(No specific Lua script for this item)
String Resource References
- `RingOfFrost_Name`: “Ring of Frost”
- `RingOfFrost_Info`: “This ring is carved from magical ice. It's wearer is protected by a frost aura, slowing and damaging the attacking enemies.”
- Russian: `RingOfFrost_Name`: “Перстень морозу”, `RingOfFrost_Info`: “Перстень вырезано из магического льда. Носитель перстня защищен ледяной аурой, замедляющей и наносящей урон нападающим.”
Code Implementation
This item inherits from Artifact class. It has the following key properties:
- bag(): Returns Bag.KEYRING as it's an artifact that goes in the keyring slot
- isUpgradable(): Returns true, allowing the ring to be upgraded
- glowing(): Returns a cyan glowing effect (0x00FFFF)
- buff(): Returns a FrostAura buff which triggers when an enemy attacks the wearer
- imageFile: “items/rings.png”
- image: 13 (sprite index in rings.png)
FrostAura Buff Mechanics
When an enemy within 1 tile distance attacks the wearer:
- Applies Slow effect for (Slow.duration(enemy) / 5 + ring level) turns
- Has (10% + ring level)% chance to apply Frost effect for (Frost.duration(enemy) / 5 + ring level) turns
- Deals (ring level / 2) damage to the attacking enemy
Related Code References
- Slow buff: Slow.java
- Frost buff: Frost.java
- Artifact base class: Artifact.java
- ArtifactBuff: ArtifactBuff.java
mr/ring_of_frost_item.txt · Last modified: by 127.0.0.1

