Draft:Enchantment (spell)
| Menu name | enchantment |
|---|---|
| Base mana cost | 30 |
| Target | One accessible item or your money |
| Learning | General spell learning |
| Related items | Scroll of enchantment; Staff of Enchantment |
Enchantment is a spell that improves an item's enchantment and can replenish charges. An already strongly enchanted target can explode; artifacts follow a separate restoration-or-backlash rule.[1]
Learning
Enchantment belongs to the common random research and Knowledge-wish pools, and is taught by identified Kolwynia.[2]
Effects
The initial cost is 30 mana. Choose an accessible inventory item, including equipped items; separate backpack contents are not offered. The spell has a fixed strength, independent of caster level or Power. On a successful ordinary item, enchantment rises by 2. If it can hold charges, it also gains 2, 4, 6, ... or 20 charges, using twice one random roll from 1 to 10.[1][3]
Over-enchantment
Before improving a non-artifact, the spell tests its current enchantment p against a random integer from 1 through 20. A greater p causes an explosion instead of improvement.[4]
| Current enchantment | Explosion chance |
|---|---|
| +1 or lower | None |
| +2 through +20 | (p − 1) / 20 |
| +21 or higher | Certain |
A +1 item can safely become +3, but the next attempt has a 10% chance of explosion. An explosion destroys one item and causes a mana storm centered on you, dealing independently rolled 0 through 5p − 1 unstoppable damage in a 3 by 3 area. Normal elemental protection and bolt deflection do not make that blast safe.[5]
Artifacts and money
An artifact with its original activated power stripped away regains that power. An artifact whose power is intact instead causes a mana storm with damage from 0 through five times its item level minus one. Neither case grants the normal +2 improvement or ordinary recharge. A named weapon in the WEAPON category does not receive this artifact exception.[6]
Selecting $ changes your money by a random multiple of one sixth, from losing half to gaining half, rounded toward zero. It is a gamble, not a guaranteed multiplication. Cancelling item selection keeps the target but does not refund mana. Equipped-item effects and combat statistics are refreshed by the enchantment attempt.[7]
Strategy
Improve useful low-enchantment equipment before accepting higher risks. The spell matches a noncursed +0 scroll of enchantment; it does not inherit the scroll's possible extra strength. Repeated research can make the spell cheaper without making a highly enchanted target safer.
For a valuable, already enchanted wand, a scroll of charging avoids this over-enchantment test. Blessing can also improve enchantment when the target's blessing permits it. Restoring a stripped artifact is a legitimate use; testing an intact artifact is not an ordinary upgrade.[8]
References
- ↑ 1.0 1.1 spell.c in Omega 0.90.4, lines 93–96; spell.c in Omega 0.90.4, lines 548–549; effect1.c in Omega 0.90.4, lines 54–115.
- ↑ 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.
- ↑ inv.c in Omega 0.90.4, lines 548–615.
- ↑ effect1.c in Omega 0.90.4, lines 84–111.
- ↑ effect1.c in Omega 0.90.4, lines 84–92; effect1.c in Omega 0.90.4, lines 358–362; effect1.c in Omega 0.90.4, lines 378–455; aux1.c in Omega 0.90.4, lines 498–513.
- ↑ effect1.c in Omega 0.90.4, lines 68–83; effect1.c in Omega 0.90.4, lines 358–362; iinit.h in Omega 0.90.4, lines 238–244.
- ↑ effect1.c in Omega 0.90.4, lines 54–115; inv.c in Omega 0.90.4, lines 548–615; command2.c in Omega 0.90.4, lines 503–514.
- ↑ itemf1.c in Omega 0.90.4, lines 78–84; itemf1.c in Omega 0.90.4, lines 544–565; effect1.c in Omega 0.90.4, lines 156–195.