diff options
author | Stefan O'Rear <stefanor@cox.net> | 2009-11-12 03:52:08 -0800 |
---|---|---|
committer | Stefan O'Rear <stefanor@cox.net> | 2009-11-12 03:53:13 -0800 |
commit | 078019644214628520c8116a9b4a16f30d8fadf2 (patch) | |
tree | df1fc93d35c6b39455445360e482be5c26e1e2ac /crawl-ref/source/art-func.h | |
parent | 7f502e207784d2c33ab38079dadfa298ab9fafc6 (diff) | |
download | crawl-ref-078019644214628520c8116a9b4a16f30d8fadf2.tar.gz crawl-ref-078019644214628520c8116a9b4a16f30d8fadf2.zip |
Add summoner and non_actor_summoner to mgen_data
Monsters now know who summoned them. This will be important later.
Probably breaks something; saves are not one of them.
Diffstat (limited to 'crawl-ref/source/art-func.h')
-rw-r--r-- | crawl-ref/source/art-func.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/art-func.h b/crawl-ref/source/art-func.h index 1c8e3dc9c4..b460304502 100644 --- a/crawl-ref/source/art-func.h +++ b/crawl-ref/source/art-func.h @@ -74,6 +74,7 @@ static bool _evoke_sceptre_of_asmodeus() summon_any_demon(DEMON_COMMON)); const bool good_summon = create_monster( mgen_data::hostile_at(mon, + "the Sceptre of Asmodeus", true, 6, 0, you.pos())) != -1; if (good_summon) @@ -462,7 +463,8 @@ static void _ZONGULDROK_world_reacts(item_def *item) { if (one_chance_in(5)) { - animate_dead(&you, 1 + random2(3), BEH_HOSTILE, MHITYOU); + animate_dead(&you, 1 + random2(3), BEH_HOSTILE, MHITYOU, 0, + "the Sword of Zonguldrok"); did_god_conduct(DID_NECROMANCY, 1); } } |