From 04f5058cac8e12d3b85834bda4589239932f371a Mon Sep 17 00:00:00 2001 From: zelgadis Date: Mon, 1 Dec 2008 04:00:00 +0000 Subject: Add some chaos attacks/weapons. Missiles and launchers of chaos fire a bolt of a random type (including enchantments, which isn't so good since they don't have a visible beam). Might want to add BEAM_CHAOS and make it a beam of that. Weapons of chaos either does a random brand effect (fire, poison, etc) or a random chaos effect (which includes cloning the attack victim). The AF_CHAOS monster attack flavour either does a random monster flavour or chaos effect (same chaos effects as for weapons). The relative frequency of all the different effects/brands/flavours no doubt needs adjustment. All of this is currently only available via Xom. 10% of all common-type demons sent in by Xom will be chaos spawn (the only kind that use AF_CHAOS, and never randomly generated otherwise). All item gifts from Xom which are generated with a brand will have their brand switched to chaos (this should probably be made to happen less than 100% of the time). And finally one of Xom's bad acts is to upgrade a non-branded weapon of a nearby hostile monster to a chaos brand (this might need to be made less (or more) common). Oh, and if a randart has a brand which would be identified if it were merely an ego weapon, it now identifies the RAP_BRAND property of the randart. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7704 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/mon-util.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/mon-util.h') diff --git a/crawl-ref/source/mon-util.h b/crawl-ref/source/mon-util.h index 2526ab012c..add15efa74 100644 --- a/crawl-ref/source/mon-util.h +++ b/crawl-ref/source/mon-util.h @@ -49,7 +49,8 @@ enum mon_attack_type AT_TAIL_SLAP, AT_BUTT, - AT_SHOOT // Attack representing missile damage for M_ARCHER. + AT_SHOOT, // Attack representing missile damage for M_ARCHER. + AT_RANDOM // Anything but AT_SHOOT }; enum mon_attack_flavour @@ -79,7 +80,8 @@ enum mon_attack_flavour AF_KLOWN, AF_DISTORT, AF_RAGE, - AF_NAPALM + AF_NAPALM, + AF_CHAOS }; // properties of the monster class (other than resists/vulnerabilities) -- cgit v1.2.3-54-g00ecf