costly_alteration() tweaking (trunk only)
For cancellation I accidentally used terrain type WATER when I meant
object type POT_WATER, so being charged for cancelling holy or unholy water
wasn't working. When I first put in COST_UNHOLY the name made some sense
based on its usage, but after later adding COST_UNBLSS it didn't any more;
change it to COST_UNCURS.
A shopkeeper's complaint that you're uncursing or unblessing his wares
(only applies to water) now sets bknown flag since you know that the object
has become uncursed. I hadn't realized that confused remove curse only
affects uncursed objects; this greatly simplifies extra code I added there
for costly_alteration().
[No fixes entry needed.]
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
#define COST_DRAIN 1 /* drain life upon an object */
|
||||
#define COST_UNCHRG 2 /* cursed charging */
|
||||
#define COST_UNBLSS 3 /* unbless (devalues holy water) */
|
||||
#define COST_UNHOLY 4 /* uncurse (devalues unholy water) */
|
||||
#define COST_UNCURS 4 /* uncurse (devalues unholy water) */
|
||||
#define COST_DECHNT 5 /* disenchant weapons or armor */
|
||||
#define COST_DEGRD 6 /* removal of rustproofing, dulling via engraving */
|
||||
#define COST_DILUTE 7 /* potion dilution */
|
||||
|
||||
Reference in New Issue
Block a user