User Tools

Site Tools


en:rpd:electricity_debuff

Differences

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

Link to this comparison view

en:rpd:electricity_debuff [2026/01/04 13:56] – Add electricity_debuff pages in multiple languages (en, cn, zh) mikeen:rpd:electricity_debuff [2026/01/04 14:02] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Electricity ======
  
 +**Electricity** is a damage type and debuff effect caused by lightning traps, lightning spells, or other sources of lightning damage.
 +
 +==== Effects ====
 +  * **Damage**: Scales with the target's current HP
 +  * **Damage Calculation**: Damage value is randomly generated between 1/3 to 2/3 of the target's max HP
 +  * **Special Effect**: Charges (or discharges) the hero's equipment
 +
 +==== Sources ====
 +  * [[en:rpd:lightning_trap|Lightning Trap]] - Trap found in the dungeon
 +  * [[en:rpd:shaman_mob|Shaman]] - Monster that uses lightning attacks
 +  * Other lightning-based spells or abilities
 +
 +==== Resistances ====
 +Some creatures have resistance to electricity damage, such as:
 +  * [[en:rpd:shaman_mob|Shaman]] - Has lightning resistance
 +  * [[en:rpd:yogs_brain_mob|Yogs Brain]] - Has lightning resistance
 +
 +==== Additional Information ====
 +  * In lightning traps, damage is calculated as max(1, random value(target HP/3, 2*target HP/3))
 +  * For the hero, lightning damage also causes charging (or discharging) of all equipment
 +
 +==== Code Reference ====
 +  * Implementation: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/levels/traps/LightningTrap.java|LightningTrap.java]]
 +  * Entity Type: LightningTrap.Electricity class
 +
 +{{tag> rpd debuff damage lightning trap}}