====== Chaos Sword ====== Created by using a fully identified [[en:rpd:chaos_crystal_item|Chaos Crystal]] (50+ charges) to "fuse" with any melee weapon via the crystal's **Fuse** action. ==== Stats ==== * **Damage:** Varies based on original weapon * **Durability:** Normal * **Strength Required:** Varies based on original weapon * **Level:** Starts at +0, increases with combat damage dealt ==== Special Properties ==== * A chaotic weapon with unpredictable but powerful effects * Gains levels when the owner deals damage with it (level increases with damage dealt) * Loses all enchantments and degrades to +0 at specific level thresholds (level 4+ will reset to +0 when charge reaches 0) * Can be any melee weapon type (sword, axe, mace, etc.) depending on the original weapon fused ==== Mechanics ==== The Chaos Sword's level increases as the wielder deals damage. At certain levels (starting at level 4), when its internal charge counter reaches 0, it will downgrade to +0 level but retain its base weapon type and any previous enchantments are lost. The charge required to reach the next level is calculated as `5 * (current_level^1.5)`. ==== Acquisition ==== * Use the **Fuse** action on a Chaos Crystal (requires 50+ charges and crystal to be fully identified) * Select any melee weapon to fuse with * The Chaos Crystal will transform the selected weapon into a Chaos Sword ==== Notes ==== Chaos Sword is a unique weapon that converts any melee weapon into a chaotic variant. The chaotic energy within makes it extremely effective but difficult to control. Unlike other weapons, it doesn't have a static enchantment but constantly evolves through combat. ==== Source Code References ==== * Core implementation: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/chaos/ChaosSword.java|ChaosSword.java]] * Level increase mechanism: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/chaos/ChaosSword.java#L54-L65|ownerDoesDamage() method]] - Increases level when dealing damage * Level downgrade mechanism: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/chaos/ChaosSword.java#L42-L52|ownerTakesDamage() method]] - Downgrades to +0 at level 4+ when charge reaches 0 * Charge calculation: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/chaos/ChaosSword.java#L38-L40|chargeForLevel() method]] - Calculated as `5 * (current_level^1.5)` * Image selection: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/chaos/ChaosSword.java#L77-L79|selectImage() method]] - Changes sprite based on level * Creation mechanism: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/chaos/ChaosCrystal.java|ChaosCrystal.java]] (Fuse action) * Item factory: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/common/ItemFactory.java|ItemFactory.java]] * **String Resources (English):** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L1177-L1179|strings_all.xml#L1177-L1179]] - ChaosSword_Name, ChaosSword_Info, ChaosSword_Gender * **String Resources (Russian):** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ru/strings_all.xml#L1163-L1165|strings_all.xml#L1163-L1165]] - ChaosSword_Name, ChaosSword_Info, ChaosSword_Gender ==== Related ==== * [[en:rpd:chaos_crystal_item|Chaos Crystal]] - Item used to create Chaos Sword * [[en:rpd:chaos_armor_item|Chaos Armor]] - Other chaotic equipment * [[en:rpd:chaos_bow_item|Chaos Bow]] - Chaotic ranged weapon * [[en:rpd:chaos_staff_item|Chaos Staff]] - Other chaotic equipment * [[en:rpd:chaos_shield_item|Chaos Shield]] - Chaotic shield * [[en:rpd:melee_weapons|Melee Weapons]] - Base weapon types that can be fused * [[en:rpd:chaos_set_item|Chaos Set]] - Equipment set containing chaotic items * [[en:rpd:items|Items]] - Other items in the game * [[en:rpd:weapons|Weapons]] - Other weapons in the game * [[en:rpd:enchantments|Enchantments]] - Enchantments that can be lost when downgrading {{tag> rpd items weapons chaos }}