summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ng-restr.cc
diff options
context:
space:
mode:
authorBrendan Hickey <brendan@bhickey.net>2013-04-28 18:28:19 -0700
committerBrendan Hickey <brendan@bhickey.net>2013-04-28 18:28:19 -0700
commitc1ba5b67487da74fcbad7fa3546d6ae529e39914 (patch)
tree25d2601d0dcdd4652ce6c4ed5c278e5e7024aaf2 /crawl-ref/source/ng-restr.cc
parent36f3665044689f6d938d43cbbdbb7ea1a07b5069 (diff)
downloadcrawl-ref-c1ba5b67487da74fcbad7fa3546d6ae529e39914.tar.gz
crawl-ref-c1ba5b67487da74fcbad7fa3546d6ae529e39914.zip
Djinni Job Restrictions
Restrict the obviously bad choices: ice and earth elementalists. Restrict some borderline cases: gladiator, monk, assassin, berserker and so on. Basically anything negative modifiers in the primary skills. This probably deserves some revision.
Diffstat (limited to 'crawl-ref/source/ng-restr.cc')
-rw-r--r--crawl-ref/source/ng-restr.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/crawl-ref/source/ng-restr.cc b/crawl-ref/source/ng-restr.cc
index c7cd4b0902..f90d900079 100644
--- a/crawl-ref/source/ng-restr.cc
+++ b/crawl-ref/source/ng-restr.cc
@@ -54,6 +54,7 @@ char_choice_restriction job_allowed(species_type speci, job_type job)
case SP_MUMMY:
case SP_VAMPIRE:
case SP_OCTOPODE:
+ case SP_DJINNI:
return CC_RESTRICTED;
default:
return CC_UNRESTRICTED;
@@ -73,6 +74,7 @@ char_choice_restriction job_allowed(species_type speci, job_type job)
case SP_DEMIGOD:
case SP_MUMMY:
case SP_OCTOPODE:
+ case SP_DJINNI:
return CC_RESTRICTED;
default:
return CC_UNRESTRICTED;
@@ -91,6 +93,7 @@ char_choice_restriction job_allowed(species_type speci, job_type job)
case SP_GHOUL:
case SP_VAMPIRE:
case SP_OCTOPODE:
+ case SP_DJINNI:
return CC_RESTRICTED;
default:
return CC_UNRESTRICTED;
@@ -123,6 +126,7 @@ char_choice_restriction job_allowed(species_type speci, job_type job)
case SP_VAMPIRE:
case SP_FELID:
case SP_OCTOPODE:
+ case SP_DJINNI:
return CC_RESTRICTED;
default:
return CC_UNRESTRICTED;
@@ -341,6 +345,7 @@ char_choice_restriction job_allowed(species_type speci, job_type job)
case SP_OGRE:
case SP_TROLL:
case SP_MINOTAUR:
+ case SP_DJINNI:
return CC_RESTRICTED;
default:
return CC_UNRESTRICTED;
@@ -401,6 +406,7 @@ char_choice_restriction job_allowed(species_type speci, job_type job)
case SP_MINOTAUR:
case SP_TENGU:
case SP_FELID:
+ case SP_DJINNI:
return CC_RESTRICTED;
default:
return CC_UNRESTRICTED;
@@ -439,6 +445,7 @@ char_choice_restriction job_allowed(species_type speci, job_type job)
case SP_MUMMY:
case SP_VAMPIRE:
case SP_FELID:
+ case SP_DJINNI:
return CC_RESTRICTED;
default:
return CC_UNRESTRICTED;
@@ -458,6 +465,7 @@ char_choice_restriction job_allowed(species_type speci, job_type job)
case SP_MUMMY:
case SP_GHOUL:
case SP_VAMPIRE:
+ case SP_DJINNI:
return CC_RESTRICTED;
default:
return CC_UNRESTRICTED;
@@ -483,6 +491,7 @@ char_choice_restriction job_allowed(species_type speci, job_type job)
case SP_MUMMY:
case SP_GHOUL:
case SP_OCTOPODE:
+ case SP_DJINNI:
return CC_RESTRICTED;
default:
return CC_UNRESTRICTED;
@@ -505,6 +514,7 @@ char_choice_restriction job_allowed(species_type speci, job_type job)
case SP_GHOUL:
case SP_VAMPIRE:
case SP_OCTOPODE:
+ case SP_DJINNI:
return CC_RESTRICTED;
default:
return CC_UNRESTRICTED;