
Lifesteal Mod
Make me a mod that adds lifesteal to daggers and also makes it so the information for those new attributes is also displayed in the information UI of daggers
00—hytaleServer2026.1mod
Lifesteal Mod adds a lifesteal attribute to dagger weapons and shows the new stat in their item info.
- Daggers now gain a 15% lifesteal stat. When a dagger hit deals damage, the attacker heals for 15% of the damage dealt.
- A new entity stat (
LifeSteal) is created and injected into dagger weapon stat modifiers so the stat shows up in dagger info UI alongside existing attributes. - The mod auto-detects daggers by ID/category naming; if the lifesteal stat registry cannot be created, a built-in 15% fallback still heals you on dagger hits.
Notes and limitations:
- If no translation exists for the new stat ID, the UI may display the raw stat name (
LifeSteal). - Lifesteal only applies to daggers (detected by name/category); other weapons are unchanged.