summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ng-restr.cc
diff options
context:
space:
mode:
authorjohnny shelley <jwshelley@shell-23003.(none)>2009-11-15 11:45:34 +0000
committerJude Brown <bookofjude@users.sourceforge.net>2009-11-15 22:54:17 +1000
commit0510022aff86ed63f6f3c7c7909a629e4c9922c4 (patch)
treefb3fb1a6b870bc3c1ca6ad468868ff1cdb29edcc /crawl-ref/source/ng-restr.cc
parentfa1a2da73b9b0e7e272cf1d26c6333f26404efd4 (diff)
downloadcrawl-ref-0510022aff86ed63f6f3c7c7909a629e4c9922c4.tar.gz
crawl-ref-0510022aff86ed63f6f3c7c7909a629e4c9922c4.zip
Restore Warper class, Arcane Marksman tweaks.
Adds warper back and moves arcane marksman close to hunter in selection screen. Changes spell level of exploding ammo to 5. Fixes abbreviation of Am. Removes scroll of blink from AM starting equipment. Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
Diffstat (limited to 'crawl-ref/source/ng-restr.cc')
-rw-r--r--crawl-ref/source/ng-restr.cc26
1 files changed, 26 insertions, 0 deletions
diff --git a/crawl-ref/source/ng-restr.cc b/crawl-ref/source/ng-restr.cc
index cf4d7bd5b2..75d676b90f 100644
--- a/crawl-ref/source/ng-restr.cc
+++ b/crawl-ref/source/ng-restr.cc
@@ -340,6 +340,32 @@ char_choice_restriction class_allowed(species_type speci,
return (CC_UNRESTRICTED);
}
+ case JOB_WARPER:
+ switch (speci)
+ {
+ case SP_HUMAN:
+ case SP_DEEP_ELF:
+ case SP_SLUDGE_ELF:
+ case SP_MOUNTAIN_DWARF:
+ case SP_DEEP_DWARF:
+ case SP_HILL_ORC:
+ case SP_MERFOLK:
+ case SP_HALFLING:
+ case SP_KOBOLD:
+ case SP_CENTAUR:
+ case SP_OGRE:
+ case SP_TROLL:
+ case SP_MINOTAUR:
+ case SP_KENKU:
+ case SP_RED_DRACONIAN:
+ case SP_DEMONSPAWN:
+ case SP_MUMMY:
+ case SP_GHOUL:
+ case SP_VAMPIRE:
+ return (CC_RESTRICTED);
+ default:
+ return (CC_UNRESTRICTED);
+ }
case JOB_ARCANE_MARKSMAN:
switch (speci)
{