ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/treasure.C
(Generate patch)

Comparing deliantra/server/common/treasure.C (file contents):
Revision 1.82 by root, Mon Sep 29 10:32:50 2008 UTC vs.
Revision 1.83 by root, Sun Oct 5 14:16:13 2008 UTC

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. */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines