en:rpd:resistances
Differences
This shows you the differences between two versions of the page.
| en:rpd:resistances [2026/01/01 19:45] – namespace move Mike | en:rpd:resistances [2026/01/01 19:47] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Resistances ====== | ||
| + | Resistances in Remixed Dungeon refer to reduced effectiveness of certain status effects, damage types, or other harmful effects that characters or mobs can possess. Unlike immunities, resistances reduce but don't completely prevent the effect. | ||
| + | |||
| + | ==== Mechanics ==== | ||
| + | When a character has resistance to a specific source of damage or effect, the damage is reduced to a random value between 0 and the original damage amount (Random.IntRange(0, | ||
| + | |||
| + | ==== Types of Resistances ==== | ||
| + | |||
| + | ==== Elemental and Damage Type Resistances ==== | ||
| + | * **Fire Resistance**: | ||
| + | * **Poison Resistance**: | ||
| + | * **Electric Resistance**: | ||
| + | * **Toxic Gas Resistance**: | ||
| + | |||
| + | ==== Status Effect Resistances ==== | ||
| + | * **Various Status Effects**: [[en: | ||
| + | |||
| + | ==== Acquiring Resistances ==== | ||
| + | * **[[en: | ||
| + | * **Buffs**: Temporary resistances granted by buff effects | ||
| + | * **[[en: | ||
| + | * **[[en: | ||
| + | |||
| + | ==== Implementation ==== | ||
| + | * Resistances are tracked using entity kind names (getEntityKind()) in the character' | ||
| + | * When taking damage, if the source is in the resistances collection, damage is reduced to a random value between 0 and the original damage | ||
| + | * The [[en: | ||
| + | |||
| + | ==== Strategy ==== | ||
| + | * [[en: | ||
| + | * Resistances provide an average of 50% damage reduction against specific sources | ||
| + | * Higher-level Rings of Elements provide more consistent protection | ||
| + | |||
| + | ==== Source Code References ==== | ||
| + | * Resistance calculation: | ||
| + | * Resistance collection: [[https:// | ||
| + | * [[en: | ||
| + | |||
| + | ==== See Also ==== | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | |||
| + | {{tag> rpd mechanics status_effects}} | ||
