User Tools

Site Tools


rpd:melee_combat

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
rpd:melee_combat [2025/12/22 07:55] – wiki: implement moisten_mechanic page with proper naming convention and code references mikerpd:melee_combat [2025/12/22 07:59] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Melee Combat ======
  
 +**Melee Combat** is direct, close-range fighting between characters. It occurs when a character attacks an adjacent enemy (or vice versa) using a melee weapon or bare fists.
 +
 +==== Mechanics ====
 +  * **Attack Skill**: Determines the chance of hitting an opponent
 +  * **Defense Skill**: Determines the chance of evading an attack
 +  * **Damage**: Calculated based on weapon damage and character strength
 +  * **Critical Hits**: Random chance to deal maximum weapon damage with double effectiveness
 +
 +==== Factors Affecting Combat ====
 +  * [[rpd:strength_attribute|Strength]] - Required to use weapons effectively
 +  * [[rpd:weapon_enchantments|Weapon Enchantments]] - Special effects that can trigger on hit
 +  * [[rpd:armor_glyphs|Armor Glyphs]] - Special effects that can trigger on being hit
 +  * [[rpd:accuracy|Accuracy]] and [[rpd:evasion|Evasion]] - Affects hit/evade chances
 +  * [[rpd:weapon|Weapon]] tier and quality - Affects damage range
 +  * [[rpd:armor|Armor]] tier and quality - Affects damage reduction
 +
 +==== Special Effects ====
 +  * [[rpd:bleeding_buff|Bleeding]] - Continuous damage over time
 +  * [[rpd:poison_buff|Poison]] - Continuous damage over time
 +  * [[rpd:paralysis_buff|Paralysis]] - Prevents action
 +  * [[rpd:chill|Chill]] - Reduces speed
 +  * [[rpd:weakness|Weakness]] - Reduces damage dealt
 +
 +==== Related Pages ====
 +  * [[rpd:ranged_combat|Ranged Combat]]
 +  * [[rpd:accuracy|Accuracy]]
 +  * [[rpd:evasion|Evasion]]
 +  * [[rpd:strength_attribute|Strength]]
 +  * [[rpd:weapon|Weapons]]
 +  * [[rpd:armor|Armor]]
 +  * [[rpd:weapon_enchantments|Weapon Enchantments]]
 +  * [[rpd:armor_glyphs|Armor Glyphs]]
 +
 +==== Code Reference ====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/Char.java|Char.java]] - Combat calculation methods
 +
 +{{tag> rpd mechanics combat}}