Initial commit
Initial commit [v9.7]
This commit is contained in:
28
_module/nss/hch_if_pre_shado.nss
Normal file
28
_module/nss/hch_if_pre_shado.nss
Normal file
@@ -0,0 +1,28 @@
|
||||
//checks to see if hench has prerequisites for shadowdancer prestige class
|
||||
//written by kookoo 8-13-8
|
||||
int StartingConditional()
|
||||
{
|
||||
object oHench = OBJECT_SELF;
|
||||
//must have 10 ranks of hide skill
|
||||
if (GetSkillRank(SKILL_HIDE, oHench) >= 10)
|
||||
{
|
||||
//must have 8 ranks of move silently skill
|
||||
if (GetSkillRank(SKILL_MOVE_SILENTLY, oHench) >= 8)
|
||||
{
|
||||
//must have 5 ranks of lore tumble skill
|
||||
if (GetSkillRank(SKILL_TUMBLE, oHench) >= 5)
|
||||
{
|
||||
//must have dodge feat
|
||||
if (GetHasFeat(FEAT_DODGE, oHench))
|
||||
{
|
||||
//must have mobility feat
|
||||
if (GetHasFeat(FEAT_MOBILITY, oHench))
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
Reference in New Issue
Block a user