diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-01-16 14:47:23 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-01-16 14:47:23 +0000 |
commit | 9fedab78247928ef13ffe313bd7ec8ed04af7d32 (patch) | |
tree | 8af9a36f1fdb1f849533fa3884faf1b0e610e4ae /crawl-ref/source | |
parent | 9f89429f72204f8afb03e3e5e108cfa91a02fd01 (diff) | |
download | crawl-ref-9fedab78247928ef13ffe313bd7ec8ed04af7d32.tar.gz crawl-ref-9fedab78247928ef13ffe313bd7ec8ed04af7d32.zip |
Reduced quantity of curare needles per 1635724.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@853 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/dungeon.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc index c97c83efcf..ce7989e770 100644 --- a/crawl-ref/source/dungeon.cc +++ b/crawl-ref/source/dungeon.cc @@ -1426,7 +1426,9 @@ int items( int allow_uniques, // not just true-false, set_item_ego_type( mitm[p], OBJ_MISSILES, SPMSL_POISONED ); // reduced quantity if special - if (get_ammo_brand( mitm[p] ) != SPMSL_NORMAL ) + if (get_ammo_brand( mitm[p] ) == SPMSL_CURARE) + quant = 1 + random2(9) + random2(9); + else if (get_ammo_brand( mitm[p] ) != SPMSL_NORMAL ) quant = 1 + random2(9) + random2(12) + random2(12); else quant = 1 + random2(9) + random2(12) + random2(15) + random2(12); |