User Tools

Site Tools


en:rpd:melee_combat_mechanic

Melee Combat Mechanic

Melee Weapon

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.

Description

Melee combat involves direct physical engagement between characters. The attacking character must be adjacent to their target to perform a melee attack. This form of combat is the standard for most weapons and character abilities.

Combat Mechanics

  • Adjacency Requirement: Attacker and target must be on adjacent cells (including diagonally)
  • Attack Roll: Attacker's accuracy vs target's evasion determines hit chance
  • Damage Calculation: Weapon damage + random variance, reduced by target's armor
  • Attack Speed: Determined by weapon speed and character bonuses
  • Critical Hits: 5% base chance to deal 2x damage (modified by various factors)

Accuracy and Evasion

  • Accuracy: Affected by weapon's accuracy modifier and character's strength
  • Evasion: Based on character's dexterity and armor class
  • Penalties: Various conditions can affect accuracy and evasion (darkness, confusion, etc.)

Damage Calculation

  • Base Damage: Weapon damage range (min to max value)
  • Damage Reduction: Target's armor DR (Damage Reduction) mitigates incoming damage
  • Final Damage: (Weapon damage) - (Target armor DR) + randomness factor

Special Considerations

  • Encumbrance: Carrying heavy items reduces accuracy and evasion
  • Surprise Attacks: Attacking unaware enemies has increased accuracy
  • Environmental Effects: Terrain, light, and status effects can influence combat
  • Weapon Upgrades: Higher upgrade levels improve both accuracy and damage

Code References

String References

en/rpd/melee_combat_mechanic.txt · Last modified: by 127.0.0.1