There appear to be some serious typos in the subrace section of lib/edit/p_info.txt. For instance, here's the definition of the Spectre subrace:
S:N:2:Spectre S:D:B:Spectres only partially exist in the mortal world and so they can S:D:B:pass through walls. They are somewhat physically weak. S:S:-5:1:1:2:-3:-6:-3:105 S:K:2:8:7:2:2:7:-5:-2 S:P:-4:80:3 S:M:50:15:0:0:-10:-5:0:0:-10:-5 S:E:0:0:0:0:0:0 S:A:Human | Half-Elf | Elf | Hobbit | Gnome | Dwarf | S:A:Orc | Troll | Dunadan | High-Elf | Half-Ogre | Beorning | S:A:Kobold | Petty-Dwarf | Dark-Elf | RohanKnight | Yeek | Wood-Elf | S:C:F:Warrior | Archer S:G:UNDEAD | NO_CUT | NO_FOOD | SEMI_WRAITH | NO_SUBRACE_CHANGE S:R:1:0 S:F:SEE_INVIS | HOLD_LIFE | S:F:SLOW_DIGEST | RES_COLD | RES_POIS | RES_NETHER | S:O:70:32:2d3 R:k:+200:+000:Disarming R:k:+800:+000:Magic-Device R:k:+700:+000:Spirituality R:k:+2000:+000:Stealth R:k:+200:+000:Sneakiness R:k:-500:+000:Weaponmastery R:k:-200:+000:Archery
Those R:k: lines are supposed to be S:k:, yes? R:k: would, I think, just apply it to the last defined race, Maia. I've done a few tests to confirm my suspicions: this, for instance, is the starting skill allocation for a level-1 Maia Warrior:
- Combat 02.000 [0.800]
- Weaponmastery 00.500 [0.850]
. Sword-mastery 00.000 [0.400]
. Axe-mastery 00.000 [0.400]
. Hafted-mastery 00.000 [0.400]
. Polearm-mastery 00.000 [0.400]
. Archery 00.500 [0.600]
. Antimagic 00.000 [0.550]
- Sneakiness 01.400 [0.900]
. Stealth 03.000 [0.400]
. Disarming 01.500 [0.900]
- Magic 01.000 [0.300]
. Magic-Device 02.000 [1.150]
. Spirituality 01.500 [0.400]
. Monster-lore 00.000 [0.500]IINM, Weaponmastery should be 1.000 here; I think we're getting the -0.500 from the Hermit subrace, the last one with an R:k line for Weaponmastery. And here's the starting skill allocation for a Human Barbarian Warrior:
- Combat 02.000 [0.800]
- Weaponmastery 01.000 [0.850]
. Sword-mastery 00.000 [0.400]
. Axe-mastery 00.000 [0.400]
. Hafted-mastery 00.000 [0.400]
. Polearm-mastery 00.000 [0.400]
. Archery 01.000 [0.600]
. Antimagic 00.000 [0.550]
- Sneakiness 01.000 [0.900]
. Stealth 00.000 [0.400]
. Disarming 01.000 [0.900]
- Magic 01.000 [0.300]
. Magic-Device 01.000 [1.150]
- Spirituality 01.000 [0.400]
. Prayer 00.000 [0.500]
. Monster-lore 00.000 [0.500]IINM, Magic-Device should be 0.000 here; the -1.000 modifier that should have come from the Barbarian subrace got applied to the Maia race instead—and then overwritten by the Hermit's +1.000 modifier, which explains the Maia Warrior's 2.000 Magic-Device level.
Changing the R:k: lines in the subrace section to S:k: appears to fix these anomalies.
NeilStevens: Oh, no. Looks like I messed up bad on some of my copy and paste.
NeilStevens: Fixed for 2.3.2.
JulesBean: Demonologists get a [1.800] adjustment to sneakiness. Is that another manifestation of the same bug?
ToME Wiki