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:
@@ -1693,7 +1693,7 @@ dodip()
|
||||
hcolor(NH_AMBER));
|
||||
obj->bknown = 1;
|
||||
if (obj->otyp == POT_WATER && obj->unpaid)
|
||||
costly_alteration(obj, COST_UNHOLY);
|
||||
costly_alteration(obj, COST_UNCURS);
|
||||
uncurse(obj);
|
||||
poof:
|
||||
if(!(objects[potion->otyp].oc_name_known) &&
|
||||
|
||||
Reference in New Issue
Block a user