====== Melee Weapon ====== {{ rpd:images:melee_weapon.png|Melee Weapon }} **Melee Weapons** are a category of weapons in Remixed Dungeon that are used for close combat. These weapons typically have different damage, speed, and accuracy characteristics that differentiate them from ranged weapons. ==== Description ==== Melee Weapons are used to attack enemies in adjacent tiles. They form the core of most heroes' combat capabilities and come in various types with different statistics and properties. ==== Base Class ==== All melee weapons inherit from the base class: * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/weapon/melee/MeleeWeapon.java|MeleeWeapon.java]] ==== Weapon Properties ==== * **Range:** Adjacent tiles only (melee range) * **Damage Types:** Varies by weapon type (slashing, crushing, piercing) * **Speed:** Varies by weapon (affects attack speed) * **Accuracy:** Varies by weapon (affects hit chance) * **Strength Requirement:** Each weapon has a STR requirement that must be met to use it effectively ==== Stats Calculation ==== * **Minimum Damage:** Tier value (MIN = tier) * **Maximum Damage:** Calculated as (tier * tier - tier + 10) / ACU * DLY * **Speed:** Delay factor (DLY), lower is faster * **Accuracy:** Accuracy factor (ACU), affects chance to hit ==== Common Melee Weapons ==== * [[en:rpd:sword_item|Swords]] - Balanced weapons with good stats * [[en:rpd:mace_item|Maces]] - Blunt weapons effective against armored foes * [[en:rpd:dagger_item|Daggers]] - Fast but low damage piercing weapons * [[en:rpd:war_hammer_item|War Hammer]] - High damage crushing weapon with high STR requirement * [[en:rpd:long_sword_item|Long Sword]] - High damage but slow weapon * [[en:rpd:knuckles_item|Knuckles]] - Fast weapon with moderate damage ==== Weapon Tiers ==== Melee weapons are organized into tiers: * **Tier 1:** Knuckles, Sai * **Tier 2:** Dagger, Staff, Mages Staff * **Tier 3:** Sword, Mace, Short Sword, Hand Axe, Spear, Quarterstaff * **Tier 4:** Long Sword, Battle Axe, War Hammer, Glaive * **Tier 5:** Great Sword, Gauntlets * **Tier 6:** Dwarven Hammer, Great Maul * **Tier 7:** Elven Sword ==== Mechanics ==== * **Upgrading:** Can be upgraded with [[en:rpd:scroll_of_upgrade_item|Scrolls of Upgrade]] * **Enchantments:** Compatible with [[en:rpd:weapon_enchantments|weapon enchantments]] * **Strength Calculation:** Required STR is typically 8 + tier * 2 for un-upgraded weapons ==== Code References ==== * Base implementation: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/weapon/melee/MeleeWeapon.java|MeleeWeapon.java]] * String resources: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L1144-L1152|Melee weapon strings]] ==== See Also ==== * [[en:rpd:weapon_item|Weapons]] - All weapon types * [[en:rpd:ranged_weapon_item|Ranged Weapons]] - Weapons for distance combat * [[en:rpd:weapon_enchantments|Weapon Enchantments]] - Enchantments available for weapons * [[en:rpd:melee_combat|Melee Combat]] - Combat mechanics for melee weapons {{tag> rpd weapons melee }}