Skip to content

Add Lucky modifier - chance to deal double damage#44

Open
TheMarstonConnell wants to merge 1 commit into1.21.xfrom
feature/lucky
Open

Add Lucky modifier - chance to deal double damage#44
TheMarstonConnell wants to merge 1 commit into1.21.xfrom
feature/lucky

Conversation

@TheMarstonConnell
Copy link
Copy Markdown
Owner

Summary

  • Adds Lucky modifier that gives a chance to deal double damage
  • 10% base chance, scaling to 25% at max level
  • Can level up 3 times (10% → 15% → 20% → 25%)
  • Works on swords and axes
  • Shows enchanted hit particles when lucky strike procs
  • Recipe: Rabbit's Foot (classic luck item in Minecraft)

Test plan

  • /give @p randomloot:case to get a loot case
  • Open cases until you get a tool with Lucky, or use smithing table with rabbit foot
  • Hit mobs repeatedly and watch for enchanted particles (indicating lucky proc)
  • Level up the modifier and verify proc chance increases

🤖 Generated with Claude Code

Lucky gives a chance to deal double damage on hit.
- 10% base chance, scaling to 25% at max level
- Can level up 3 times (10% → 15% → 20% → 25%)
- Works on swords and axes
- Shows enchanted hit particles on lucky strike
- Recipe: Rabbit's Foot (classic luck item)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@claude
Copy link
Copy Markdown

claude Bot commented Jan 29, 2026

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

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