User Tools

Site Tools


rpd:slow_enchantment

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

rpd:slow_enchantment [2025/12/22 17:35] – Create slow_enchantment.txt page with information from code mikerpd:slow_enchantment [2025/12/22 17:40] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Slow Enchantment ======
  
 +{{ rpd:images:chilling_weapon_enchantment.png|Slow Enchantment }}
 +
 +**Slow Enchantment** is a weapon enchantment in Remixed Dungeon that applies the [[rpd:slow_buff|Slow]] status effect on successful hits. When applied to a weapon, there's a chance that enemies hit by the weapon will be slowed, reducing their speed and attack rate.
 +
 +==== Description ====
 +The Slow enchantment allows a weapon to apply a slowing effect to enemies when they are successfully hit. The effect reduces the enemy's movement and action speed, making them easier to manage in combat situations.
 +
 +==== Effects ====
 +When a weapon with the Slow enchantment successfully hits an enemy, the following occurs:
 +  * **Chance to Apply Slow**: The chance increases with the weapon's level:
 +    * Level 0: 25% chance
 +    * Level 1: 40% chance
 +    * Level 2+: 50% chance (approximately)
 +  * **Slow Duration**: Duration is randomly between 1 and (1.5 + weapon level) turns
 +  * **Effect**: The targeted enemy is slowed, reducing their speed and attack rate
 +
 +==== Mechanics ====
 +  * **Proc Chance**: Calculated as `Random.Int(weapon.level() + 4) >= 3`
 +  * **Duration Formula**: `Random.Float(1, 1.5f + weapon.level())`
 +  * **Visual Indicator**: Weapon glows blue (RGB: 0x0044FF)
 +  * **Enchantment Type**: Weapon enchantment (extends Weapon.Enchantment)
 +
 +==== Strategy ====
 +  * Highly effective against fast enemies that rely on speed for their attacks
 +  * Useful for creating breathing room during difficult encounters
 +  * Particularly effective when fighting multiple enemies that move quickly
 +  * Works well with weapons that have high attack speed for more proc chances
 +  * Consider using against bosses that rely on speed mechanics
 +
 +==== Naming ====
 +The enchantment is named using the string resources:
 +  * **Slow_Name_0**: "Chilling %s" (e.g., Chilling Sword)
 +  * **Slow_Name_1**: "Chilling %s" (e.g., Chilling Sword)
 +  * **Slow_Name_2**: "Chilling %s" (e.g., Chilling Sword)
 +
 +==== Code References ====
 +  * Enchantment implementation: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/weapon/enchantments/Slow.java|Slow.java]]
 +  * Slow status effect: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Slow.java|Slow buff]]
 +  * String resources: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L2502-L2504|Slow_Name strings]]
 +  * Codex description: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L2528|Codex description]]
 +
 +==== See Also ====
 +  * [[rpd:slow_buff|Slow]] - The status effect applied by this enchantment
 +  * [[rpd:weapon_enchantments|Weapon Enchantments]] - Other weapon enchantments
 +  * [[rpd:enchantment|Enchantments]] - General information about enchantments
 +  * [[rpd:wand_of_slowness|Wand of Slowness]] - Wand that applies the same effect
 +  * [[rpd:ice_elemental_mob|Ice Elemental]] - Enemy that can apply slow
 +
 +{{tag> rpd enchantments weapon_enchantments slowing}}
rpd/slow_enchantment.txt · Last modified: by 127.0.0.1