summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-gear.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-03-03 10:45:58 -0700
committerSteve Melenchuk <smelenchuk@gmail.com>2014-03-03 10:48:15 -0700
commitf98009f105f0121d967247bba000e4286af429de (patch)
treeae3b92f1755e455f77b010b510172012ee6260ed /crawl-ref/source/mon-gear.cc
parent620cfe93cabe77ec160466b90e62bc1ea4fdcfad (diff)
downloadcrawl-ref-f98009f105f0121d967247bba000e4286af429de.tar.gz
crawl-ref-f98009f105f0121d967247bba000e4286af429de.zip
Nudge monster (molten) gargoyles; give them spells and maces.
They're now basically miniature war gargoyles, exactly as you'd hope. Gargoyles now reappear in D at a smallish chance in troll depth (D:9-17); molten gargoyles are now lava spawns in more places.
Diffstat (limited to 'crawl-ref/source/mon-gear.cc')
-rw-r--r--crawl-ref/source/mon-gear.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-gear.cc b/crawl-ref/source/mon-gear.cc
index d1bd5515ea..057ededc14 100644
--- a/crawl-ref/source/mon-gear.cc
+++ b/crawl-ref/source/mon-gear.cc
@@ -1530,6 +1530,16 @@ static void _give_weapon(monster* mon, int level, bool melee_only = false,
level = MAKE_GOOD_ITEM;
break;
+ case MONS_GARGOYLE:
+ case MONS_MOLTEN_GARGOYLE:
+ item.base_type = OBJ_WEAPONS;
+ item.sub_type = random_choose_weighted(15, WPN_CLUB,
+ 10, WPN_MACE,
+ 10, WPN_FLAIL,
+ 1, WPN_MORNINGSTAR,
+ 0);
+ break;
+
case MONS_WAR_GARGOYLE:
item.base_type = OBJ_WEAPONS;
if (one_chance_in(4))