User Tools

Site Tools


rpd:melee

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

rpd:melee [2025/12/23 23:26] – Enhance melee.txt with code references mikerpd:melee [2025/12/23 23:30] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Melee ======
  
 +{{ rpd:images:item_ShortSword.png|Melee Weapon }}
 +
 +**Melee** refers to close combat in Remixed Dungeon, where the hero must be adjacent to enemies to attack them using melee weapons.
 +
 +==== Description ====
 +Melee combat is the primary form of combat in Remixed Dungeon, where the hero engages enemies directly in hand-to-hand combat using weapons that require close proximity.
 +
 +==== Melee Weapons ====
 +  * [[rpd:melee_weapons|Melee Weapons]] - All types of close-combat weapons
 +  * **Swords**: Balanced weapons with good stats
 +  * **Axes**: High damage but slower attacks
 +  * **Maces**: Good balance of damage and speed
 +  * **Daggers**: Fast attacks with lower damage
 +  * **Special**: [[rpd:kusarigama_item|Kusarigama]] with extended range
 +
 +==== Advantages of Melee Combat ====
 +  * No need to carry ammunition
 +  * Generally higher damage potential than basic ranged options
 +  * More reliable in tight spaces
 +  * Full control over positioning
 +
 +==== Disadvantages of Melee Combat ====
 +  * Requires close proximity to dangerous enemies
 +  * Risk of taking damage during combat
 +  * Vulnerable to enemies with ranged attacks
 +  * Limited tactical options compared to ranged combat
 +
 +==== Melee Combat Strategy ====
 +  * Use terrain to your advantage (narrow corridors, choke points)
 +  * Position yourself to fight one enemy at a time
 +  * Maintain distance from ranged enemies
 +  * Keep healing items accessible for emergencies
 +
 +==== Positioning in Melee Combat ====
 +  * Doorways can be used to fight enemies one at a time
 +  * Corners provide protection from multiple enemies
 +  * Consider escape routes before engaging
 +  * Use traps to your advantage
 +
 +==== Special Melee Techniques ====
 +  * **Kiting**: Moving away after attacks to prevent retaliation
 +  * **Corner fighting**: Using level geometry to prevent multiple enemies
 +  * **Disengagement**: Moving away when health is low
 +
 +==== Related ====
 +  * [[rpd:combat|Combat]] - General combat mechanics
 +  * [[rpd:melee_weapons|Melee Weapons]] - Specific weapons for melee
 +  * [[rpd:ranged_weapons|Ranged Weapons]] - Alternative to melee combat
 +  * [[rpd:weapons|Weapons]] - All weapon types
 +  * [[rpd:tactics|Tactics]] - Combat strategies
 +
 +==== Code References ====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/Char.java|Char.java]] - Core melee attack implementation (actMeleeAttack method)
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/weapon/melee/MeleeWeapon.java|MeleeWeapon.java]] - Base class for all melee weapons
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/weapon/melee/ShortSword.java|ShortSword.java]] - Example of a basic melee weapon
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/weapon/Weapon.java|Weapon.java]] - General weapon mechanics
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/EquipableItem.java|EquipableItem.java]] - Equipable item mechanics including melee compatibility
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/ml/actions/Attack.java|Attack.java]] - Attack action implementation
 +
 +==== String References ====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L158-L167|MeleeWeapon strings]] - UI text for melee weapons
 +
 +{{tag> rpd mechanics combat melee}}
rpd/melee.txt · Last modified: by 127.0.0.1