Apply Vanilla Angband style class flags as necessary
Racial flags are in files.c function player_flags. There are some differences from the Vanilla Angband set. These have now been added to the p_race.txt file.
Elf = RES_LITE
Hobbit = SUST_DEX
Gnome = FREE_ACT
Dwarf = RES_BLIND
Half-Orc = RES_DARK
Half-Troll = SUST_STR
Dunadan = SUST_CON
Druedain = TELEPATHY, SPEED1
High Elf = RES_LITE, SEE_INVIS
There are hard-coded racial bonuses (and penalties) in calc_bonuses function from xtra1.c that also need to be accounted for.
Mage / priest fighting skill penalty. {{ /* jk - make mages fight progressively worse, priests too */
}}
Teaching system bonuses (not implemented yet)
Standard player speed is 110 but Druedain is 105 (in other words SPEED1 of Druedain is a penalty!?) Druedain telepathy is '9'.
'mule legs' effect increases inventory capacity but dex decreases by 5 and stealth by 3.
Tactics effects noted here.
Temporary bonuses and penalties noted here.
Rangers get extra shots when using bows.
Gladiators have trouble with heavy weapons, and secondary weapons must be even lighter.
Priest penalty on fighting noted here.
Mages get less blows.
Gladiators and warriors are immune to fear from level 25.
Druedain regenerate from level 25. Druedain get saving throw bonus.
(No other class flag like effects?)
There are hard-coded racial bonuses (and penalties) in calc_bonuses function from xtra1.c that also need to be accounted for.
Mage / priest fighting skill penalty. {{ /* jk - make mages fight progressively worse, priests too */
}}
Teaching system bonuses (not implemented yet)
Standard player speed is 110 but Druedain is 105 (in other words SPEED1 of Druedain is a penalty!?) Druedain telepathy is '9'.
'mule legs' effect increases inventory capacity but dex decreases by 5 and stealth by 3.
Tactics effects noted here.
Temporary bonuses and penalties noted here.
Rangers get extra shots when using bows.
Gladiators have trouble with heavy weapons, and secondary weapons must be even lighter.
Priest penalty on fighting noted here.
Mages get less blows.
Gladiators and warriors are immune to fear from level 25.
Druedain regenerate from level 25. Druedain get saving throw bonus.
(No other class flag like effects?)
This is a bit cheeky, but most of the major stuff here is sorted out so I'm delaying the rest.
Vanilla Angband uses class flags to indicate things like mages not liking heavy gauntlets, etc. Need to check Angband/64 code to see if similar class-based abilities and restrictions were used and reproduce as class flags.
This ticket is a 'sister' to Ticket #15671 Investigate and use racial flags as appropriate.
See also
* Tactics effects noted.
See #15660 Angband/64 style 'tactics' value. DONE
* Ticket #16352 Add (and support) class flag BRAVERY_25 DONE
* Ticket #16357 Apply CUMBER_GLOVE as appropriate DONE
* ZERO_FAIL was applied to Mage, Priest, War-Mage and High Priest. All other classes have a minimum fail rate of 5% on spells. DONE
* BEAM. The effect of this flag was not applied in /64. DONE (leave out of p_class.txt file)
* CHOOSE_SPELLS. The effect of this flag does not apply in /64 (different spell system). DONE (leave out of p_class.txt file)
* BLESS_WEAPON Only priest class is penalised for wielding sharp and non-blessed weapons. (flag applied) DONE
* Ticket #16365 Need NO_ATTACK class flag for High Priests DONE
* Ticket #16366 Check application of EXTRA_SHOT DONE
* Ticket #16368 Implement teaching system (Still to do)
* Ticket #16369 Check mage / priest fighting penalty. DONE
* Ticket #16370 Need NO_SHIELD flag for Gladiators DONE