en:rpd:electricity_debuff
Table of Contents
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
- Lightning Trap - Trap found in the dungeon
- Shaman - Monster that uses lightning attacks
- Other lightning-based spells or abilities
Resistances
Some creatures have resistance to electricity damage, such as:
- Shaman - Has lightning resistance
- 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: LightningTrap.java
- Entity Type: LightningTrap.Electricity class
en/rpd/electricity_debuff.txt · Last modified: by 127.0.0.1
