diff options
author | Jude Brown <bookofjude@users.sourceforge.net> | 2009-12-05 11:18:56 +1000 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2009-12-05 11:18:56 +1000 |
commit | 98b441d511bd1538c6803f8fab3a7777c51dc90b (patch) | |
tree | ce9fe9f204d2a17383f8708641297fe26c0778c3 /crawl-ref/source/mapdef.h | |
parent | 70b4882ab1e74848851da2cc5f9f7872ca1c8bc8 (diff) | |
download | crawl-ref-98b441d511bd1538c6803f8fab3a7777c51dc90b.tar.gz crawl-ref-98b441d511bd1538c6803f8fab3a7777c51dc90b.zip |
New monster spec tags for marking monsters summoned.
dur:1-6, marks the abjuration duration of a monster. sum:<str>, any of
"clone", "animate", "chaos", "miscast", "zot", "wrath" or "aid", or the
relevant spell we're mimicking; nas:<str> equivalent to the non-actor
summoner.
Not setting the non-actor summoner will mean that kills by these pseudo-
summons are unmarked as such.
Diffstat (limited to 'crawl-ref/source/mapdef.h')
-rw-r--r-- | crawl-ref/source/mapdef.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/crawl-ref/source/mapdef.h b/crawl-ref/source/mapdef.h index a04a092307..f85ae22103 100644 --- a/crawl-ref/source/mapdef.h +++ b/crawl-ref/source/mapdef.h @@ -542,9 +542,12 @@ class mons_spec int colour; int hd; int hp; + int abjuration_duration; + int summon_type; item_list items; std::string monname; + std::string non_actor_summoner; bool explicit_spells; monster_spells spells; @@ -558,8 +561,9 @@ class mons_spec : mid(id), place(), monbase(base), attitude(ATT_HOSTILE), number(num), quantity(1), genweight(gw), mlevel(ml), fix_mons(_fixmons), generate_awake(awaken), patrolling(false), band(false), - colour(BLACK), hd(0), hp(0), items(), monname(""), - explicit_spells(false), spells(), extra_monster_flags(0L) + colour(BLACK), hd(0), hp(0), abjuration_duration(0), summon_type(0), + items(), monname(""), non_actor_summoner(""), explicit_spells(false), + spells(), extra_monster_flags(0L) { } }; |