Draft:Acid-trap component
| \ | |
| Type | Trap component |
|---|---|
| Base value (Au) | 30 |
| Item level | 0 |
| Weight | 10 |
| Unidentified appearance | Pressurized cannister |
| Cursed name | Acid-trap component |
An acid-trap component installs an acid trap. Its pressurized cannister appearance is shared with the sleepgas component, so appearance alone cannot tell the two apart.[1]
Generation
Acid components are item-level-0 random miscellaneous items, possible pawn-shop stock, and acquirement results. Disarming an acid trap can yield an identified component through the separate recovery check.[2]
Setting and effect
Activate the identified component on ordinary, effect-free floor to install a hidden trap. One component is consumed; an invalid square also consumes it, while using an unknown component on valid floor causes an accident. Shared setting rules apply.[3]
Against a triggering monster the acid damage is a random integer from zero through D squared minus one, where D is local difficulty. Against the player it uses a Dexterity-independent dodge check based on Agility and level, then zero through 5D minus one acid damage. A hit can also kill a mount and try to damage up to four accessible possessions; acid immunity prevents the player's acid damage and item-damage attempts.[4]
Strategy
The monster damage grows strongly with local difficulty, not the component's item level. It can bypass physical immunity but not acid immunity. The shared canister appearance and potential item destruction make trial activation especially costly. Prefer an identified component recovered by disarming, and check the target's immunities and ability to fly before committing it.
References
- ↑ iinit.h in Omega 0.90.4, line 42; iinit.h in Omega 0.90.4, line 50.
- ↑ item.c in Omega 0.90.4, lines 7–41; item.c in Omega 0.90.4, lines 154–164; site1.c in Omega 0.90.4, lines 1043–1052; effect1.c in Omega 0.90.4, lines 755–784; command2.c in Omega 0.90.4, lines 316–396.
- ↑ itemf1.c in Omega 0.90.4, lines 955–974.
- ↑ mon.c in Omega 0.90.4, lines 955–971; trap.c in Omega 0.90.4, lines 229–256; aux1.c in Omega 0.90.4, lines 498–513.