From a065b3c3384ff85750be7126ffbb3f2df5f2d375 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Mon, 2 Jul 2007 19:25:57 +0000 Subject: Experimental monster weapon swapping implementation. Allow monsters to use throwing weapons (hand axes, spears, clubs, daggers). Give orcs and orc warriors a chance of being generated with throwing weapons (axes or spears). Throwing weapons are stacked in monster inventory, but unstack when dropped. We may want to consider fully stackable throwing weapons at some point. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1717 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/stuff.h | 1 + 1 file changed, 1 insertion(+) (limited to 'crawl-ref/source/stuff.h') diff --git a/crawl-ref/source/stuff.h b/crawl-ref/source/stuff.h index 618f83d38f..23da3a4bd0 100644 --- a/crawl-ref/source/stuff.h +++ b/crawl-ref/source/stuff.h @@ -34,6 +34,7 @@ int div_rand_round( int num, int den ); bool one_chance_in(int a_million); int random2(int randmax); int random_range(int low, int high); +int random_choose(int first, ...); unsigned long random_int(); int random2avg( int max, int rolls ); int bestroll(int max, int rolls); -- cgit v1.2.3-54-g00ecf