18 lines
682 B
Plaintext
18 lines
682 B
Plaintext
#include "prc_inc_racial"
|
|
|
|
int StartingConditional()
|
|
{
|
|
int iResult;
|
|
|
|
iResult = (GetClassByPosition(1, OBJECT_SELF) == CLASS_TYPE_DWARVENDEFENDER ||
|
|
GetClassByPosition(2, OBJECT_SELF) == CLASS_TYPE_DWARVENDEFENDER ||
|
|
GetClassByPosition(3, OBJECT_SELF) == CLASS_TYPE_DWARVENDEFENDER ||
|
|
GetClassByPosition(3, OBJECT_SELF) == CLASS_TYPE_INVALID) &&
|
|
(GetHasFeat(FEAT_DODGE, OBJECT_SELF)) &&
|
|
(GetHasFeat(FEAT_TOUGHNESS, OBJECT_SELF)) &&
|
|
(GetLevelByClass(CLASS_TYPE_DWARVENDEFENDER, OBJECT_SELF) != 40)
|
|
&& (MyPRCGetRacialType(OBJECT_SELF) == RACIAL_TYPE_DWARF)
|
|
&& (GetAlignmentLawChaos(OBJECT_SELF) == ALIGNMENT_LAWFUL);
|
|
return iResult;
|
|
}
|