Skip to content

Add Vampiric Modifier#47

Open
TheMarstonConnell wants to merge 1 commit into1.21.xfrom
feature/vampiric-modifier
Open

Add Vampiric Modifier#47
TheMarstonConnell wants to merge 1 commit into1.21.xfrom
feature/vampiric-modifier

Conversation

@TheMarstonConnell
Copy link
Copy Markdown
Owner

Summary

Adds a new Vampiric modifier that provides a high-risk, high-reward lifesteal mechanic for skilled players.

Features

  • Lifesteal: Heals player for 5% of damage dealt to enemies
  • Penalties:
    • Prevents natural health regeneration (Hunger I effect)
    • Drains 0.5 hearts every 30 seconds when not in combat
    • Must actively fight to sustain health
  • Visual feedback:
    • Red damage particles when healing from hits
    • Soul particles when taking drain damage
  • Tooltip shows combat state ("Fed" with timer / "Hungry!")
  • Not compatible with Necrotic modifier to prevent overpowered lifesteal stacking

Implementation Details

  • ID: vampiric
  • Crafting Item: minecraft:fermented_spider_eye
  • Type: Hurter + Holder modifier
  • Implements EntityHurtModifier and HoldModifier interfaces
  • Uses magic damage source for health drain (bypasses armor)
  • Tracks last hit time for drain mechanic

Balancing

  • 5% lifesteal is lower than Necrotic (10%) to balance the continuous drain penalty
  • 30-second timer encourages aggressive combat
  • Health drain creates meaningful risk - players can't just use it situationally
  • Forces a commitment to aggressive playstyle
  • Designed for skilled players who can maintain combat momentum
  • Incompatible with Necrotic prevents stacking multiple lifesteal effects

Gameplay

This modifier rewards players who stay in combat and punishes passive play. Perfect for challenging boss fights or mob farming, but requires skill to manage the health drain effectively.

- High-risk lifesteal mechanic for skilled players
- Heals 5% of damage dealt to enemies
- Prevents natural health regeneration (Hunger effect)
- Drains 0.5 hearts every 30 seconds when not in combat
- Not compatible with Necrotic to avoid stacking
- Shows combat state in tooltip (Fed/Hungry)
- Visual feedback with particles
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant