summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-30 13:01:26 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-30 13:01:26 +0000
commit55585681615a40eb8fb65adb1dc297bd6aaa5a71 (patch)
tree247d151938e6a30f7c75809bdeb8e5c467993465 /crawl-ref/source
parent1b3a40038c2b77f62619053afcfd4223d39f2c5f (diff)
downloadcrawl-ref-55585681615a40eb8fb65adb1dc297bd6aaa5a71.tar.gz
crawl-ref-55585681615a40eb8fb65adb1dc297bd6aaa5a71.zip
Gave Assassins a 50% shot at starting with curare, trading 7 to 1 with
poison-tipped needles. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@743 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r--crawl-ref/source/newgame.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/crawl-ref/source/newgame.cc b/crawl-ref/source/newgame.cc
index 759222d881..4bbaab6e24 100644
--- a/crawl-ref/source/newgame.cc
+++ b/crawl-ref/source/newgame.cc
@@ -3792,6 +3792,19 @@ void give_items_skills()
you.inv[1].sub_type = WPN_HAND_CROSSBOW;
you.inv[4].sub_type = MI_DART;
}
+ else if ( coinflip() ) // 50% chance of curare
+ {
+ you.inv[5].base_type = OBJ_MISSILES;
+ you.inv[5].sub_type = MI_NEEDLE;
+ you.inv[5].quantity = 0;
+ while ( you.inv[4].quantity > 9 )
+ {
+ you.inv[4].quantity -= 7; // 7-1 tradeoff
+ you.inv[5].quantity++;
+ }
+ you.inv[5].plus = 0;
+ set_item_ego_type(you.inv[5], OBJ_MISSILES, SPMSL_CURARE);
+ }
you.equip[EQ_WEAPON] = 0;
you.equip[EQ_BODY_ARMOUR] = 2;