--- deliantra/server/common/treasure.C 2008/09/29 09:04:51 1.80 +++ deliantra/server/common/treasure.C 2008/10/05 14:16:13 1.83 @@ -250,14 +250,14 @@ //TODO: flag such as objects... as such (no drop, anybody?) if (op->type == SPELL) { - op->destroy (true); + op->destroy (); return; } op->expand_tail (); if (!creator->is_on_map () || op->blocked (creator->map, creator->x, creator->y)) - op->destroy (true); + op->destroy (); else { SET_FLAG (op, FLAG_OBJ_ORIGINAL); @@ -442,7 +442,7 @@ if (ob->inv) LOG (llevError, "In generate treasure, created multiple objects.\n"); - ob->destroy (true); + ob->destroy (); return tmp; } @@ -1350,7 +1350,7 @@ if (op->type == HORN || op->type == POTION) { /* Remove any spells this object currently has in it */ - op->destroy_inv (); + op->destroy_inv (false); object *tmp = arch_to_object (change->other_arch); insert_ob_in_ob (tmp, op); @@ -1631,8 +1631,10 @@ /* if donor has some attacktypes, the flesh is poisonous */ if (donor->attacktype & AT_POISON) item->type = POISON; + if (donor->attacktype & AT_ACID) item->stats.hp = -1 * item->stats.food; + SET_FLAG (item, FLAG_NO_STEAL); } } @@ -1679,7 +1681,7 @@ if (at->next) free_artifact (at->next); if (at->allowed) free_charlinks (at->allowed); - at->item->destroy (true); + at->item->destroy (); sfree (at); }