… | |
… | |
1629 | item->level = donor->level; |
1629 | item->level = donor->level; |
1630 | |
1630 | |
1631 | /* if donor has some attacktypes, the flesh is poisonous */ |
1631 | /* if donor has some attacktypes, the flesh is poisonous */ |
1632 | if (donor->attacktype & AT_POISON) |
1632 | if (donor->attacktype & AT_POISON) |
1633 | item->type = POISON; |
1633 | item->type = POISON; |
|
|
1634 | |
1634 | if (donor->attacktype & AT_ACID) |
1635 | if (donor->attacktype & AT_ACID) |
1635 | item->stats.hp = -1 * item->stats.food; |
1636 | item->stats.hp = -1 * item->stats.food; |
|
|
1637 | |
1636 | SET_FLAG (item, FLAG_NO_STEAL); |
1638 | SET_FLAG (item, FLAG_NO_STEAL); |
1637 | } |
1639 | } |
1638 | } |
1640 | } |
1639 | |
1641 | |
1640 | /* special_potion() - so that old potion code is still done right. */ |
1642 | /* special_potion() - so that old potion code is still done right. */ |