Initial commit
Initial commit [v9.7]
This commit is contained in:
22
_module/nss/hch_if_pre_shift.nss
Normal file
22
_module/nss/hch_if_pre_shift.nss
Normal file
@@ -0,0 +1,22 @@
|
||||
//checks to see if hench has prerequisites for shifter prestige class
|
||||
//written by kookoo 8-13-8
|
||||
int StartingConditional()
|
||||
{
|
||||
object oHench = OBJECT_SELF;
|
||||
//must be druid of level 3 or higher.
|
||||
int nClass;
|
||||
nClass = GetLevelByClass(CLASS_TYPE_DRUID, oHench);
|
||||
if (nClass>2)
|
||||
{
|
||||
//must have alertness feat
|
||||
if (GetHasFeat(FEAT_ALERTNESS, oHench))
|
||||
{
|
||||
//must have wild shape feat
|
||||
if (GetHasFeat(FEAT_WILD_SHAPE, oHench))
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
Reference in New Issue
Block a user