rpd:leech_enchantment
Differences
This shows you the differences between two versions of the page.
| — | rpd:leech_enchantment [2025/12/21 15:55] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Leech Enchantment ====== | ||
| + | {{ rpd: | ||
| + | |||
| + | ==== 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' | ||
| + | - Higher-level weapons provide more healing | ||
| + | - Works with both physical and magical damage | ||
| + | |||
| + | ==== Source Code ==== | ||
| + | - Java: [[https:// | ||
| + | - The effect is applied in the proc() method with healing amount scaling with weapon level | ||
| + | |||
| + | ==== See Also ==== | ||
| + | - [[rpd: | ||
| + | - [[rpd: | ||
| + | - [[rpd: | ||
| + | |||
| + | {{tag> rpd items enchantments healing}} | ||
