User Tools

Site Tools


rpd:damage

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
rpd:damage [2025/12/28 19:39] – Wiki maintenance: Renamed files to follow proper naming convention, updated content accuracy, and created missing essential pages mikerpd:damage [2025/12/28 19:43] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Damage ======
  
 +**Damage** in Remixed Dungeon represents the harm dealt by attacks to characters' health. Understanding how damage is calculated is crucial for effective gameplay.
 +
 +==== Damage Types ====
 +  * **Physical Damage**: Standard damage reduced by armor
 +  * **Magical Damage**: Bypasses some physical defenses
 +  * **Elemental Damage**: Fire, ice, poison, etc., with different effects
 +  * **Direct Damage**: Damage that ignores armor and other defenses
 +
 +==== Damage Calculation ====
 +  * **Base Weapon Damage**: The minimum and maximum damage values of the attacking weapon
 +  * **Armor Reduction**: Physical damage is reduced by the target's Defense Rating (DR)
 +  * **Random Factor**: Damage dealt is a random value between minimum and maximum damage
 +  * **Critical Hits**: Occasional attacks that deal increased damage
 +  * **Status Effects**: Buffs/debuffs can modify damage dealt or received
 +
 +==== Factors Affecting Damage ====
 +  * **Weapon Strength**: Higher-level weapons generally deal more damage
 +  * **Hero Strength**: Some weapons scale with hero's strength stat
 +  * **Weapon Enchantments**: Special properties that can modify damage
 +  * **Armor**: Reduces incoming physical damage
 +  * **Distance**: Some ranged attacks have damage penalties at range
 +  * **Status Effects**: Various buffs and debuffs can affect damage output
 +  * **Upgrades**: Enhanced weapons and armor provide better damage statistics
 +
 +==== Special Damage Effects ====
 +  * [[rpd:bleeding_buff|Bleeding]]: Damage dealt over time
 +  * [[rpd:poison_buff|Poisoning]]: Damage dealt over time with additional effects
 +  * [[rpd:burning_buff|Burning]]: Fire damage over time
 +  * [[rpd:charm_buff|Charm]]: Non-damaging effect that changes enemy behavior
 +  * [[rpd:paralysis_buff|Paralysis]]: Temporary immobilization effect
 +  * [[rpd:blindness_buff|Blindness]]: Reduces accuracy of affected targets
 +
 +==== Reducing Damage ====
 +  * [[rpd:armor|Armor]]: Primary defense against physical damage
 +  * [[rpd:resistances|Resistances]]: Special resistances to specific damage types (poison, fire, etc.)
 +  * [[rpd:evasion|Evasion]]: Dodging attacks entirely
 +  * [[rpd:blink_spell|Blink]]: Teleportation to avoid damage
 +  * [[rpd:invisibility_buff|Invisibility]]: Avoiding attacks while unseen
 +  * [[rpd:shield_buff|Shielding]]: Temporary damage absorption barriers
 +
 +==== Damage-Related Mechanics ====
 +  * [[rpd:combat_mechanics|Combat]]: How damage fits into the combat system
 +  * [[rpd:health_mechanic|Health]]: How damage affects hit points
 +  * [[rpd:status_effects|Status Effects]]: Damage over time and other related effects
 +
 +==== Code References ====
 +  * **Combat system**: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/Char.java#L128-L160|Char.java combat system]]
 +  * **Damage calculation**: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/Char.java#L142-L158|Damage calculation in Char.java]]
 +  * **Weapon damage**: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/Weapon.java#L67-L77|Weapon damage calculation]]
 +  * **Armor protection**: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/Armor.java#L125-L135|Armor protection system]]
 +  * **Status effects**: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/|Buffs directory for damage-over-time effects]]
 +
 +==== Related ====
 +  * [[rpd:combat|Combat]]
 +  * [[rpd:weapon|Weapon]]
 +  * [[rpd:armor|Armor]]
 +  * [[rpd:health_mechanic|Health]]
 +  * [[rpd:battle_mechanics|Battle Mechanics]]
 +  * [[rpd:status_effects|Status Effects]]
 +
 +{{tag> rpd mechanics combat damage}}
rpd/damage.txt · Last modified: by 127.0.0.1