====== Leech Enchantment ====== {{ rpd:images:enchant_leech.png|Leech Enchantment }} ==== Description ==== The Leech enchantment has a chance to heal the wielder for a portion of the damage dealt when hitting an enemy. This creates a sustain mechanic for melee combat. ==== Mechanics ==== - Heals the wielder for a percentage of damage dealt - The healing amount is based on the weapon's level - Higher-level weapons provide more healing - Works with both physical and magical damage ==== Source Code ==== - Java: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/weapon/enchantments/Leech.java|Leech.java]] - The effect is applied in the proc() method with healing amount scaling with weapon level ==== See Also ==== - [[rpd:enchantments|Enchantments]] - List of all weapon enchantments - [[rpd:weapons|Weapons]] - Equipment that can have enchantments - [[rpd:healing|Healing]] - General information about healing in the game {{tag> rpd items enchantments healing}}