====== Frost Aura Buff - Code References ====== ===== Java Classes ===== * **Main Class:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/common/rings/RingOfFrost.java#L38-L57|RingOfFrost.java#L38-L57]] - FrostAura inner class implementation * **Buff Registration:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mechanics/buffs/BuffFactory.java#L165|BuffFactory.java#L165]] - registerBuffClass(RingOfFrost.FrostAura.class) * **Buff Icon:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/ui/BuffIndicator.java#L61|BuffIndicator.java#L61]] - FROSTAURA = 36 * **Base Class:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/rings/Artifact.java|Artifact.java]] - Artifact base class * **ArtifactBuff Base:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/rings/ArtifactBuff.java|ArtifactBuff.java]] - ArtifactBuff base class ===== JSON Configuration ===== This entity is implemented in Java, no JSON configuration exists ===== String Resources ===== * English: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L629-L630|FrostAuraBuff_Name, FrostAuraBuff_Info]] * Russian: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ru/strings_all.xml#L796-L797|FrostAuraBuff_Name, FrostAuraBuff_Info]] * Spanish: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-es/strings_all.xml#L743-L744|FrostAuraBuff_Name, FrostAuraBuff_Info]] * Portuguese (Brazilian): [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-pt-rBR/strings_all.xml#L726-L727|FrostAuraBuff_Name, FrostAuraBuff_Info]] * Chinese (Simplified): [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-zh-rCN/strings_all.xml#L749-L750|FrostAuraBuff_Name, FrostAuraBuff_Info]] * Chinese (Traditional): [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-zh-rTW/strings_all.xml#L698|FrostAuraBuff_Name]] * German: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-de/strings_all.xml#L733-L734|FrostAuraBuff_Name, FrostAuraBuff_Info]] * French: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-fr/strings_all.xml#L777-L778|FrostAuraBuff_Name, FrostAuraBuff_Info]] * Japanese: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ja/strings_all.xml#L759-L760|FrostAuraBuff_Name, FrostAuraBuff_Info]] * Korean: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ko/strings_all.xml#L659|FrostAuraBuff_Name]] * Italian: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-it/strings_all.xml#L636|FrostAuraBuff_Name]] * Polish: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-pl/strings_all.xml#L792-L793|FrostAuraBuff_Name, FrostAuraBuff_Info]] * Ukrainian: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-uk/strings_all.xml#L725|FrostAuraBuff_Name]] * Hungarian: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-hu/strings_all.xml#L682-L683|FrostAuraBuff_Name, FrostAuraBuff_Info]] * Turkish: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-tr/strings_all.xml#L751-L752|FrostAuraBuff_Name, FrostAuraBuff_Info]] * Greek: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-el/strings_all.xml#L788-L789|FrostAuraBuff_Name, FrostAuraBuff_Info]] * Indonesian: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-in/strings_all.xml#L727-L728|FrostAuraBuff_Name, FrostAuraBuff_Info]] * Malay: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ms/strings_all.xml#L682|FrostAuraBuff_Name]] ===== Lua Scripts ===== This entity is implemented in Java, no Lua script exists ===== Implementation Details ===== * **Location:** RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/common/rings/RingOfFrost.java * **Class Type:** Inner static class (RingOfFrost.FrostAura) * **Base Class:** ArtifactBuff * **Icon ID:** BuffIndicator.FROSTAURA (36) * **Source Item:** Ring of Frost artifact ring * **Dependencies:** - com.watabou.pixeldungeon.actors.buffs.Slow - com.watabou.pixeldungeon.actors.buffs.Frost - com.watabou.utils.Random ===== Buff Behavior (from Java code) ===== * **defenceProc:** Called when wearer is attacked * **Effect Range:** Enemies within distance < 2 tiles from wearer * **Slow Effect:** Applies Slow buff with duration = Slow.duration(enemy) / 5 + level * **Frost Chance:** 10 + level% chance to apply Frost buff * **Frost Duration:** Frost.duration(enemy) / 5 + level * **Damage:** Deals level / 2 damage to nearby enemies * **Visual Effect:** Glowing effect with color 0x00FFFF (cyan) ===== Related Files ===== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/common/rings/RingOfFrost.java|RingOfFrost.java]] - Main ring class with FrostAura inner class * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/rings/ArtifactBuff.java|ArtifactBuff.java]] - Base class for artifact buffs * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Slow.java|Slow.java]] - Slow buff applied by FrostAura * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Frost.java|Frost.java]] - Frost buff potentially applied by FrostAura * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mechanics/buffs/BuffFactory.java|BuffFactory.java]] - Buff registration system