rpd:leech_enchantment
Table of Contents
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: Leech.java - The effect is applied in the proc() method with healing amount scaling with weapon level
See Also
- Enchantments - List of all weapon enchantments - Weapons - Equipment that can have enchantments - Healing - General information about healing in the game
rpd/leech_enchantment.txt · Last modified: by 127.0.0.1

