diff options
author | reaverb <reaverb.Crawl@gmail.com> | 2014-05-25 02:53:41 -0400 |
---|---|---|
committer | reaverb <reaverb.Crawl@gmail.com> | 2014-05-25 03:03:22 -0400 |
commit | 817b8bcefcbe904fcc22ea31092ad1131c266629 (patch) | |
tree | 46f14a58feb8685e22c65924ba018101bb2a297c /crawl-ref/source/tags.cc | |
parent | e63b8743aef0a7eb483ab65972e2bc03c5c188d3 (diff) | |
download | crawl-ref-817b8bcefcbe904fcc22ea31092ad1131c266629.tar.gz crawl-ref-817b8bcefcbe904fcc22ea31092ad1131c266629.zip |
Give Foul Stench DS Rot Immunity instead of Saprovore.
They already received it at Foul Stench 1, but Saprovore is a minor
enough effect just moving rot immunity earlier is fine compensation.
Diffstat (limited to 'crawl-ref/source/tags.cc')
-rw-r--r-- | crawl-ref/source/tags.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/crawl-ref/source/tags.cc b/crawl-ref/source/tags.cc index 4da3128853..afc243539d 100644 --- a/crawl-ref/source/tags.cc +++ b/crawl-ref/source/tags.cc @@ -2634,6 +2634,17 @@ static void tag_read_you(reader &th) } } + if (th.getMinorVersion() < TAG_MINOR_FOUL_STENCH + && you.species == SP_DEMONSPAWN + && you.innate_mutation[MUT_SAPROVOROUS]) + { + you.mutation[MUT_SAPROVOROUS] = + you.innate_mutation[MUT_SAPROVOROUS] = 0; + + you.mutation[MUT_ROT_IMMUNITY] = + you.innate_mutation[MUT_ROT_IMMUNITY] = 1; + } + #endif count = unmarshallUByte(th); |