Draft:Energy drain (spell)
| Menu name | energy drain |
|---|---|
| Base mana cost | 40 |
| Target | Creature, altar, empty square or yourself |
| Learning | Hecate lay follower; general spell learning |
Energy drain is a spell that weakens a susceptible monster and grants HP and experience to the caster. Against a negative-energy-immune monster it reverses, strengthening the target, emptying your mana and draining your levels.[1]
Learning
Hecate teaches energy drain on initial acceptance as a lay follower. Joining requires negative alignment and no existing priesthood. The early teaching does not guarantee that a new character can afford its mana cost.[2]
It also belongs to the common random research and Knowledge-wish pools, and is taught by identified Kolwynia.[3]
Draining a monster
The initial cost is 40 mana. The spell directly examines the selected square, without a projectile, hit roll, distance or line-of-sight check. Against an ordinary susceptible target of level L, it first deals L squared negative-energy damage. It then reduces hit and Defense by L, damage rating by L squared, and level by one; each resulting rating and level has a minimum of 1.[4]
Let N be the target's resulting level. The caster receives 5N experience and floor(N squared / 2) HP, in addition to any ordinary kill experience. The HP addition has no normal-maximum cap. A level-5 target, for example, takes 25 damage and becomes level 4; the separate rewards are 20 XP and 8 HP. Special death or revival behavior can alter the target before these later steps, so this example describes the ordinary path.[5]
Reversal
Negative-energy immunity reverses the effect. If your character level before the reversal is P, the monster gains P squared HP and damage rating, P hit and Defense, and one level. Your current mana is set to zero, then you suffer level drain equal to the monster's increased level. Your own negative-energy immunity does not prevent this direct level loss.[6]
Other targets
| Target | Result |
|---|---|
| Yourself | Drains as many levels as you currently have, with the associated HP and maximum-HP loss |
| Empty non-altar square | Adds 1 HP without a maximum-HP cap |
| Altar without a creature | Converts it into an Abyss square and invokes divine consequences |
These branches do not refund the casting cost.[1]
An altar matching your patron retaliates with unstoppable damage equal to current HP minus one, then changes your patron to apostate and removes priestly rank. Another god's altar instead causes a random 0 through 10 × character level − 1 unstoppable damage, with 100 XP if you have a nonzero patron value. A character with no patron first gains 40 XP, 20 HP and two current Power before the later retaliation branch. These rewards do not make altar draining safe.[7]
Strategy
Check the target's actual immunity before casting. The reversal is much worse than a wasted attack and can kill a character through level or HP loss. Repeated successful draining weakens a normal target, but also lowers the level used for later damage and rewards.
Use healing for ordinary recovery: paying 40 initial mana for one HP from empty ground is inefficient. Self-draining and altar draining have serious costs and are not ordinary healing shortcuts. Cancel at the spell-selection prompt; the later target lookup has no safe Escape check.[8]
References
- ↑ 1.0 1.1 spell.c in Omega 0.90.4, lines 392–395; spell.c in Omega 0.90.4, lines 611–612; effect3.c in Omega 0.90.4, lines 1028–1100.
- ↑ etc.c in Omega 0.90.4, lines 127–139; priest.c in Omega 0.90.4, lines 242–247; priest.c in Omega 0.90.4, lines 296–310.
- ↑ effect3.c in Omega 0.90.4, lines 271–307; effect1.c in Omega 0.90.4, lines 613–620; itemf3.c in Omega 0.90.4, lines 292–307.
- ↑ effect3.c in Omega 0.90.4, lines 1028–1054.
- ↑ effect3.c in Omega 0.90.4, lines 1041–1054; mon.c in Omega 0.90.4, lines 113–203.
- ↑ effect3.c in Omega 0.90.4, lines 1054–1063; effect3.c in Omega 0.90.4, lines 323–338.
- ↑ effect3.c in Omega 0.90.4, lines 1069–1097.
- ↑ aux1.c in Omega 0.90.4, lines 532–558; effect3.c in Omega 0.90.4, lines 1028–1041.