The Luck enchantment can deal additional damage with each hit. The effect is based on the weapon's level and provides a chance for extra damage beyond the normal attack damage.
- Each hit has a chance to deal additional damage based on the weapon's level - For each level of the weapon, it makes an additional damage roll that could exceed the original damage - The higher the weapon level, the more potential for additional damage - The effect is variable and not guaranteed to increase damage every hit
- Additional damage = max(0, attacker.damageRoll() - i) for i from 1 to (weapon level + 1) - This means it tries multiple times to exceed the original damage, taking the highest extra damage value - The calculation is: for each level+1 attempts, it takes the maximum damage that exceeds the original damage by i points
- Java: Luck.java - The effect compares multiple damage rolls and applies the highest bonus damage - The enchantment glows green (RGB: 0x00FF00) to indicate its luck property
- Luck.json - Sprite configuration for luck enchantment visual effect
- Luck strings - English names and descriptions - Russian Luck strings - Russian localization
- Enchantments - List of all weapon enchantments - Weapons - Equipment that can have enchantments