diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-24 21:35:54 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-24 21:35:54 +0000 |
commit | 0e672fb6b2424528497812eb1422c6bbad5396dd (patch) | |
tree | 106e812f21e027e85359ee0658b1ba7b355f27f8 /crawl-ref/source/newgame.cc | |
parent | 230e608dbc403a547ef54e98a0b90a7e6af06cb3 (diff) | |
download | crawl-ref-0e672fb6b2424528497812eb1422c6bbad5396dd.tar.gz crawl-ref-0e672fb6b2424528497812eb1422c6bbad5396dd.zip |
* A few starting choice restriction tweaks.
* Increase probability of Xom acts some more, in particularly tension ones.
* Greatly lower the chance of Xom doing a bad act despite xom_is_nice()
having been rolled. (Now that Xom's mood is no longer predefined, it's
not really necessary anymore.)
* When making Xom cast a spell, distinguish between spells that require
tension and those that don't.
* Monsters that are more than 3 waypoints away from their target grid
don't count towards tension. (This applies to monsters attracted by
noise to a nearby position, or monsters "tracking" you.)
* If there are no monsters within line of sight (including invisible
ones), tension will always be zero. (This avoids the mysterious
berserk effects while a monster is lurking around the corner.)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9543 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/newgame.cc')
-rw-r--r-- | crawl-ref/source/newgame.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/crawl-ref/source/newgame.cc b/crawl-ref/source/newgame.cc index 3dca5be4be..826fceb758 100644 --- a/crawl-ref/source/newgame.cc +++ b/crawl-ref/source/newgame.cc @@ -1400,7 +1400,9 @@ static char_choice_restriction _class_allowed(species_type speci, case SP_SPRIGGAN: case SP_NAGA: case SP_CENTAUR: + case SP_TROLL: case SP_RED_DRACONIAN: + case SP_GHOUL: case SP_MUMMY: return (CC_RESTRICTED); default: @@ -1421,7 +1423,6 @@ static char_choice_restriction _class_allowed(species_type speci, case SP_SPRIGGAN: case SP_NAGA: case SP_OGRE: - case SP_KENKU: case SP_RED_DRACONIAN: case SP_DEMIGOD: case SP_DEMONSPAWN: @@ -1647,6 +1648,7 @@ static char_choice_restriction _class_allowed(species_type speci, case SP_MINOTAUR: case SP_KENKU: case SP_RED_DRACONIAN: + case SP_DEMONSPAWN: case SP_GHOUL: case SP_MUMMY: return (CC_RESTRICTED); @@ -1688,6 +1690,7 @@ static char_choice_restriction _class_allowed(species_type speci, case SP_CENTAUR: case SP_TROLL: case SP_MINOTAUR: + case SP_GHOUL: return (CC_RESTRICTED); default: return (CC_UNRESTRICTED); @@ -1705,7 +1708,6 @@ static char_choice_restriction _class_allowed(species_type speci, case SP_MERFOLK: case SP_HALFLING: case SP_KOBOLD: - case SP_NAGA: case SP_CENTAUR: case SP_OGRE: case SP_TROLL: @@ -1885,9 +1887,7 @@ static char_choice_restriction _class_allowed(species_type speci, switch (speci) { case SP_DEEP_DWARF: - case SP_HALFLING: case SP_KOBOLD: - case SP_SPRIGGAN: case SP_NAGA: case SP_OGRE: case SP_RED_DRACONIAN: @@ -2543,8 +2543,10 @@ static char_choice_restriction _religion_restriction(god_type god) return (CC_BANNED); case SP_SLUDGE_ELF: case SP_MOUNTAIN_DWARF: + case SP_SPRIGGAN: case SP_CENTAUR: case SP_MINOTAUR: + case SP_OGRE: return (CC_UNRESTRICTED); default: return (CC_RESTRICTED); |