Yes, this is a sticking point and it is a problem. It also possibly leads to some things that do not make intuitive sense. This part being that the ?phase does work, and so does the ?mass banishment, but it comes at a price. I guess you might argue that the player has the ability to scan the scroll and say, yup that's a phase door, but there's an invisible triggered curse as well.
The way I've imagined this working in the little bit of brainstorming I've done is that you would have an edit file with a list of curse effects. Each effect would have the class of items that it applies to (tval) and a level (or level range). It could also have an allocation probability if that's deemed important. Cursed items would be restricted to curses that are their level or below, or maybe gaussian centered about their level. So something like ?phase would only be able to take the very weakest curses. Perhaps even blindness is too strong of an effect.
Here are some low level options for phase and the like.
Here are some mid-level curses:
Here are some high level curses:
The way I've imagined this working in the little bit of brainstorming I've done is that you would have an edit file with a list of curse effects. Each effect would have the class of items that it applies to (tval) and a level (or level range). It could also have an allocation probability if that's deemed important. Cursed items would be restricted to curses that are their level or below, or maybe gaussian centered about their level. So something like ?phase would only be able to take the very weakest curses. Perhaps even blindness is too strong of an effect.
Here are some low level options for phase and the like.
Code:
Darkens room Teleports player Deals 1d5 + 5 damage (explosion) Light poison Light cut Wake up monsters
Code:
Drain random stat Timed blindness or confusion teleport level earthquake Deal 5d5 damage (explosion) Target random direction Summon single monster Trap creation Polymorph target
Code:
Perm reduce stat Disenchant/ de-affix item Summon multiple monsters Destroy the item (useful for non-scrolls) Destruction Heal target monster
Comment