rpd:swing_enchantment_enchantment
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| rpd:swing_enchantment_enchantment [2025/12/22 21:44] – Update wiki pages following naming conventions and fix redlinks mike | rpd:swing_enchantment_enchantment [2025/12/22 21:47] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Swing Enchantment ====== | ||
| + | {{ rpd: | ||
| + | |||
| + | ==== Description ==== | ||
| + | The Swing enchantment allows attacks to hit multiple adjacent enemies at once. When used with weapons that require two hands to wield, it can damage all enemies adjacent to the primary target. | ||
| + | |||
| + | ==== Mechanics ==== | ||
| + | - On a successful hit, the damage is applied to all adjacent enemies around the attacker | ||
| + | - Each adjacent enemy receives reduced damage compared to the original hit | ||
| + | - The damage reduction is calculated as: maxDamage = (int)(damage * Math.pow(2, -1d / (level + 1))) | ||
| + | - Can simultaneously hit up to 8 adjacent enemies (in all 8 directions) if they are all present | ||
| + | - The effect is particularly powerful in tight spaces with multiple enemies grouped together | ||
| + | |||
| + | ==== Technical Details ==== | ||
| + | - The damage reduction is based on the weapon' | ||
| + | - Higher-level weapons maintain more of the original damage when affecting multiple targets | ||
| + | - The effect activates all adjacent cells around the attacker' | ||
| + | - Each adjacent character (excluding the primary target) receives separate damage calculation | ||
| + | - Only hits living characters that are not the primary target | ||
| + | |||
| + | ==== Source Code ==== | ||
| + | - Java: [[https:// | ||
| + | - The effect applies damage to all adjacent enemies using Level.NEIGHBOURS8 pattern | ||
| + | - Only applies to characters that are alive and not the original target | ||
| + | |||
| + | ==== Configuration Files ==== | ||
| + | - [[https:// | ||
| + | |||
| + | ==== String Resources ==== | ||
| + | - [[https:// | ||
| + | - [[https:// | ||
| + | |||
| + | ==== See Also ==== | ||
| + | - [[rpd: | ||
| + | - [[rpd: | ||
| + | |||
| + | {{tag> rpd items enchantments swing damage multiple}} | ||
rpd/swing_enchantment_enchantment.txt · Last modified: by 127.0.0.1
